1.2.19.13 1.3.22.13 1.4.20.13 1.5.21.13 1.6.21.13 1.7.22.13 1.29.21.13 1.30.15.7 1.31.15.7 1.32.24.13 1.33.15.7 1.37.15.7 1.38.20.13 1.39.17.13 1.40.19.13 RTC_Timer32CounterSet Function
C
void RTC_Timer32CounterSet ( uint32_t count )
Summary
Set the 32-bit Timer Counter Value.
Description
This function sets the 32-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_Timer32Start must have been called for the associated RTC instance. The RTC peripheral should have been configured in 32-bit Timer Counter mode
Parameters
Param | Description |
---|---|
count | 32-bit value to be loaded in the counter |
Returns
None.
Example
// Refer to the description of the RTC_Timer32CounterHasOverflowed() // function for example usage of the RTC_Timer32CounterSet() function.
Remarks
None.