21.7.2 Backup Exit Source

When either a Hibernate or 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, i.e., 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
Property: 

Bit 76543210 
 HIB    BBPSRTC  
Access RRR 
Reset xxx 

Bit 7 – HIB Hibernate

This bit is set if an Hibernate reset occurs. This bit is zero if a backup reset occurs.

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.