Microchip Technology megaAVR 0 Series Manual page 103

Hide thumbs Also See for megaAVR 0 Series:
Table of Contents

Advertisement

11.5.1
Reset Flag Register
Name: 
RSTFR
Offset: 
0x00
Reset: 
0xXX
Property:  -
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).
Bit
7
Access
Reset
Bit 5 – UPDIRF UPDI Reset Flag
This bit is set if a UPDI Reset 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 Brownout Reset Flag
This bit is set if a Brownout Reset occurs.
Bit 0 – PORF Power-On Reset Flag
This bit is set if a Power-On Reset occurs.
This flag is only cleared by writing a '1' to it.
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.
©
2018 Microchip Technology Inc.
6
5
UPDIRF
SWRF
R/W
x
4
3
WDRF
R/W
R/W
x
x
Datasheet Preliminary
®
megaAVR
0-Series
Reset Controller (RSTCTRL)
2
1
EXTRF
BORF
R/W
R/W
x
x
DS40002015A-page 103
0
PORF
R/W
x

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the megaAVR 0 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Atmega4808Atmega4809Atmega3208Atmega3209

Table of Contents