ADE7518
Table 109. RTC Configuration SFR (TIMECON, 0xA1)
Bit
7
Mnemonic
MIDNIGHT
Default
0
Description
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 24-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.
6
TFH
0
24-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
1
256-Hour Mode. The HOUR register rolls over from 255 to 0.
24-Hour Mode. The HOUR register rolls over from 23 to 0.
5 to 4
ITS[1:0]
00
Interval Timer Time Base Selection.
ITS[1:0] Result (Time Base)
00 1/128 sec.
01 Second.
10 Minute.
11 Hour.
3
SIT
0
Interval Timer 1 Alarm.
SIT Result
0
1
The ALARM flag is set after INTVAL counts and then another interval count starts.
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.
1
ITEN
0
Interval Timer Enable.
ITEN Result
0
1
The interval timer is disabled. The 8-bit interval timer counter is reset.
Set this bit to enable the interval timer.
0
Reserved
1
This bit must be left set for proper operation.
Table 110. Hundredths of a Second Counter SFR (HTHSEC, 0xA2)
Bit
7 to 0
Mnemonic
HTHSEC
Default
0
Description
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 111. Seconds Counter SF R (SEC, 0xA3)
Bit
7 to 0
Mnemonic
SEC
Default
0
Description
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 112. Minutes Counter SF R (MIN, 0xA4)
Bit
7 to 0
Mnemonic
MIN
Default
0
Description
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 113. Hours Counter SFR (HOUR, 0xA5)
Bit
7 to 0
Mnemonic
HOUR
Default
0
Description
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.
Rev. 0 | Page 101 of 128
相关PDF资料
ADE7569ASTZF16 IC ENERGY METER MCU 16K 64LQFP
ADE7752BARWZ-RL IC ENERGY METERING 3PHASE 24SOIC
ADE7755ARSZ IC ENERGY METERING 1PHASE 24SSOP
ADE7757ARNZRL IC ENERGY METERING 1PHASE 16SOIC
ADE7758ARWZRL IC ENERGY METERING 3PHASE 24SOIC
ADE7761AARSZ-RL IC ENERGY METERING 1PHASE 20SSOP
ADE7761BARSZ-RL IC ENERGY METERING 1PHASE 20SSOP
ADE7768ARZ-RL IC ENERGY METERING 1PHASE 16SOIC
相关代理商/技术参数
ADE7566 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF161 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7566ACPZF162 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16-RL 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16-RL1 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC and LCD driver
ADE7566ACPZF16-RL12 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF8 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver