14.5.1 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.

Name: RSTFR
Offset: 0x00
Reset: 0xXX
Property: -

Bit 76543210 
   UPDIRFSWRFWDRFEXTRFBORFPORF 
Access R/WR/WR/WR/WR/WR/W 
Reset xxxxxx 

Bit 5 – UPDIRF UPDI Reset Flag

This bit is set to ‘1’ if either a UPDI Reset has occurred or a reset caused by an HV pulse has occurred.

Bit 4 – SWRF Software Reset Flag

This bit is set to ‘1’ if a Software Reset has occurred.

Bit 3 – WDRF Watchdog Reset Flag

This bit is set to ‘1’ if a Watchdog Reset has occurred.

Bit 2 – EXTRF External Reset Flag

This bit is set to ‘1’ if an External Reset has occurred.

Bit 1 – BORF Brown-out Reset Flag

This bit is set to ‘1’ if a Brown-out Reset has occurred.

Bit 0 – PORF Power-on Reset Flag

This bit is set to ‘1’ if a Power-on Reset has occurred.