| 数据搜索系统,热门电子元器件搜索 |
|
AN3371 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3371 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 45 page ![]() AN3371 Overview of the STM32 advanced RTC Doc ID 018624 Rev 5 13/45 The Alarm sub-second can be configured using the mask ss bits in the alarm sub-second register. Table 6: Alarm sub-second mask combinations shows the configuration possibilities for the mask register and provides an example with the following settings: ● Select LSE as the RTC clock source (for example LSE = 32768 Hz). ● Set the Asynchronous prescaler to 127. ● Set the Synchronous prescaler to 255 (the Calendar clock is equal to 1Hz). ● Set the alarm A sub-second to 255 (put 255 in the SS[14:0] field). Note: The overflow bits in the sub-second register bit (15,16 and 17) are never compared. Table 6. Alarm sub-second mask combinations MASKSS Alarm A sub-second behavior Example result 0 There is no comparison on sub-second for alarm. The alarm is activated when the second unit is incremented. The alarm is activated every 1 second 1 Only the AlarmA_SS[0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every (1/128) s 2 Only the AlarmA_SS[1:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every (1/64) s 3 Only the AlarmA_SS[2:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every (1/32) s 4 Only the AlarmA_SS[3:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every (1/16) s 5 Only the AlarmA_SS[4:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 125 ms 6 Only the AlarmA_SS[5:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 250 ms 7 Only the AlarmA_SS[6:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 500 ms 8 Only the AlarmA_SS[7:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 9 Only the AlarmA_SS[8:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 10 Only the AlarmA_SS[9:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 11 Only the AlarmA_SS[10:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 12 Only the AlarmA_SS[11:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 13 Only the AlarmA_SS[12:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 14 Only the AlarmA_SS[13:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s 15 Only the AlarmA_SS[14:0] bit is compared to the RTC sub-second register RTC_SSR The alarm is activated every 1 s |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |