14.2 Register Descriptions
This section describes the new or modified registers and bit functions in the smart card interface.
14.2.1 Smart Card Mode Register (SCMR)
SCMR is an 8-bit readable/writable register that selects smart card interface functions.
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
format.
Bit 3
SDIR
Description
0
TDR contents are transmitted LSB-first
(Initial value)
Received data is stored LSB-first in RDR
1
TDR contents are transmitted MSB-first
Received data is stored MSB-first in RDR
Bit
Initial value
Read/Write
7
—
1
—
6
—
1
—
5
—
1
—
4
—
1
—
3
SDIR
0
R/W
0
SMIF
0
R/W
2
SINV
0
R/W
1
—
1
—
Reserved bits
Smart card data transfer direction
Selects the serial/parallel conversion format
Smart card data invert
Inverts data logic levels
Smart card interface
mode select
Enables or disables
the smart card
interface function
Reserved bits
500
www.DataSheet4U.com