English
Language : 

HD64F2168 Datasheet, PDF (469/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
CRC Control Register (CRCCR): CRCCR initializes the CRC operation circuit, switches the
operation mode, and selects the generating polynomial.
Bit Bit Name Initial Value
7
DORCLR 0
6 to 3 
All 0
2
LMS
0
1
G1
0
0
G0
0
R/W Description
W CRCDOR Clear
Setting this bit to 1 clears CRCDOR to H′0000.
R Reserved
The initial value should not be changed.
R/W CRC Operation Switch
Selects CRC code generation for LSB-first or MSB-
first communication.
0: Performs CRC operation for LSB-first
communication. The lower byte (bits 7 to 0) is first
transmitted when CRCDOR contents (CRC code)
are divided into two bytes to be transmitted in two
parts.
1: Performs CRC operation for MSB-first
communication. The upper byte (bits 15 to 8) is
first transmitted when CRCDOR contents (CRC
code) are divided into two bytes to be transmitted
in two parts.
R/W CRC Generating Polynomial Select
R/W These bits select the polynomial.
00: Reserved
01: X8 + X2 + X + 1
10: X16 + X15 + X2 + 1
11: X16 + X12 + X5 + 1
CRC Data Input Register (CRCDIR): CRCDIR is an 8-bit readable/writable register, to which
the bytes to be CRC-operated are written. The result is obtained in CRCDOR.
CRC Data Output Register (CRCDOR): CRCDOR is a 16-bit readable/writable register that
contains the result of CRC operation when the bytes to be CRC-operated are written to CRCDIR
after CRCDOR is cleared. When the CRC operation result is additionally written to the bytes to
which CRC operation is to be performed, the CRC operation result will be H'0000 if the data
contains no CRC error. When bits 1 and 0 in CRCCR (G1 and G0 bits) are set to 0 and 1,
respectively, the lower byte of this register contains the result.
Rev. 3.00, 03/04, page 429 of 830