English
Language : 

C8051F99X_10 Datasheet, PDF (173/322 Pages) Silicon Laboratories – Ultra Low Power, 8-2 kB Flash, Capacitive Sensing MCU
C8051F99x-C8051F98x
SFR Definition 16.1. CRC0CN: CRC0 Control
Bit
7
6
5
4
3
2
1
0
Name
CRC0INIT CRC0VAL
CRC0PNT
Type
R
R
R
R
R/W
R/W
R
R/W
Reset
0
0
0
1
0
0
0
0
SFR Page = All; SFR Address = 0x84
Bit
Name
Function
7:4 Unused Read = 0001b; Write = Don’t Care.
3 CRC0INIT CRC0 Result Initialization Bit.
Writing a 1 to this bit initializes the entire CRC result based on CRC0VAL.
2 CRC0VAL CRC0 Set Value Initialization Bit.
This bit selects the set value of the CRC result.
0: CRC result is set to 0x00000000 on write of 1 to CRC0INIT.
1: CRC result is set to 0xFFFFFFFF on write of 1 to CRC0INIT.
1
Unused Read = 0b; Write = Don’t Care.
0 CRC0PNT CRC0 Result Pointer.
Specifies the byte of the CRC result to be read/written on the next access to
CRC0DAT. The value of these bits will auto-increment upon each read or write.
0: CRC0DAT accesses bits 7–0 of the 16-bit CRC result.
1: CRC0DAT accesses bits 15–8 of the 16-bit CRC result.
Note: Upon initiation of an automatic CRC calculation, the three cycles following a write to CRC0CN that initiate a
CRC operation must only contain instructions which execute in the same number of cycles as the number of
bytes in the instruction. An example of such an instruction is a 3-byte MOV that targets the CRC0FLIP
register. When programming in C, the dummy value written to CRC0FLIP should be a non-zero value to
prevent the compiler from generating a 2-byte MOV instruction.
Rev. 1.0
173