English
Language : 

DSPIC33EPXXXGP50X Datasheet, PDF (365/504 Pages) Microchip Technology – 16-bit Microcontrollers and Digital Signal Controllers (up to 256 KB Flash and 32 KB SRAM) with High-Speed PWM, Op amps, and Advanced Analog
dsPIC33EPXXXGP50X, dsPIC33EPXXXMC20X/50X, AND PIC24EPXXXGP/MC20X
26.3 Programmable CRC Registers
REGISTER 26-1: CRCCON1: CRC CONTROL REGISTER 1
R/W-0
U-0
R/W-0
R-0
CRCEN
—
CSIDL
bit 15
R-0
R-0
R-0
VWORD<4:0>
R-0
bit 8
R-0
R-1
R/W-0
R/W-0
R/W-0
U-0
CRCFUL CRCMPT CRCISEL CRCGO LENDIAN
—
bit 7
U-0
U-0
—
—
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 15
bit 14
bit 13
bit 12-8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2-0
CRCEN: CRC Enable bit
1 = CRC module is enabled
0 = CRC module is disabled. All state machines, pointers, and CRCWDAT/CRCDAT are reset. Other
SFRs are not reset.
Unimplemented: Read as ‘0’
CSIDL: CRC Stop in Idle Mode bit
1 = Discontinue module operation when device enters Idle mode
0 = Continue module operation in Idle mode
VWORD<4:0>: Pointer Value bits
Indicates the number of valid words in the FIFO. Has a maximum value of 8 when PLEN<4:0> > 7,
or 16 when PLEN<4:0> ≤7.
CRCFUL: FIFO Full bit
1 = FIFO is full
0 = FIFO is not full
CRCMPT: FIFO Empty Bit
1 = FIFO is empty
0 = FIFO is not empty
CRCISEL: CRC Interrupt Selection bit
1 = Interrupt on FIFO empty; final word of data is still shifting through CRC
0 = Interrupt on shift complete and CRCWDAT results ready
CRCGO: Start CRC bit
1 = Start CRC serial shifter
0 = CRC serial shifter is turned off
LENDIAN: Data Word Little-Endian Configuration bit
1 = Data word is shifted into the CRC starting with the LSb (little endian)
0 = Data word is shifted into the CRC starting with the MSb (big endian)
Unimplemented: Read as ‘0’
© 2011 Microchip Technology Inc.
Preliminary
DS70657D-page 365