Download Print this page

Register Descriptions - Renesas H8S Family Hardware Manual

Advertisement

Section 14 CRC Operation Circuit (CRC)

14.2

Register Descriptions

The CRC operation circuit has the following registers.
• CRC control register (CRCCR)
• CRC data input register (CRCDIR)
• CRC data output register (CRCDOR)
14.2.1
CRC Control Register (CRCCR)
CRCCR initializes the CRC operation circuit, switches the operation mode, and selects the
generating polynomial.
Bit
Bit Name
7
DORCLR
6 to 3
2
LMS
1
G1
0
G0
Rev. 1.00 Mar. 12, 2008 Page 498 of 1178
REJ09B0403-0100
Initial
Value
R/W
Description
0
W
CRCDOR Clear
Setting this bit to 1 clears CRCDOR to H
All 0
R
Reserved
The initial value should not be changed.
0
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.
0
R/W
CRC Generating Polynomial Select
0
R/W
These bits select the polynomial.
00: Reserved
01: X
10: X
11: X
8
2
+ X
+ X + 1
16
15
2
+ X
+ X
+ 1
16
12
5
+ X
+ X
+ 1
'
0000.

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472