Table 7-18 Port B Pin Functions
Pin
Pin Functions and Selection Method
PB
/
Bit TRGE in ADCR, bit NDER15 in NDERB and bit PB7DDR in PBDDR select the pin
7
TP
/
function as follows
15
ADTRG
PB
DDR
7
NDER15
Pin
function
Notes: * ADTRG input when TRGE = 1.
PB
/
ITU channel 4 settings (bit CMD1 in TFCR and bit EXB4 in TOER), bit NDER13 in
5
TP
/
NDERB, and bit PB
13
TOCXB
4
EXB4,
CMD1
PB
DDR
5
NDER13
Pin
function
PB
/
ITU channel 4 settings (bit CMD1 in TFCR and bit EXA4 in TOER), bit NDER12 in
4
TP
/
NDERB, and bit PB4DDR in PBDDR select the pin function as follows
12
TOCXA
4
EXA4,
CMD1
PB
DDR
4
NDER12
Pin
function
0
—
PB
input
7
DDR in PBDDR select the pin function as follows
5
Not both 1
0
1
—
0
PB
input
PB
output
5
5
Not both 1
0
1
—
0
PB
input
PB
output
4
4
1
0
PB
output
7
ADTRG input*
1
1
TP
output
1 3
1
1
TP
output
1 2
1
1
TP
output
15
Both 1
—
—
TOCXB
output
4
Both 1
—
—
TOCXA
output
4
179