Renesas H8S/2158 User Manual page 302

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 9 I/O Ports
• P84/ExIRQ12/SCK0/ExTMI0
The pin function is switched as shown below according to the combination of the C/A bit in
SMR of SCI_0, the CKE1 and CKE0 bits in SCR, and the P84DDR bit.
When the ISS12 bit in ISSR16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ12 input pin. When the TMI0S bit in PTCNT0 is set to 1, this pin can be used as the
TMI0 (TMI0/TMRI0) input pin. To use this pin as the ExIRQ12 input pin, clear the P84DDR
bit to 0.
When this pin is used as the P84 output pin, the output format is NMOS push-pull output.
CKE1
C/A
CKE0
P84DDR
Pin function
P84 input pin
• P83/ExIRQ11/SDA1
The pin function is switched as shown below according to the combination of the ICE bit in
ICCR of IIC_1 and the P83DDR bit.
When the ISS11 bit in ISSR16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ11 input pin. To use this pin as the ExIRQ11 input pin, clear the P83DDR bit to 0.
When this pin is used as the P83 output pin, the output format is NMOS push-pull output. The
output format for SDA1 is NMOS open-drain output, and direct bus drive is possible.
ICE
P83DDR
Pin function
• P82/ExIRQ10/SCL1
The pin function is switched as shown below according to the combination of the ICE bit in
ICCR of IIC_1 and the P82DDR bit.
When the ISS10 bit in ISSR16 of the interrupt controller is set to 1, this pin can be used as the
ExIRQ10 input pin. To use this pin as the ExIRQ10 input pin, clear the P82DDR bit to 0.
When this pin is used as the P82 output pin, the output format is NMOS push-pull output. The
output format for SCL1 is NMOS open-drain output, and direct bus drive is possible.
Rev. 3.00 Jan 25, 2006 page 248 of 872
REJ09B0286-0300
0
0
0
1
P84 output pin
ExIRQ12 input pin/ExTMI0 input pin
0
0
P83 input pin
0
1
SCK0 output
SCK0 output
pin
1
P83 output pin
ExIRQ11 input pin
1
1
SCK0 input
pin
pin
1
SDA1 input/output pin

Advertisement

Table of Contents
loading

Table of Contents