13.2
Register Descriptions
This section describes the new or modified registers and bit functions in the smart card interface.
13.2.1
Smart Card Mode Register (SCMR)
SCMR is an 8-bit readable/writable register that selects smart card interface functions.
Bit
7
—
Initial value
1
Read/Write
—
SCMR is initialized to H'F2 by a reset and in standby mode.
Bits 7 to 4—Reserved: Read-only bits, always read as 1.
Bit 3—Smart Card Data Transfer Direction (SDIR): Selects the serial/parallel conversion
1
format.*
Bit 3
SDIR
Description
0
TDR contents are transmitted LSB-first
Receive data is stored LSB-first in RDR
1
TDR contents are transmitted MSB-first
Receive data is stored MSB-first in RDR
420
6
5
—
—
1
1
—
—
Reserved bits
4
3
—
SDIR
SINV
1
0
—
R/W
R/W
Smart card data invert
Inverts data logic levels
Smart card data transfer direction
Selects the serial/parallel conversion format
2
1
—
SMIF
0
1
—
R/W
Reserved bit
Smart card interface
mode select
Enables or disables
the smart card interface
function
(Initial value)
0
0