Table 9.31 PB3 Pin Function
Operating mode
AE3 to AE0
PB3DDR
Pin function
Table 9.32 PB2 Pin Function
Operating mode
AE3 to AE0
PB2DDR
Pin function
Table 9.33 PB1 Pin Function
Operating mode
AE3 to AE0
PB1DDR
Pin function
Table 9.34 PB0 Pin Function
Operating mode
AE3 to AE0
PB0DDR
Pin function
9.7.6
Port B Input Pull-Up MOS Function
Port B has a built-in input pull-up MOS function that can be controlled by software. Input pull-up
MOS can be specified as on or off for individual bits.
Table 9.35 summarizes the input pull-up MOS states.
Modes 4 to 6
B'00xx
0
1
PB3 input
PB3 output
Modes 4 to 6
B'0010 or B'000x
0
1
PB2 input
PB2 output
Modes 4 to 6
B'000x
0
1
PB1 input
PB1 output
Modes 4 to 6
B'0000
0
1
PB0 input
PB0 output
Other than
B'00xx
−
A11 output
PB3 input
Other than
B'0010 or
B'000x
−
A10 output
PB2 input
Other than
B'000x
−
A9 output
PB1 input
Other than
B'0000
0
A8 output
PB0 input
Rev. 3.0, 10/02, page 241 of 686
Mode 7
−
0
1
PB3 output
Mode 7
−
0
1
PB2 output
Mode 7
−
0
1
PB1 output
Mode 7
−
0
1
PB0 output