| 数据搜索系统,热门电子元器件搜索 |
|
ADE7166 数据表(PDF) 117 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7166 数据表(HTML) 117 Page - Analog Devices |
|
117 / 144 page ![]() ADE7566/ADE7569/ADE7166/ADE7169 Rev. A | Page 117 of 144 Table 120. RTC Configuration SFR (TIMECON, 0xA1) Bit Mnemonic Default Description 7 MIDNIGHT 0 Midnight Flag. This bit is set when the RTC rolls over to 00:00:00:00. It can be cleared by the user to indicate that the midnight event has been serviced. In twenty-four hour mode, the midnight flag is raised once a day at midnight. When this interrupt is used for wake-up from PSM2 to PSM1, the RTC interrupt must be serviced and the flag cleared to be allowed to enter PSM2. Twenty-Four Hour Mode. This bit is retained during a watchdog reset or an external reset. It is reset after a power-on reset (POR). TFH Result 0 256-Hour Mode. The HOUR register rolls over from 255 to 0. 6 TFH 0 1 24-Hour Mode. The HOUR register rolls over from 23 to 0. Interval Timer Timebase Selection. ITS[1:0] Result (Time Base) 00 1/128 sec. 01 Second. 10 Minute. 5 to 4 ITS[1:0] 0 11 Hour. Interval Timer 1 Alarm. SIT Result 0 The ALARM flag is set after INTVAL counts and then another interval count starts. 3 SIT 0 1 The ALARM flag is set after one time interval. 2 ALARM 0 Interval Timer Alarm Flag. This bit is set when the configured time interval has elapsed. It can be cleared by the user to indicate that the alarm event has been serviced. This bit cannot be set to 1 by user code. Interval Timer Enable. ITEN Result 0 The interval timer is disabled. The 8-bit interval timer counter is reset. 1 ITEN 0 1 Set this bit to enable the interval timer. The RTCEN bit must also be set to enable the interval timer. 0 Reserved 1 This bit must be left set for proper operation. Table 121. Hundredths of a Second Counter SFR (HTHSEC, 0xA2) Bit Mnemonic Default Description 7 to 0 HTHSEC 0 This counter updates every 1/128 second, referenced from the calibrated 32.768 kHz clock. It overflows from 127 to 00, incrementing the seconds counter (SEC). This register is retained during a watchdog reset or an external reset. It is reset after a POR. Table 122. Seconds Counter SFR (SEC, 0xA3) Bit Mnemonic Default Description 7 to 0 SEC 0 This counter updates every second, referenced from the calibrated 32.768 kHz clock. It overflows from 59 to 00, incrementing the minutes counter (MIN). This register is retained during a watchdog reset or an external reset. It is reset after a POR. Table 123. Minutes Counter SFR (MIN, 0xA4) Bit Mnemonic Default Description 7 to 0 MIN 0 This counter updates every minute, referenced from the calibrated 32.768 kHz clock. It overflows from 59 to 00, incrementing the hours counter, HOUR. This register is retained during a watchdog reset or an external reset. It is reset after a POR. Table 124. Hours Counter SFR (HOUR, 0xA5) Bit Mnemonic Default Description 7 to 0 HOUR 0 This counter updates every hour, referenced from the calibrated 32.768 kHz clock. If the TFH bit in the RTC Configuration SFR (TIMECON, 0xA1) is set, the HOUR SFR overflows from 23 to 00, setting the MIDNIGHT bit and creating a pending RTC interrupt. If the TFH bit is cleared, the HOUR SFR overflows from 255 to 00, setting the MIDNIGHT bit and creating a pending RTC interrupt. This register is retained during a watchdog reset or an external reset. It is reset after a POR. |
|
链接网址 |
| 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 |