Mode Register (Moder) - Renesas H8S/2158 User Manual

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

Advertisement

19.3.1

Mode Register (MODER)

MODER specifies the MCIF operating mode. The two operating modes have different
input/output pin functions, usable command types, and command sequence. In each mode, the
following sequence should be repeated when the MCIF uses the MMC: Send a command, wait for
the end of the command sequence and the end of the data busy state, and send the next command.
The series of operations from command sending, command response reception, data
transmission/reception, and data response reception is called the command sequence. The
command sequence starts from sending a command by setting the START bit in CMDSTRT to 1,
and ends when all necessary data transmission/reception and response reception has been
completed. The MMC supports the data busy state in which the next command is not accepted to
write/erase data to/from the flash memory in the MMC during command sequence execution and
after command sequence execution has ended. The data busy state is indicated by a 0 output from
the MMC side to the MCDAT pin in MMC mode, and to the MCRxD pin in SPI mode.
Bit
Bit Name
7
to
3
2, 1
0
SPI
Initial Value
R/W
All 0
R
All 0
R/(W)
0
R/W
Section 19 Multimedia Card Interface (MCIF)
Description
Reserved
These bits are always read as 0 and cannot be
modified.
Reserved
The initial value should not be changed.
SPI/MMC Mode
Specifies the MCIF operating mode.
0: Operates in MMC mode
1: Operates in SPI mode
Rev. 3.00 Jan 25, 2006 page 631 of 872
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents