27.12.2 Sleep Configuration

Table 27-12. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: SLEEPCFG
Offset: 0x01
Reset: 0x02
Property: PAC Write-Protection

Bit 76543210 
      SLEEPMODE[2:0] 
Access R/WR/WR/W 
Reset 010 

Bits 2:0 – SLEEPMODE[2:0] Sleep Mode

ValueNameDefinition (1)
0x0 – 0x1Reserved-
0x2IDLEIdle sleep mode
0x3Reserved-
0x4STANDBYStandby sleep mode.
0x5HIBERNATEHibernate sleep mode.
0x6BACKUPBackup sleep mode.
0x7OFFOff sleep mode.
Note:
  1. Due to clock domain synchronization, a small latency occurs between the store instruction and actual writing of the SLEEPCFG.SLEEPMODE[2:0] bits. Software must ensure that the SLEEPCFG register reads the desired SLEEPMODE value before issuing the WFI instruction.
  2. Please refer to the Sleep Modes section for more details on sleep modes definition and behavior.
  3. This register is reset on entry into either HIBERNATE or BACKUP modes.