Renesas H8S/2158 User Manual page 284

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

Advertisement

Section 9 I/O Ports
• P56/IRQ14/PWX0
The pin function is switched as shown below according to the combination of the OEA bit in
DACR of PWMX and the P56DDR bit.
When the IRQ14E bit in IER16 of the interrupt controller is set to 1 or the ISS14 bit in ISSR16
is cleared to 0, this pin can be used as the IRQ14 input pin. To use this pin as the IRQ14 input
pin, clear the P56DDR bit to 0.
OEA
P56DDR
Pin function
• P55/IRQ13/RxD2
The pin function is switched as shown below according to the combination of the RE bit in
SCR of SCI_2 and the P55DDR bit.
When the IRQ13E bit in IER16 of the interrupt controller is set to 1 or the ISS13 bit in ISSR16
is cleared to 0, this pin can be used as the IRQ13 input pin. To use this pin as the IRQ13 input
pin, clear the P55DDR bit to 0.
RE
P55DDR
Pin function
• P54/IRQ12/TxD2
The pin function is switched as shown below according to the combination of the TE bit in
SCR of SCI_2 and the P54DDR bit.
When the IRQ12E bit in IER16 of the interrupt controller is set to 1 or the ISS12 bit in ISSR16
is cleared to 0, this pin can be used as the IRQ12 input pin. To use this pin as the IRQ12 input
pin, clear the P54DDR bit to 0.
TE
P54DDR
Pin function
Rev. 3.00 Jan 25, 2006 page 230 of 872
REJ09B0286-0300
0
0
P56 input pin
0
0
P55 input pin
0
0
P54 input pin
1
P56 output pin
IRQ14 input pin
1
P55 output pin
IRQ13 input pin
1
P54 output pin
IRQ12 input pin
1
PWX0 output pin
1
RxD2 input pin
1
TxD2 output pin

Advertisement

Table of Contents
loading

Table of Contents