19.8.2 Backup Exit Source
When a Backup Reset occurs, the bit corresponding to the exit condition is set to '1', the other bits are written to '0'.
In some specific cases, the RTC and BBPS bits can be set together, e.g. when the device leaves the battery Backup Mode caused by a BBPS condition, and a RTC event was generated during the Battery Backup Mode period.
Name: | BKUPEXIT |
Offset: | 0x02 |
Reset: | Latest Backup Exit Source |
Property: | – |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
BBPS | RTC | EXTWAKE | |||||||
Access | R | R | R | ||||||
Reset | x | x | x |
Bit 2 – BBPS Battery Backup Power Switch
This bit is set if the Battery Backup Power Switch of the Supply Controller changes back from battery mode to main power mode.
Bit 1 – RTC Real Timer Counter Interrupt
This bit is set if an RTC interrupt flag is set in Backup Mode. For more information, refer to the RTC – Real-Time Counter.
Bit 0 – EXTWAKE External Wake-up
This bit is set if the wake-up detector has detected an external wake-up condition in Backup Mode.