1.2.19.38 1.3.22.38 1.4.20.38 1.5.21.38 1.6.21.38 1.7.22.38 1.29.21.38 1.30.15.30 1.31.15.30 1.32.24.38 1.33.15.30 1.37.15.30 1.38.20.38 1.39.17.38 1.40.19.38 RTC_Timer16Stop Function
C
void RTC_Timer16Stop ( void )
Summary
Stops the 16-bit timer from counting.
Description
This function will stop the 16-bit timer from counting. Any on-going timing/counting operations will be affected. Stopping the timer does not reset the counter. This must be explicitly done by calling the RTC_Timer16CounterSet() function.
Calling this function if the timer is already stopped will result in a functional no-operation. An application may need to stop the timer if it does not require delay services or if the counting needs to paused.
Precondition
RTC_Initialize must have been called for the associated RTC instance. The RTC peripheral should have been configured in 16-bit Timer Counter mode.
Parameters
None.
Returns
None.
Example
// Refer to the description of the RTC_Timer16CounterHasOverflowed() // function for example usage of the RTC_Timer16Stop() function.
Remarks
None.