Table 9-19 Port A Pin Functions (cont)
Pin
Pin Functions and Selection Method
PA
1
/TP
1
/
DMAC channel 1 settings (bits DTS2/1/0A and DTS2/1/0B in DTCR1A and DTCR1B),
TCLKB/
bit NDER1 in NDERA, and bit PA
1
DDR in PADDR select the pin function as follows
TEND
1
DMAC
channel 1
settings
(1) in table below
(2) in table below
PA
1
DDR
—
0
1
1
NDER1
—
—
0
1
Pin function
TEND
1
output
PA
1
input
PA
1
output
TP
1
output
TCLKB input
*
Note:
*
TCLKB input when MDF = 1 in TMDR, or when TPSC2 = 1, TPSC1 = 0, and
TPSC0 = 1 in any of TCR4 to TCR0.
DMAC
channel 1
settings
(2)
(1)
(2)
(1)
(2)
(1)
DTS2A, DTS1A
Not both 1
Both 1
DTS0A
—
0
0
1
1
1
DTS2B
0
1
1
0
1
0
1
1
DTS1B
—
0
1
—
—
—
0
1
PA
0
/TP
0
/
DMAC channel 0 settings (bits DTS2/1/0A and DTS2/1/0B in DTCR0A and DTCR0B),
TCLKA/
bit NDER0 in NDERA, and bit PA
0
DDR in PADDR select the pin function as follows
TEND
0
DMAC
channel 0
settings
(1) in table below
(2) in table below
PA
0
DDR
—
0
1
1
NDER0
—
—
0
1
Pin function
TEND
0
output
PA
0
input PA
0
output TP
0
output
TCLKA input
*
Note:
*
TCLKA input when MDF = 1 in TMDR, or when TPSC2 = 1 and TPSC1 = 0 in
any of TCR4 to TCR0.
DMAC
channel 0
settings
(2)
(1)
(2)
(1)
(2)
(1)
DTS2A, DTS1A
Not both 1
Both 1
DTS0A
—
0
0
1
1
1
DTS2B
0
1
1
0
1
0
1
1
DTS1B
—
0
1
—
—
—
0
1
283
www.DataSheet4U.com