Renesas H8S/2158 User Manual page 273

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

Advertisement

• P34/WUE12/MCCMDDIR/MCCSB
The pin function is switched as shown below according to the combination of the MCIF
operating mode and the P34DDR bit.
When the WUEM12 bit in WUEMR3 of the interrupt controller is cleared to 0, this pin can be
used as the WUE12 input pin. To use this pin as the WUE12 input pin, clear the P34DDR bit
to 0.
MCIF
MCIF disable (MMCPE in IOMCR is 0)
operating
mode
MCIF enable (MMCPE in IOMCR is 1)
(MMC mode (SPI in MODER is 0)
(SPI mode (SPI in MODER is 1)
P34DDR
Pin function
P34 input pin
or
MMCS in PTCNT0 is 1
MMCS in PTCNT0 is 0
DIRME in IOMCR is 0)
or
SPCNUM in IOMCR is 0)
0
P34 output pin
MCIF enable (MMCPE in IOMCR is 1)
MMCS in PTCNT0 is 0
MMC mode
(SPI in MODER
is 0)
DIRME in IOMCR
is 1
1
MCCMDDIR
output pin
WUE12 input pin
Rev. 3.00 Jan 25, 2006 page 219 of 872
Section 9 I/O Ports
SPI mode
(SPI in MODER
is 1)
SPCNUM in
IOMCR is 1
MCCSB output pin
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents