12.2
Register Descriptions
Registers added with the Smart Card interface and bits for which the function changes are
described here.
12.2.1
Smart Card Mode Register (SCMR)
Bit
Initial value
Read/Write
SCMR is an 8-bit readable/writable register that selects the Smart Card interface function.
SCMR is initialized to H'F2 by a reset, and in standby mode.
Bits 7 to 4—Reserved: These bits cannot be modified and are 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
Receive data is stored in RDR LSB-first
1
TDR contents are transmitted MSB-first
Receive data is stored in RDR MSB-first
390
7
6
—
—
1
1
—
—
Reserved bits
5
4
—
—
SDIR
1
1
—
—
R/W
Smart card data transfer direction
Selects the serial/parallel conversion format
3
2
SINV
0
0
R/W
Smart card interface
mode select
Enables or disables
the smart card
interface function
Smart card data invert
Inverts data logic levels
0
1
—
SMIF
1
0
—
R/W
(Initial value)