English
Language : 

HD6413002 Datasheet, PDF (276/700 Pages) Renesas Technology Corp – High-performance single-chip microcontroller
Table 9-12 Port A Pin Functions (cont)
Pin
PA6/TP6/
TIOCA2/A21
Pin Functions and Selection Method
The mode setting, bit A21E in BRCR, ITU channel 2 settings (bit PWM2 in
TMDR and bits IOA2 to IOA0 in TIOR2), bit NDER6 in NDERA, and bit
PA6DDR in PADDR select the pin function as follows
Mode
1, 2
ITU channel 2
settings
(1) in table
below
(2) in table below
PA6DDR
NDER6
—
0
1
1
—
—
0
1
Pin function
TIOCA2 output
PA6
input
PA6
output
TP6
output
TIOCA2 input*
Mode
3, 4
A21E
0
1
ITU channel 2
settings
— (1) in table
below
(2) in table below
PA6DDR
NDER6
—
—
0
1
1
—
—
—
0
1
Pin function
A21
output
TIOCA2
output
PA6
input
PA6
output
TP6
output
Note: * TIOCA2 input when IOA2 = 1.
ITU channel 2
settings
(2)
(1)
TIOCA2 input*
(2)
(1)
PWM2
0
1
IOA2
0
1
—
IOA1
0
0
1
—
—
IOA0
0
1
—
—
—
262