NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
214
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
CRC Control Register (CRC_CTL)
Register
Offset
R/W
Description
Reset Value
CRC_CTL
0x00
R/W
CRC Control Register
0x2000_0000
31
30
29
28
27
26
25
24
CRC_MODE
CPU_WDLEN
CHECKSUM_
COM
WDATA_COM
CHECKSUM_
RVS
WDATA_RVS
23
22
21
20
19
18
17
16
TRIG_EN
Reserved
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
Reserved
CRC_RST
CRCCEN
Bits
Description
[31:30]
CRC_MODE
CRC Polynomial Mode
This field indicates the CRC operation polynomial mode.
00 = CRC-CCITT Polynomial Mode.
01 = CRC-8 Polynomial Mode.
10 = CRC-16 Polynomial Mode.
11 = CRC-32 Polynomial Mode.
[29:28]
CPU_WDLEN
CPU Write Data Length
This field indicates the CPU write data length only when operating in CPU PIO mode.
00 = The write data length is 8-bit mode.
01 = The write data length is 16-bit mode.
10 = The write data length is 32-bit mode.
11 = Reserved.
Note1:
This field is only valid when operating in CPU PIO mode.
Note2:
When the write data length is 8-bit mode, the valid data in CRC_WDATA register is
only CRC_WDATA [7:0] bits; if the write data length is 16-bit mode, the valid data in
CRC_WDATA register is only CRC_WDATA [15:0].
[27]
CHECKSUM_COM
Checksum 1’s Complement
This bit is used to enable the 1’s complement function for checksum result in
CRC_CHECKSUM register.
0 = 1’s complement for CRC checksum Disabled.
1 = 1’s complement for CRC checksum Enabled.
[26]
WDATA_COM
Write Data 1’s Complement
This bit is used to
enable the 1’s complement function for write data value in
CRC_WDATA register.
0 = 1’s complement for CRC write data in Disabled.
1 = 1’s complement for CRC write data in Enabled.