ATtiny1624/1626/1627

RSTFR

Reset Flag Register

All flags are cleared by writing a ‘1’ to them. They are also cleared by a Power-on Reset (POR), except for the Power-on Reset Flag (PORF).

  0x00 8 - 0xXX    

Reset Flag Register

Bit  7 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  

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: Brown-out Reset Flag

Brown-out Reset Flag

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

Bit 0 – PORF: Power-on Reset Flag

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.