Smart Card Mode Register (Scmr) - Renesas H8S/2158 User Manual

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

Advertisement

Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
16.3.8

Smart Card Mode Register (SCMR)

SCMR selects smart card interface mode and its format.
Bit
Bit Name
7 to
4
3
SDIR
2
SINV
1
0
SMIF
Rev. 3.00 Jan 25, 2006 page 404 of 872
REJ09B0286-0300
Initial Value
R/W
All 1
R
0
R/W
0
R/W
1
R
0
R/W
Description
Reserved
These bits are always read as 1 and cannot be
modified.
Smart Card Data Transfer Direction
Selects the serial/parallel conversion format.
0: TDR contents are transmitted with LSB-first.
Stores receive data as LSB first in RDR.
1: TDR contents are transmitted with MSB-first.
Stores receive data as MSB first in RDR.
The SDIR bit is valid only when the 8-bit data
format is used for transmission/reception; when
the 7-bit data format is used, data is always
transmitted/received with LSB-first.
Smart Card Data Invert
Specifies inversion of the data logic level. The
SINV bit does not affect the logic level of the
parity bit. When the parity bit is inverted, invert the
O/E bit in SMR.
0: TDR contents are transmitted as they are.
Receive data is stored as it is in RDR.
1: TDR contents are inverted before being
transmitted. Receive data is stored in inverted
form in RDR.
Reserved
This bit is always read as 1 and cannot be
modified.
Smart Card Interface Mode Select:
When this bit is set to 1, smart card interface
mode is selected.
0: Normal asynchronous or clocked synchronous
mode
1: Smart card interface mode

Advertisement

Table of Contents
loading

Table of Contents