Renesas H8S/2319 series Hardware Manual page 258

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

Pin
Selection Method and Pin Functions
P13/TIOCD0/
The pin function is switched as shown below according to the combination of
TCLKB/A23
the operating mode, TPU channel 0 setting (by bits MD3 to MD0 in TMDR0,
bits IOD3 to IOD0 in TIOR0L, and bits CCLR2 to CCLR0 in TCR0), bits TPSC2
to TPSC0 in TCR0 to TCR2, bit A23E in PFCR1, and bit P13DDR.
Operating
Mode
TPU Channel
0 Setting
P13DDR
A23E
Pin function
TPU Channel
0 Setting
MD3 to MD0
IOD3 to IOD0
CCLR2 to
CCLR0
Output
function
Notes: 1. Modes 6 and 7 are not available in the ROMless versions.
Rev. 5.00, 12/03, page 228 of 1088
Mode 7 *
Table
Table
Below (1)
Below (2)
0
TIOCD0
P13
output
input
TIOCD0
input *
(2)
B'0000
B'0000
B'0001 to
B'0100
B'0011
B'1×××
B'0101 to
B'0111
Output
compare
output
2. TIOCD0 input when MD3 to MD0 = B'0000 and IOD3 to IOD0 =
B'10××.
3. TCLKB input when the TCR0, TCR1, or TCR2 setting is: TPSC2 to
TPSC0 = B'101.
TCLKB input when channels 1 and 5 are set to phase counting
mode (MD3 to MD0 = B'01××).
1
Modes 4 to 6 *
Table
Below (1)
1
0
1
0
P13
TIOCD0
TIOCD0
output
output
output
2
TCLKB input *
(1)
(2)
B'0010
B'××00
1
Table
Below (2)
0
1
1
0
A23
P13
P13
output
input
output
TIOCD0
input *
2
3
(2)
(1)
(2)
B'0011
Other than B'××00
Other
B'110
than
B'110
PWM
mode 2
output
×: Don't care
1
A23
output

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents