38.6.4 Interrupt Flags
| Name: | INTFLAGS |
| Offset: | 0x03 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| PERIOD | DONE | ||||||||
| Access | R/W | R/W | |||||||
| Reset | 0 | 0 |
Bit 1 – PERIOD Scan Period Done
This bit is set when a scan period has expired, i.e., 32 Flash words have been scanned. CRC scan is halted when the PERIOD bit in
the CRCSCAN.INTFLAGS register is set, regardless of the value of the PERIOD bit in the CRCSCAN.INTCTRL register. Clear
the PERIOD flag and enter the IDLE sleep mode to resume the scan. The flag is cleared by writing a ‘1’
to the bit position. Writing a ‘0’ to this bit has no effect.
Bit 0 – DONE Scan Done
This bit is set when the scan has completed, i.e., the entire region selected by
SRC bit field in the Control A (CRCSCAN.CTRLA) register has been scanned. The
result of the scan can be read from the ERROR bit in the CRCSCAN.STATUSA
register. The flag is cleared by writing a ‘1’ to the bit
position. Writing a ‘0’ to this bit has no effect.
The Boot ROM may be configured to execute a scan of the flash on start up in
which case the application will read the flag as ‘1’. The DONE
flag must then be cleared before starting a scan.
