| Electronic Components Datasheet Search |
|
AN3371 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3371 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 45 page ![]() Overview of the STM32 advanced RTC AN3371 12/45 Doc ID 018624 Rev 5 Caution: If the seconds field is selected (MSK0 bit reset in RTC_ALRMAR or RTC_ALRMBR), the synchronous prescaler division factor PREDIV_S set in the RTC_PRER register must be at least 3 to ensure a correct behavior. 1.2.2 Alarm sub-second configuration The STM32 RTC unit provides programmable alarms, sub-second A and B, which are similar. They generate alarms with a high resolution (for the second division). The value programmed in the Alarm sub-second register is compared to the content of the sub-second field in the calendar unit. The sub-second field counter counts down from the value configured in the synchronous prescaler to zero, and then reloads a value in the RTC_SPRE register. Figure 7. Alarm sub-second field Note: Mask ss is the most significant bit in the sub-second alarm. These are compared to the synchronous prescaler register. 01 10 Hours and minutes do not matter in alarm comparison 01 11 Hours, minutes and seconds do not matter in alarm comparison The alarm is set every second, each Monday, during the whole day. 10 00 Week day (or date, if selected) do not matter in alarm comparison Alarm occurs all days at 23:15:07. 10 01 Week day and seconds do not matter in alarm comparison 10 10 Week day and minutes do not matter in alarm comparison 10 11 Week day, minutes and seconds do not matter in alarm comparison 11 00 Week day and hours do not matter in alarm comparison 11 01 Week day, hours and seconds do not matter in alarm comparison 11 10 Week day, hours and minutes do not matter in alarm comparison 11 11 Alarm occurs every second Table 5. Alarm combinations (continued) MSK3 MSK2 MSK1 MSK0 Alarm behavior MS30110V1 Alarm sub-second AM PM hh mm s 12h or 24h format Alarm flag Time ss ss Mask ss = |
|
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 |