Reset Flag Register
The Reset flags can be cleared by writing a ‘1
’ to the respective
flag. All flags will be cleared by a Power-on Reset (POR), except for the Power-on
Reset (PORF) flag. All flags will be cleared by a Brown-out Reset (BOR), except for
the Power-on Reset (PORF) and Brown-out Reset (BORF) flags.
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
UPDIRF | SWRF | WDRF | EXTRF | BORF | PORF | ||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | x | x | x | x | x | x |
UPDI Reset Flag
Software Reset Flag
This bit is set to ‘1
’ if a Software Reset has
occurred.
Watchdog Reset Flag
This bit is set to ‘1
’ if a Watchdog Reset has
occurred.
External Reset Flag
This bit is set to ‘1
’ if an External Reset has
occurred.
Brown-out Reset Flag
This bit is set to ‘1
’ if a Brown-out Reset has
occurred.
Power-on Reset Flag
This bit is set to ‘1
’ if a Power-on Reset has
occurred.