Pin Functions - Renesas H8S/2319 series Hardware Manual

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

After a reset and in hardware standby mode, PORT2 contents are determined by the pin states, as
P2DDR and P2DR are initialized. PORT2 retains its prior state after in software standby mode.
8.3.3

Pin Functions

Port 2 pins also function as TPU I/O pins (TIOCA3, TIOCB3, TIOCC3, TIOCD3, TIOCA4,
TIOCB4, TIOCA5, and TIOCB5), and 8-bit timer I/O pins (TMRI0, TMCI0, TMO0, TMRI1,
TMCI1, and TMO1). Port 2 pin functions are shown in table 8-5.
Table 8-5
Port 2 Pin Functions
Pin
Selection Method and Pin Functions
P27/TIOCB5/
The pin function is switched as shown below according to the combination of
TMO1
the TPU channel 5 setting by bits MD3 to MD0 in TMDR5, bits IOB3 to IOB0 in
TIOR5, bits CCLR1 and CCLR0 in TCR5, bits OS3 to OS0 in TCSR1, and bit
P27DDR.
OS3 to OS0
TPU Channel
5 Setting
P27DDR
Pin function
TPU Channel
5 Setting
MD3 to MD0
IOB3 to IOB0
CCLR1,
CCLR0
Output
function
Note: * TIOCB5 input when MD3 to MD0 = B'0000 or B'01×× and IOB3 = 1.
Rev. 5.00, 12/03, page 234 of 1088
All 0
Table
Below (1)
TIOCB5
P27 input
output
(2)
(1)
B'0000, B'01××
B'0000
B'0001 to
B'0011
B'0100
B'0101 to
B'1×××
B'0111
Output
compare
output
Table Below (2)
0
1
P27 output
TIOCB5 input *
(2)
(2)
B'0010
B'0011
B'××00
Other than B'××00
than B'10
mode 2
Any 1
TMO1 output
(1)
(2)
Other
B'10
PWM
output
×: Don't care

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents