Register Descriptions; Smart Card Mode Register (Scmr) - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

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
Initial value :
1
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 standby mode or module stop 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
0
1
Bit 2—Smart Card Data Invert (SINV): Specifies inversion of the data logic level. This function is used together with
the SDIR bit for communication with an inverse convention card. The SINV bit does not affect the logic level of the parity
bit. For parity-related setting procedures, see section 15.3.4, Register Settings.
Bit 2
SINV
0
1
Bit 1—Reserved: This bit cannot be modified and is always read as 1.
Bit 0—Smart Card Interface Mode Select (SMIF): Enables or disables the Smart Card interface function.
Bit 0
SMIF
0
1
Rev.6.00 Oct.28.2004 page 520 of 1016
REJ09B0138-0600H
6
5
1
1
Description
TDR contents are transmitted LSB-first
Receive data is stored in RDR LSB-first
TDR contents are transmitted MSB-first
Receive data is stored in RDR MSB-first
Description
TDR contents are transmitted as they are
Receive data is stored as it is in RDR
TDR contents are inverted before being transmitted
Receive data is stored in inverted form in RDR
Description
Smart Card interface function is disabled
Smart Card interface function is enabled
4
3
2
SDIR
SINV
1
0
0
R/W
R/W
1
0
SMIF
1
0
R/W
(Initial value)
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents