| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 89 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 89 Page - STMicroelectronics |
|
89 / 229 page ![]() UM0097 Peripheral firmware overview 89/229 RTC_CounterConfig Example: This example illustrates how to update the RTC counter with 0x23F value. { ... RTC_CounterConfig(0x23F); ... } RTC_AlarmValue Example: This example illustrates how to read the current RTC alarm value. { u32 wCurrent_Alarm_Time; ... wCurrent_Alarm_Time = RTC_AlarmValue (); ... } Function Name RTC_CounterConfig Function Prototype void RTC_CounterConfig (void); Behavior Description This routine is used to update the RTC counter with a new value. Input Parameter The new RTC counter value Output Parameter None Return Value None Required preconditions None Called Functions RTC_EnterCfgMode, RTC_WaitForLastTask and RTC_ExitCfgMode Function Name RTC_AlarmValue Function Prototype u32 RTC_AlarmValue (void); Behavior Description This routine gets the current RTC alarm value. Input Parameter None Output Parameter None Return Value The current RTC alarm value (u32 format) Required preconditions None Called Functions None |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |