4.2.6 Device Status
Name: | DEVSTA |
Offset: | 0x0100 |
Reset: | 0xXX |
Property: | R |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
LOAD | SAVE | MEM | |||||||
Access | R | R | R | ||||||
Reset | x | x | x |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
SWRST | WDT | EXTRST | BOD | POR | |||||
Access | R | R | R | R | R | ||||
Reset | x | x | x | x | x |
Bit 10 – LOAD Load Failure
Bit 9 – SAVE Save Failure
Bit 8 – MEM Memory Corruption
Bit 4 – SWRST Software Reset
Bit 3 – WDT Watchdog Timer
Bit 2 – EXTRST External Reset
Bit 1 – BOD Brown-out Detection
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.