| Electronic Components Datasheet Search |
|
AN3371 Datasheet(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3371 Datasheet(HTML) 37 Page - STMicroelectronics |
|
37 / 45 page ![]() AN3371 RTC firmware driver API Doc ID 018624 Rev 5 37/45 2 Initialization and Configuration RTC_Init Initializes the RTC registers according to the specified parameters in RTC_InitStruct <Hour format, Asynchronous predivisor, Asynchronous predivisor>. Yes Yes Yes Yes Yes Yes RTC_StructInit Fills each RTC_InitStruct member with its default value. Yes Yes Yes Yes Yes Yes RTC_RefClockCmd Enables or disables the RTC reference clock detection. Yes Yes Yes Yes Yes Yes RTC_EnterInitMode Enters the RTC initialization mode. Yes Yes Yes Yes Yes Yes RTC_ExitInitMode Exits the RTC initialization mode. Yes Yes Yes Yes Yes Yes RTC_WriteProtectionC md Enables or disables the RTC registers write protection. Yes Yes Yes Yes Yes Yes RTC_WaitForSynchro Waits until the RTC time and date registers (RTC_TR and RTC_DR) are synchronized. Yes Yes Yes Yes Yes Yes RTC_TimeStructInit Fills each RTC_TimeStruct member with its default value (Time = 00h:00min:00sec). Yes Yes Yes Yes Yes Yes RTC_BypassShadowC md Enables or disables the bypass shadow feature. Yes Yes Yes Yes 3 RTC time and date functions RTC_SetTime Sets the RTC current time < RTC hours, RTC minutes, RTC seconds, RTC 12-hour clock period (AM/PM)>. Yes Yes Yes Yes Yes Yes RTC_SetDate Sets the current RTC date. < Calendar weekday, Calendar Month, Calendar date, Calendar year>. Yes Yes Yes Yes Yes Yes RTC_GetTime Gets the current RTC time. Yes Yes Yes Yes Yes Yes RTC_GetDate Gets the current RTC date. Yes Yes Yes Yes Yes Yes RTC_DateStructInit Fills each RTC_DateStruct member with its default value (Monday 01 January xx00). Yes Yes Yes Yes Yes Yes RTC_TimeStructInit Fills each RTC_TimeStruct member with its default value (Time = 00h:00min:00sec). Yes Yes Yes Yes Yes Yes RTC_GetSubSecond Gets the RTC current calendar sub- seconds value. Yes Yes Yes Yes Table 16. RTC function groups (continued) Group ID Function name Description ULPM density ULPH density F0 series F2 series F3 series F4 series |
|
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 |