1.2.19.17 1.3.22.17 1.4.20.17 1.5.21.17 1.6.21.17 1.7.22.17 1.29.21.17 1.30.15.11 1.31.15.11 1.32.24.17 1.33.15.11 1.37.15.11 1.38.20.17 1.39.17.17 1.40.19.17 RTC_Timer32PeriodGet Function
C
uint32_t RTC_Timer32PeriodGet ( void )
Summary
Get 32-bit timer period Value.
Description
This function returns the 32-bit timer period value which used to compare with the current counter value. This value will match the value that was set using the RTC_Timer32CompareSet() function.
Precondition
RTC_Initialize must have been called for the associated RTC instance. The RTC peripheral should have been configured in 32-bit Timer Counter mode.
Parameters
None.
Returns
The current 32-bit timer period value.
Example
uitnt32_t period = 0; RTC_Initialize(); RTC_Timer32CompareSet(0xFFF); // period will have the same value is 0xFFF. period = RTC_Timer32PeriodGet();
Remarks
None.