Datasheet

Data Sheet ADE5166/ADE5169/ADE5566/ADE5569
Rev. D | Page 151 of 156
Table 165. Port 0 SFR (P0, Address 0x80)
Bit Bit Address Mnemonic Default Description
1
7 0x87 T1 1 This bit reflects the state of the P0.7/
SS
/T1/RxD2 pin. It can be written to or read.
6 0x86 T0 1 This bit reflects the state of the P0.6/SCLK/T0 pin. It can be written to or read.
5 0x85 ZX 1 This bit reflects the state of the P0.5/MISO/ZX pin. It can be written to or read.
4 0x84 1 This bit reflects the state of the P0.4/MOSI/SDATA pin. It can be written to or read.
3 0x83 CF2 1 This bit reflects the state of the P0.3/CF2 pin. It can be written to or read.
2 0x82 CF1 1 This bit reflects the state of the P0.2/CF1 pin. It can be written to or read.
1 0x81 1 This bit reflects the state of the P0.1/FP19 pin. It can be written to or read.
0 0x80
INT1
1 This bit reflects the state of the BCTRL/
INT1
/P0.0 pin. It can be written to or read.
1
When an alternate function is chosen for a pin of this port, the bit controlling this pin should always be set.
Table 166. Port 1 SFR (P1, Address 0x90)
Bit Bit Address Mnemonic Default Description
1
7 0x97 1 This bit reflects the state of the P1.7/FP20 pin. It can be written to or read.
6 0x96 1 This bit reflects the state of the P1.6/FP21 pin. It can be written to or read.
5 0x95 1 This bit reflects the state of the P1.5/FP22 pin. It can be written to or read.
4 0x94 T2 1 This bit reflects the state of the P1.4/T2/FP23 pin. It can be written to or read.
3 0x93 T2EX 1 This bit reflects the state of the P1.3/T2EX/FP24 pin. It can be written to or read.
2 0x92 ZX1 1 This bit reflects the state of the P1.2/FP25/ZX pin. It can be written to or read.
1 0x91 TxD 1 This bit reflects the state of the P1.1/TxD pin. It can be written to or read.
0 0x90 RxD 1 This bit reflects the state of the P1.0/RxD pin. It can be written to or read.
1
When an alternate function is chosen for a pin of this port, the bit controlling this pin should always be set.
Table 167. Port 2 SFR (P2, Address 0xA0)
Bit Bit Address Mnemonic Default Description
1
[7:4] 0xA7 to 0xA4 0x1F These bits are unused and should remain set.
3 0xA3 P2.3 1 This bit reflects the state of the
SDEN
/P2.3/TxD2 pin. It can be written only.
2 0xA2 P2.2 1 This bit reflects the state of the P2.2/FP16 pin. It can be written to or read.
1 0xA1 P2.1 1 This bit reflects the state of the P2.1/FP17 pin. It can be written to or read.
0 0xA0 P2.0 1 This bit reflects the state of the P2.0/FP18 pin. It can be written to or read.
1
When an alternate function is chosen for a pin of this port, the bit controlling this pin should always be set.