Datasheet

ADE5166/ADE5169/ADE5566/ADE5569 Data Sheet
Rev. D | Page 150 of 156
I/O REGISTERS
Table 161. Extended Port Configuration SFR (EPCFG, Address 0x9F)
Bit Mnemonic Default Description
7
MOD38_FP21
0
Set this bit to 1 to enable 38 kHz modulation on the P1.6/FP21 pin.
6 MOD38_FP22 0 Set this bit to 1 to enable 38 kHz modulation on the P1.5/FP22 pin.
5 MOD38_TxD2 0 Set this bit to 1 to enable 38 kHz modulation on the
SDEN
/P2.3/TxD2 pin.
4 MOD38_TxD 0 Set this bit to 1 to enable 38 kHz modulation on the P1.1/TxD pin.
3 MOD38_CF1 0 Set this bit to 1 to enable 38 kHz modulation on the P0.2/CF1 pin.
2 MOD38_SSb 0 Set this bit to 1 to enable 38 kHz modulation on the P0.7/
SS
/T1/RxD2 pin.
1
MOD38_MISO
0
Set this bit to 1 to enable 38 kHz modulation on the P0.5/MISO/ZX pin.
0 MOD38_CF2 0 Set this bit to 1 to enable 38 kHz modulation on the P0.3/CF2 pin.
Table 162. Port 0 Weak Pull-Up Enable SFR (PINMAP0, Address 0xB2)
Bit Mnemonic Default Description
7 PINMAP0.7 0 The weak pull-up on P0.7 is disabled when this bit is set.
6 PINMAP0.6 0 The weak pull-up on P0.6 is disabled when this bit is set.
5 PINMAP0.5 0 The weak pull-up on P0.5 is disabled when this bit is set.
4
PINMAP0.4
0
The weak pull-up on P0.4 is disabled when this bit is set.
3 PINMAP0.3 0 The weak pull-up on P0.3 is disabled when this bit is set.
2 PINMAP0.2 0 The weak pull-up on P0.2 is disabled when this bit is set.
1 PINMAP0.1 0 The weak pull-up on P0.1 is disabled when this bit is set.
0 PINMAP0.0 0 The weak pull-up on P0.0 is disabled when this bit is set.
Table 163. Port 1 Weak Pull-Up Enable SFR (PINMAP1, Address 0xB3)
Bit Mnemonic Default Description
7
PINMAP1.7
0
The weak pull-up on P1.7 is disabled when this bit is set.
6 PINMAP1.6 0 The weak pull-up on P1.6 is disabled when this bit is set.
5 PINMAP1.5 0 The weak pull-up on P1.5 is disabled when this bit is set.
4 PINMAP1.4 0 The weak pull-up on P1.4 is disabled when this bit is set.
3 PINMAP1.3 0 The weak pull-up on P1.3 is disabled when this bit is set.
2
PINMAP1.2
0
The weak pull-up on P1.2 is disabled when this bit is set.
1 PINMAP1.1 0 The weak pull-up on P1.1 is disabled when this bit is set.
0 PINMAP1.0 0 The weak pull-up on P1.0 is disabled when this bit is set.
Table 164. Port 2 Weak Pull-Up Enable SFR (PINMAP2, Address 0xB4)
Bit Mnemonic Default Description
[7:6] Reserved 0 Reserved. Should be left cleared.
5 PINMAP2.5 0 The weak pull-up on
RESET
is disabled when this bit is set.
4 Reserved 0 Reserved. Should be left cleared.
3 PINMAP2.3 0 Reserved. Should be left cleared.
2 PINMAP2.2 0 The weak pull-up on P2.2 is disabled when this bit is set.
1 PINMAP2.1 0 The weak pull-up on P2.1 is disabled when this bit is set.
0 PINMAP2.0 0 The weak pull-up on P2.0 is disabled when this bit is set.