14.5.1 Reset Flag Register

The Reset flags can be cleared by writing a ‘1’ to the respective flag. All the flags will be cleared by a Power-on Reset (POR) or 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 if either a UPDI Reset occurs or a Reset caused by an HV pulse occurs.

Bit 4 – SWRF Software Reset Flag

This bit is set if a Software Reset occurs.

Bit 3 – WDRF Watchdog Reset Flag

This bit is set if a Watchdog Reset occurs.

Bit 2 – EXTRF External Reset Flag

This bit is set if an External Reset occurs.

Bit 1 – BORF Brown-out Reset Flag

This bit is set if a Brown-out Reset occurs.

Bit 0 – PORF Power-on Reset Flag

This bit is set if a 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.