Reset Flag Register

All flags are cleared by writing a '1' to them. They are also cleared by a Power-on Reset, with the exception of the Power-On Reset Flag (PORF).
Name:
RSTFR
Offset:
0x00
Reset:
0xXX
Access:
-
Bit76543210
UPDIRFSWRFWDRFEXTRFBORFPORF
AccessRRR/WR/WR/WR/WR/WR/W
Reset00xxxxxx

Bit 5 – UPDIRF: UPDI Reset Flag

UPDI Reset Flag

This bit is set if a UPDI Reset occurs.

Bit 4 – SWRF: Software Reset Flag

Software Reset Flag

This bit is set if a Software Reset occurs.

Bit 3 – WDRF: Watchdog Reset Flag

Watchdog Reset Flag

This bit is set if a Watchdog Reset occurs.

Bit 2 – EXTRF: External Reset Flag

External Reset Flag

This bit is set if an External reset occurs.

Bit 1 – BORF: Brownout Reset Flag

Brownout Reset Flag

This bit is set if a Brownout Reset occurs.

Bit 0 – PORF: Power-On Reset Flag

Power-On Reset Flag

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

This flag is only cleared by writing a '1' it.

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