Datasheet

Section 15 Serial Communication Interface (SCI)
Rev. 6.00 Mar. 18, 2010 Page 570 of 982
REJ09B0054-0600
15.3.8 Smart Card Mode Register (SCMR)
SCMR is a register that selects Smart Card interface mode and its transfer format.
Bit
Bit Name
Initial
Value
R/W
Description
7 to 4 All 1 Reserved
These bits are always read as 1, and cannot be
modified.
3 SDIR 0 R/W Smart Card Data Transfer Direction
Selects the serial/parallel conversion format.
0: LSB-first in transfer
1: MSB-first in transfer
The bit setting is valid only when the transfer data
format is 8 bits. Except in the case of 7-bit data in
asynchronous mode, either LSB-first or MSB-first
may be selected regardless of the serial
communication mode. For 7-bit data, set this bit to
0 to select LSB-first in transfer.
2 SINV 0 R/W Smart Card Data Invert
Specifies inversion of the data logic level. The
SINV bit does not affect the logic level of the parity
bit. To invert the parity bit, 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
1 — 1 Reserved
This bit is always read as 1, and cannot be
modified.
0 SMIF 0 R/W Smart Card Interface Mode Select
This bit is set to 1 to make the SCI operate in
Smart Card interface mode.
0: Normal asynchronous mode or clocked
synchronous mode
1: Smart card interface mode