Datasheet

Section 15 Smart Card Interface
Rev.6.00 Sep. 27, 2007 Page 671 of 1268
REJ09B0220-0600
15.2 Register Descriptions
Registers added with the smart card interface and bits for which the function changes are
described here.
15.2.1 Smart Card Mode Register (SCMR)
Bit : 7 6 5 4 3 2 1 0
— — — — SDIR SINV SMIF
Initial value : 1 1 1 1 0 0 1 0
R/W : — R/W R/W — R/W
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 hardware standby mode. In software standby mode
and module stop mode it retains its previous state.
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 (Initial value)
Receive data is stored in RDR LSB-first
1 TDR contents are transmitted MSB-first
Receive data is stored in RDR MSB-first