1.2.19.31 1.3.22.31 1.4.20.31 1.5.21.31 1.6.21.31 1.7.22.31 1.29.21.31 1.30.15.23 1.31.15.23 1.32.24.31 1.33.15.23 1.37.15.23 1.38.20.31 1.39.17.31 1.40.19.31 RTC_Timer16CounterSet Function
C
void RTC_Timer16CounterSet ( uint16_t count )
Summary
Set the 16-bit Timer Counter Value.
Description
This function sets the 16-bit timer counter value. The counter will start to count up from this count value. The application may typically set the counter to 0 before starting a timing or counting operation. Calling this function when the timer is running will overwrite the current counter value.
Precondition
RTC_Initialize, RTC_Timer16Start must have been called for the associated RTC instance. The RTC peripheral should have been configured in 16-bit Timer Counter mode
Parameters
Param | Description |
---|---|
count | 16-bit value to be loaded in the counter |
Returns
None.
Example
// Refer to the description of the RTC_Timer16CounterHasOverflowed() // function for example usage of the RTC_Timer16CounterSet() function.
Remarks
None.