| 数据搜索系统,热门电子元器件搜索 |
|
STR720 数据表(PDF) 153 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STR720 数据表(HTML) 153 Page - STMicroelectronics |
|
153 / 401 page ![]() STR720 - REAL TIME CLOCK (RTC) 153/401 RTCCR: RTC Control Register Address Offset: 00h Reset value: 0020h The functions of the RTC are controlled by this control register. It is not possible to write this register while the peripheral is completing a previous write operation (flagged by RTOFF=0 (see “Configuration mode” on page 152). Bit 15:11 = Reserved. These bits must always be written to ‘0’. Bit 10 = PEREN: PERiodic interrupt ENable 0: Periodic interrupt is masked. 1: Periodic interrupt is enabled. Bit 9 = AEN: Alarm interrupt ENable 0: Alarm interrupt is masked. 1: Alarm interrupt is enabled. Bit 8 = Reserved. This bits must always be written to ‘0’. The above listed bits are used to mask interrupt requests. Note that at reset all interrupts are disabled, so it is possible to write the RTC registers so that no interrupt requests are pending after initialization. Bits 7:6 = Reserved. These bits must always be written to ‘0’. Bit 5 = RTOFF: RTc operation OFF With this bit RTC reports the status of the last write operation performed on its registers, indicating if it has been completed or not. If its value is ‘0’ then it is not possible to write any RTC register. This bit can only be read by software. 0: Last write operation on RTC registers is still active. 1: Last write operation on RTC registers terminated. Note A read operation on RTC registers with RTOFF=0 returns anyway their current value. Bit 4 = CNF: CoNfiguration Flag This bit must be set at ‘1’ by software in order to enter the configuration mode thus allowing to write new values in RTCCNT, RTCA, RTCP registers. The writing operation is really executed when the CNF bit after being set, is reset again by software. 0: Exit configuration mode (start update of RTC registers). 1: Enter configuration mode. Bit 3 = Reserved. This bits must always be written to ‘0’, but it will be read back as ‘1’. 15 14 13 12 11 10 9 8 765432 1 0 Reserved PEREN AEN Res. Reserved RTOFF CNF Res. PERIR AIR Res. -rw rw - - r rw - rc rc - 1 |
|
链接网址 |
| 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 |