h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 277

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
P45DDR
Pin function
MCIF
operating
mode
P44DDR
Pin function
P44/IRQ4/TMIX/ExMCCMDDIR/ExMCCSB
The pin function is switched as shown below according to the combination of the MCIF
operating mode and the P44DDR bit.
When the TMIXS bit in PTCNT0 is cleared to 0 and the external clock is selected by the CKS2
to CKS0 bits in TCR of TMR_X, this pin is used as the TMCIX input pin. When the CCLR1
and CCLR0 bits in TCR of TMR_X are set to 1, this pin is used as the TMRIX input pin.
When the ISS4 bit in ISSR is cleared to 0 and the IRQ4E bit in IER of the interrupt controller
is set to 1, this pin can be used as the IRQ4 input pin. To use this pin as the IRQ4 input pin,
clear the P44DDR bit to 0.
P43/IRQ3/TMO1/ExMCDATDIR/ExMCCSA/HSYNCO
The pin function is switched as shown below according to the combination of the MCIF
operating mode, the HOE bit in TCONRO of the timer connection, the OS3 to OS0 bits in
TCSR of TMR_1, and the P43DDR bit. When the ISS3 bit in ISSR is cleared to 0 and the
IRQ3E bit in IER of the interrupt controller is set to 1, this pin can be used as the IRQ3 input
pin. To use this pin as the IRQ3 input pin, clear the P43DDR bit to 0.
MCIF disable (MMCPE in IOMCR is 0)
MCIF enable (MMCPE in IOMCR is 1)
P44 input pin
(MMC mode (SPI in MODER is 0)
(SPI mode (SPI in MODER is 1)
(Single-chip mode (EXPE = 0)
SPCNUM in IOMCR is 0)
MMCS in PTCNT0 is 0)
MMCS in PTCNT0 is 1
DIRME in IOMCR is 0)
0
P45 input pin
TMIY (TMCIY/TMRIY) input pin/IRQ5 input pin
TMIX (TMCIX/TMRIX) input pin/IRQ4 input pin
or
or
0
P44 output pin
1
Rev. 3.00 Jan 25, 2006 page 225 of 872
MMC mode (SPI in
DIRME in IOMCR
MCIF enable (MMCPE in IOMCR is 1)
ExMCCMDDIR
MODER is 0)
output pin
Extended mode (EXPE = 1)
is 1
MMCS in PTCNT0 is 1
P45 output pin
or
1
Section 9 I/O Ports
ExMCCSB output
SPI mode (SPI in
REJ09B0286-0300
MODER is 1)
SPCNUM in
IOMCR is 1
pin

Related parts for h8s-2158