ADE5166_08 AD [Analog Devices], ADE5166_08 Datasheet - Page 142

no-image

ADE5166_08

Manufacturer Part Number
ADE5166_08
Description
Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
Manufacturer
AD [Analog Devices]
Datasheet
ADE5166/ADE5169
Table 165. Port 0 SFR (P0, Address 0x80)
Bit
7
6
5
4
3
2
1
0
1
Table 166. Port 1 SFR (P1, Address 0x90)
Bit
7
6
5
4
3
2
1
0
1
Table 167. Port 2 SFR (P2, Address 0xA0)
Bit
[7:4]
3
2
1
0
1
When an alternate function is chosen for a pin of this port, the bit controlling this pin should always be set.
When an alternate function is chosen for a pin of this port, the bit controlling this pin should always be set.
When an alternate function is chosen for a pin of this port, the bit controlling this pin should always be set.
Bit Address
0x87
0x86
0x85
0x84
0x83
0x82
0x81
0x80
Bit Address
0x97
0x96
0x95
0x94
0x93
0x92
0x91
0x90
Bit Address
0x97 to 0x94
0x93
0x92
0x91
0x90
Mnemonic
T1
T0
ZX
CF2
CF1
INT1
Mnemonic
T2
T2EX
ZX1
TxD
RxD
Mnemonic
P2.3
P2.2
P2.1
P2.0
Default
1
1
1
1
1
1
1
1
Default
1
1
1
1
1
1
1
1
Default
0x1F
1
1
1
1
This bit reflects the state of the P0.6/SCLK/T0 pin. It can be written to or read.
This bit reflects the state of the P0.4/MOSI/SDATA pin. It can be written to or read.
Description
This bit reflects the state of the P0.7/SS/T1/RxD2 pin. It can be written to or read.
This bit reflects the state of the P0.5/MISO/ZX pin. It can be written to or read.
This bit reflects the state of the P0.3/CF2 pin. It can be written to or read.
This bit reflects the state of the P0.2/CF1/RTCCAL pin. It can be written to or read.
This bit reflects the state of the P0.1/FP19/RTCCAL pin. It can be written to or read.
This bit reflects the state of the BCTRL/INT1/P0.0 pin. It can be written to or read.
This bit reflects the state of the P1.7/FP20 pin. It can be written to or read.
This bit reflects the state of the P1.6/FP21 pin. It can be written to or read.
This bit reflects the state of the P1.5/FP22 pin. It can be written to or read.
This bit reflects the state of the P1.4/T2/FP23 pin. It can be written to or read.
This bit reflects the state of the P1.3/T2EX/FP24 pin. It can be written to or read.
This bit reflects the state of the P1.2/FP25/ZX pin. It can be written to or read.
This bit reflects the state of the P1.1/TxD pin. It can be written to or read.
This bit reflects the state of the P1.0/RxD pin. It can be written to or read.
These bits are unused and should remain set.
This bit reflects the state of the SDEN/P2.3/TxD2 pin. It can be written only.
This bit reflects the state of the P2.2/FP16 pin. It can be written to or read.
This bit reflects the state of the P2.1/FP17 pin. It can be written to or read.
This bit reflects the state of the P2.0/FP18 pin. It can be written to or read.
Description
Description
Rev. 0 | Page 142 of 148
1
1
1

Related parts for ADE5166_08