4.2.6 Device Status

Name: DEVSTA
Offset: 0x0100
Reset: 0xXX
Property: R

Bit 15141312111098 
      LOADSAVEMEM 
Access RRR 
Reset xxx 
Bit 76543210 
    SWRSTWDTEXTRST BODPOR 
Access RRRRR 
Reset xxxxx 

Bit 10 – LOAD Load Failure

This bit is set if it fails to load the configuration.

Bit 9 – SAVE Save Failure

This bit is set if it fails to save the configuration.

Bit 8 – MEM Memory Corruption

This bit is set if no configuration is loaded.

Bit 4 – SWRST Software Reset

This bit is set if a Software Reset occurs.

Bit 3 – WDT Watchdog Timer

This bit is set if a Watchdog Reset occurs.

Bit 2 – EXTRST  External Reset

This bit is set if an External Reset occurs.

Bit 1 – BOD Brown-out Detection

This bit is set if a Brown-out Detection (BOR) occurs.

Bit 0 – POR Power-on Reset

This bit is set if a Power-on Reset (POR) occurs.

After a POR, only the POR flag is set and all the other flags are cleared. No other flags can be set before a full system boot is run after the POR.