The scanner allows segments of the Program Flash Memory or Data EEPROM to be read out
(scanned) to the CRC peripheral. The scanner module interacts with the CRC module and
supplies it data, one word at a time. Data is fetched from the address range defined by
SCANLADR
registers up to the
SCANHADR registers. The scanner begins operation when the
SGO bit is set and ends when either SGO is cleared by the user or when
SCANLADR increments past SCANHADR. The SGO bit is also cleared when the
EN
bit in the
CRCCON0 register is cleared.
Important: When using the scanner module in
conjunction with the CRC module, the CRCEN and CRCGO bits must be set before setting
the SGO bit.