ade7169f16 Analog Devices, Inc., ade7169f16 Datasheet - Page 112

no-image

ade7169f16

Manufacturer Part Number
ade7169f16
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet
ADE7169F16
TEMPCAL
Table 107. RTC Configuration SFR (TIMECON, 0xA1)
Table 108. Hundredths of a Second Counter SFR (HTHSEC, 0xA2)
Bit
Location
Bit
Location
7
6
5-4
3
2
1
0
7-0
0xF7
Bit
Mnemonic
MIDNIGHT
TFH
ITS[1:0]
SIT
ALARM
ITEN
RTCEN
Bit
Mnemonic
HTHSEC
No
Default
Value
0
0
0
0
0
0
1
Default
Value
0
RTC temperature compensation
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 twenty-
four hour mode, the midnight flag is raised once a day at midnight.
Twenty-four hour mode
0
1
Note: This bit is retained during a watchdog reset or an external reset. It is
reset after a power on reset (POR).
Interval Timer Timebase Selection
ITS[1:0]
0
0
1
1
Interval Timer One-Time Alarm
0
1
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.
Interval Timer Enable
0
1
RTC Enable. Also Temperature, Battery and Supply ADC Background
Strobe Enable
0
1
Note: This bit is retained during a watchdog reset or an external reset. It is
reset after a power on reset (POR).
Description
This counter updates every 1/128 second, referenced from the calibrated
32kHz clock. It overflows from 127 to 00, incrementing the seconds
counter, SEC.
Note: This register is retained during a watchdog reset or an external reset.
It is reset after a power on reset (POR).
Rev. PrD | Page 112 of 140
0
1
0
1
256 Hour mode. The HOUR register will roll over from 255 to 0.
24 Hour mode. The HOUR register will roll over from 23 to 0.
The ALARM flag will be set after INTVAL counts and then another
interval count will start.
The ALARM flag will be set after one time interval.
The interval timer is disabled. The 8-bit interval timer counter is
reset.
Set this bit to enable the interval timer. The RTCEN bit must also
be set to enable the interval timer.
The RTC and interval timer are disabled and the RTC registers are
cleared. When this bit is clear, the background ADC strobe timer
is disabled.
The RTC is enabled. The background ADC strobe timer is enabled.
Timebase
1/128 second
Second
Minute
Hour
Preliminary Technical Data

Related parts for ade7169f16