English
Language : 

HD6473032F Datasheet, PDF (178/572 Pages) Hitachi Semiconductor – Hitachi Microcomputer
7.11.3 Pin Functions
The port B pins are also used for TPC output (TP15 to TP8), ITU input/output (TIOCB4, TIOCB3,
TIOCA4, TIOCA3) and output (TOCXB4, TOCXA4), and ADTRG input. Table 7-18 describes the
selection of pin functions.
Table 7-18 Port B Pin Functions
Pin
PB7/
TP15/
ADTRG
Pin Functions and Selection Method
Bit TRGE in ADCR, bit NDER15 in NDERB and bit PB7DDR in PBDDR select the
pin function as follows
PB7DDR
NDER15
Pin function
0
—
PB7 input
1
0
PB7 output
ADTRG input*
1
1
TP15 output
Notes: * ADTRG input when TRGE = 1.
PB6/
TP14/
Bit NDER14 in NDERB and bit PB6DDR in PBDDR select the pin function as follows
PB6DDR
NDER14
Pin function
0
—
PB6 input
1
0
PB6 output
1
1
TP14 output
PB5/
TP13/
TOCXB4
ITU channel 4 settings (bit CMD1 in TFCR and bit EXB4 in TOER), bit NDER13 in
NDERB, and bit PB5DDR in PBDDR select the pin function as follows
EXB4,
CMD1
PB5DDR
NDER13
Pin function
0
—
PB5 input
Not both 1
1
1
0
1
PB5 output TP13 output
Both 1
—
—
TOCXB4 output
PB4/
TP12/
TOCXA4
ITU channel 4 settings (bit CMD1 in TFCR and bit EXA4 in TOER), bit NDER12 in
NDERB, and bit PB4DDR in PBDDR select the pin function as follows
EXA4,
CMD1
PB4DDR
NDER12
Pin function
0
—
PB4 input
Not both 1
1
1
0
1
PB4 output TP12 output
Both 1
—
—
TOCXA4 output
163