1.8.20.4 SUPC_BackupModeEnter Function

C

void SUPC_BackupModeEnter (void);

Summary

Puts the device into Backup mode

Description

This functions is used to put the device into Backup mode to achieve the lowest power consumption possible in a system which is performing periodic wakeup to perform tasks but not requiring fast startup time.

The Supply Controller, zero-power power-on reset, RTT, RTC, backup SRAM, backup registers and 32 kHz oscillator (RC or crystal oscillator selected by software in the Supply Controller) are running. The regulator and the core supply are off.

Exit from Backup mode occurs as a result of one of the following enabled wakeup events and it causes device reset:

  • WKUP0 to WKUP13 pins (level transition, configurable debouncing)

  • Supply Monitor alarm

  • RTC alarm

  • RTT alarm

Precondition

The peripherals (Supply Monitor, RTT, RTC etc) must be configured to generate wakeup event.

Parameters

None

Returns

None.

Example

SUPC_BackupModeEnter ();

Remarks

None.