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

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
Preliminary Technical Data
Table 96. Timer/Counter 2 Control SFR (T2CON, 0xC8)
Bit
Location
7
6
5
4
3
2
1
0
Table 97. Timer 0 High byte SFR (TH0, 0x8C)
Table 98. Timer 0 Low byte SFR (TL0, 0x8A)
Table 99. Timer 1 High byte SFR (TH1, 0x8D)
Bit Location
Table 100. Timer 1 Low byte SFR (TL1, 0x8B)
Bit Location
2
Bit
Location
7-0
Bit
Location
7-0
7-0
7-0
Bit
Addr.
0xCF
0xCE
0xCD
0xCC
0xCB
0xCA
0xC9
0xC8
Bit
Mnemonic
TH0
Bit
Mnemonic
TL0
Bit Mnemonic
TH1
Bit Mnemonic
TL1
These bits are not used to control Timer/Counters 0 and 1, but are used instead to control and monitor the external INT0 and INT1 interrupt pins.
Bit
Name
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
CNT2
CAP2
Default
Value
0
0
0
0
0
0
0
0
Default
Value
0
Default
Value
0
Default
Value
0
Default
Value
0
Description
Timer 2 Overflow Flag.
Set by hardware on a Timer 2 overflow. TF2 cannot be set when either RCLK = 1 or TCLK = 1.
Cleared by user software.
Timer 2 External Flag.
Set by hardware when either a capture or reload is caused by a negative transition on T2EX
and EXEN2 = 1.
Cleared by user software.
Receive Clock Enable Bit.
Set by the user to enable the serial port to use Timer 2 overflow pulses for its receive clock in
serial port Modes 1 and 3.
Cleared by the user to enable Timer 1 overflow to be used for the receive clock.
Transmit Clock Enable Bit.
Set by the user to enable the serial port to use Timer 2 overflow pulses for its transmit clock in
serial port Modes 1 and 3.
Cleared by the user to enable Timer 1 overflow to be used for the transmit clock.
Timer 2 External Enable Flag.
Set by the user to enable a capture or reload to occur as a result of a negative transition on
T2EX if Timer 2 is not being used to clock the serial port.
Cleared by the user for Timer 2 to ignore events at T2EX.
Timer 2 Start/Stop Control Bit.
Set by the user to start Timer 2.
Cleared by the user to stop Timer 2.
Timer 2 Timer or Counter Function Select Bit.
Set by the user to select the counter function (input from external T2 pin).
Cleared by the user to select the timer function (input from on-chip core clock).
Timer 2 Capture/Reload Select Bit.
Set by the user to enable captures on negative transitions at T2EX if EXEN2 = 1.
Cleared by the user to enable autoreloads with Timer 2 overflows or negative transitions at
T2EX when EXEN2 = 1. When either RCLK = 1 or TCLK = 1, this bit is ignored and the timer is
forced to autoreload on Timer 2 overflow.
Description
Timer 0 Data high byte
Description
Timer 0 Data high byte
Description
Timer 1 Data high byte
Description
Timer 1 Data high byte
Rev. PrD | Page 105 of 140
ADE7169F16

Related parts for ade7169f16