11.2.3 Port B Data Direction Register (PBDDR)
PBDDR is an 8-bit write-only register that selects input or output for each pin in port B.
Port B is multiplexed with pins TP
15
to TP
8
. Bits corresponding to pins used for TPC output must
be set to 1. For further information about PBDDR, see section 9.12, Port B.
11.2.4 Port B Data Register (PBDR)
PBDR is an 8-bit readable/writable register that stores TPC output data for groups 2 and 3, when
these TPC output groups are used.
For further information about PBDR, see section 9.12, Port B.
Bit
Initial value
Read/Write
7
PB DDR
0
W
Port B data direction 7 to 0
These bits select input or
output for port B pins
6
PB DDR
0
W
5
PB DDR
0
W
4
PB DDR
0
W
3
PB DDR
0
W
2
PB DDR
0
W
1
PB DDR
0
W
0
PB DDR
0
W
Bit
Initial value
Read/Write
0
PB
0
R/(W)
0
1
PB
0
R/(W)
1
2
PB
0
R/(W)
2
3
PB
0
R/(W)
3
4
PB
0
R/(W)
4
5
PB
0
R/(W)
5
6
PB
0
R/(W)
6
7
PB
0
R/(W)
7
Port B data 7 to 0
These bits store output data
for TPC output groups 2 and 3
*
*
*
*
*
*
*
*
Note: Bits selected for TPC output by NDERB settings become read-only bits.
*
400