Renesas H8S/2158 User Manual page 279

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

Advertisement

P45DDR
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.
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)
P44DDR
Pin function
P44 input pin
• 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.
0
P45 input pin
TMIY (TMCIY/TMRIY) input pin/IRQ5 input pin
or
(Single-chip mode (EXPE = 0)
MMCS in PTCNT0 is 0)
MMCS in PTCNT0 is 1
DIRME in IOMCR is 0)
or
SPCNUM in IOMCR is 0)
0
P44 output pin
TMIX (TMCIX/TMRIX) input pin/IRQ4 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)
DIRME in IOMCR
is 1
1
ExMCCMDDIR
output pin
Rev. 3.00 Jan 25, 2006 page 225 of 872
Section 9 I/O Ports
1
P45 output pin
or
SPI mode (SPI in
MODER is 1)
SPCNUM in
IOMCR is 1
ExMCCSB output
pin
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents