Renesas H8S/2158 User Manual page 280

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

Advertisement

Section 9 I/O Ports
MCIF
MCIF disable (MMCPE in IOMCR is 0)
operating
mode
MCIF enable (MMCPE in IOMCR is 1)
MMC mode (SPI in MODER is 0)
HOE
OS3 to OS0
All bits are
P43DDR
0
Pin function
P43
input pin
• P42/IRQ2/TMO0/ExMCDAT/ExMCRxD
The pin function is switched as shown below according to the combination of the MCIF
operating mode, the OS3 to OS0 bits in TCSR of TMR_1, and the P42DDR bit.
When the ISS2 bit in ISSR is cleared to 0 and the IRQ2E bit in IER of the interrupt controller
is set to 1, this pin can be used as the IRQ2 input pin. To use this pin as the IRQ2 input pin,
clear the P42DDR bit to 0.
MCIF
MCIF disable (MMCPE in IOMCR is 0)
operating
mode
OS3 to OS0
All bits are set as 0 One bit is set as 1
P42DDR
0
Pin function
P42
input pin
Rev. 3.00 Jan 25, 2006 page 226 of 872
REJ09B0286-0300
or
(Single-chip mode (EXPE = 0)
MMCS in PTCNT0 is 0)
MMCS in PTCNT0 is 1
DIRME in IOMCR is 0)
0
One bit
set as 0
is set
as 1
1
P43
TMO1
output
output
pin
pin
or
(Single-chip mode (EXPE = 0)
MMCS in PTCNT0 is 0)
1
P42
TMO0 output pin
output
pin
MCIF enable (MMCPE in IOMCR is 1)
MMCS in PTCNT0 is 1
Extended mode (EXPE = 1)
MMC mode
(SPI in MODER
is 0)
DIRME in IOMCR
is 1
1
HSYNC
ExMCDATDIR
O output
output pin
pin
IRQ3 input pin
MCIF enable (MMCPE in IOMCR is 1)
MMCS in PTCNT0 is 1
Extended mode (EXPE = 1)
MMC mode
(SPI in MODER
is 0)
ExMCDAT
input/output pin
IRQ2 input pin
or
SPI mode
(SPI in MODER
is 1)
ExMCCSA output
pin
or
SPI mode
(SPI in MODER
is 1)
ExMCRxD input
pin

Advertisement

Table of Contents
loading

Table of Contents