443
16.3 Port B
Port B is a 16-bit input/output port as shown in figure 16.2.
Port B
PB
15
(Input/output)/TP
15
(Output)/IRQ7 (Input)
PB
14
(Input/output)/TP
14
(Output)/IRQ6 (Input)
PB
13
(Input/output)/TP
13
(Output)/IRQ5 (Input)/SCK1 (Input/output)
PB
12
(Input/output)/TP
12
(Output)/IRQ4 (Input)/SCK0 (Input/output)
PB
11
(Input/output)/TP
11
(Output)/TxD1 (Output)
PB
10
(Input/output)/TP
10
(Output)/RxD1 (Input)
PB
9
(Input/output)/TP
9
(Output)/TxD0 (Output)
PB
8
(Input/output)/TP
8
(Output)/RxD0 (Input)
PB
7
(Input/output)/TP
7
(Output)/TOCXB4 (Output)/TCLKD (Input)
PB
6
(Input/output)/TP
6
(Output)/TOCXA4 (Output)/TCLKC (Input)
PB
5
(Input/output)/TP
5
(Output)/TIOCB4 (Input/output)
PB
4
(Input/output)/TP
4
(Output)/TIOCA4 (Input/output)
PB
3
(Input/output)/TP
3
(Output)/TIOCB3 (Input/output)
PB
2
(Input/output)/TP
2
(Output)/TIOCA3 (Input/output)
PB
1
(Input/output)/TP
1
(Output)/TIOCB2 (Input/output)
PB
0
(Input/output)/TP
0
(Output)/TIOCA2 (Input/output)
Figure 16.2 Port B Configuration
16.3.1 Register Configuration
Table 16.3 summarizes the port B register.
Table 16.3 Port B Register
Name Abbreviation R/W Initial Value Address* Access Size
Port B data register PBDR R/W H'0000 H'5FFFFC2 8, 16, 32
Note: * Only the values of bits A27–A24 and A8–A0 are valid; bits A23–A9 are ignored. For
details on the register addresses, see section 8.3.5, Area Descriptions.