| Moteur de recherche de fiches techniques de composants électroniques |
|
UM0097 Fiches technique(PDF) 89 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Fiches technique(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 |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |