Datasheet
Section 8 I/O Ports
Rev.7.00 Feb. 14, 2007 page 263 of 1108
REJ09B0089-0700
Mode 6
*
: In mode 6, port B pins function as address outputs or input ports. Input or output can be
specified on an individual bit basis. Setting PBDDR bits to 1 makes the corresponding port B pins
address outputs, while clearing the bits to 0 makes the pins input ports.
Port B pin functions in mode 6 are shown in figure 8.11
A15 (output)
A14 (output)
A13 (output)
A12 (output)
A11 (output)
A10 (output)
A9 (output)
A8 (output)
PB7 (input)
PB6 (input)
PB5 (input)
PB4 (input)
PB3 (input)
PB2 (input)
PB1 (input)
PB0 (input)
When PBDDR = 1 When PBDDR = 0
Port B
Figure 8.11 Port B Pin Functions (Mode 6)
Mode 7
*
: In mode 7, port B pins function as I/O ports. Input or output can be specified for each
pin on an individual bit basis. Setting PBDDR bits to 1 makes the corresponding port B pins
output ports, while clearing the bits to 0 makes the pins input ports.
Port B pin functions in mode 7 are shown in figure 8.12.
PB7 (I/O)
PB6 (I/O)
PB5 (I/O)
PB4 (I/O)
PB3 (I/O)
PB2 (I/O)
PB1 (I/O)
PB0 (I/O)
Port B
Figure 8.12 Port B Pin Functions (Mode 7)
Note: * Modes 6 and 7 are not available in the ROMless versions.










