1.7.22.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.