POWER — Power control

The POWER peripheral provides an interface for the power and clock subsystem for task, event, and interrupt related settings.

The POWER peripheral requests resources from the power and clock subsystem. The power and clock subsystem makes sure that the power mode with the proper latency settings is selected when requested. This means that the Constant Latency mode is prioritized over Low-power mode. For an overview of power modes, see Sub-power modes.

The event POFWARN is a system level event that enables the device to react quickly if there is a power failure. The power-fail comparator must be configured and enabled to receive the event, see Power-fail comparator for more information.

Power control of the RAM blocks is controlled by the memory configuration peripheral (MEMCONF), see MEMCONF — Memory configuration.

Note: Registers INTEN, INTENSET, and INTENCLR are shared between the POWER and CLOCK peripherals.

Registers

Instances

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
POWER : S
POWER : NS
GLOBAL0x5010E000
0x4010E000
USSNANoPower control

Register overview

RegisterOffsetTZDescription
TASKS_CONSTLAT0x30Enable Constant Latency mode
TASKS_LOWPWR0x34Enable Low-power mode (variable latency)
SUBSCRIBE_CONSTLAT0xB0Subscribe configuration for task CONSTLAT
SUBSCRIBE_LOWPWR0xB4Subscribe configuration for task LOWPWR
EVENTS_POFWARN0x130Power failure warning
EVENTS_SLEEPENTER0x134CPU entered WFI/WFE sleep
EVENTS_SLEEPEXIT0x138CPU exited WFI/WFE sleep
PUBLISH_SLEEPENTER0x1B4Publish configuration for event SLEEPENTER
PUBLISH_SLEEPEXIT0x1B8Publish configuration for event SLEEPEXIT
INTEN0x300Enable or disable interrupt
INTENSET0x304Enable interrupt
INTENCLR0x308Disable interrupt
GPREGRET[n]0x500

General purpose retention register

This register is retained.

CONSTLATSTAT0x520Status of constant latency

TASKS_CONSTLAT

Address offset: 0x30

Enable Constant Latency mode

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_CONSTLATEnable Constant Latency mode
Trigger1Trigger task

TASKS_LOWPWR

Address offset: 0x34

Enable Low-power mode (variable latency)

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_LOWPWREnable Low-power mode (variable latency)
Trigger1Trigger task

SUBSCRIBE_CONSTLAT

Address offset: 0xB0

Subscribe configuration for task CONSTLAT

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task CONSTLAT will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription

SUBSCRIBE_LOWPWR

Address offset: 0xB4

Subscribe configuration for task LOWPWR

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that task LOWPWR will subscribe to
BRWEN
Disabled0Disable subscription
Enabled1Enable subscription

EVENTS_POFWARN

Address offset: 0x130

Power failure warning

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_POFWARNPower failure warning
NotGenerated0Event not generated
Generated1Event generated

EVENTS_SLEEPENTER

Address offset: 0x134

CPU entered WFI/WFE sleep

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_SLEEPENTERCPU entered WFI/WFE sleep
NotGenerated0Event not generated
Generated1Event generated

EVENTS_SLEEPEXIT

Address offset: 0x138

CPU exited WFI/WFE sleep

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_SLEEPEXITCPU exited WFI/WFE sleep
NotGenerated0Event not generated
Generated1Event generated

PUBLISH_SLEEPENTER

Address offset: 0x1B4

Publish configuration for event SLEEPENTER

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event SLEEPENTER will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

PUBLISH_SLEEPEXIT

Address offset: 0x1B8

Publish configuration for event SLEEPEXIT

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWCHIDX[0..255]DPPI channel that event SLEEPEXIT will publish to
BRWEN
Disabled0Disable publishing
Enabled1Enable publishing

INTEN

Address offset: 0x300

Enable or disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWPOFWARNEnable or disable interrupt for event POFWARN
Disabled0Disable
Enabled1Enable
BRWSLEEPENTEREnable or disable interrupt for event SLEEPENTER
Disabled0Disable
Enabled1Enable
CRWSLEEPEXITEnable or disable interrupt for event SLEEPEXIT
Disabled0Disable
Enabled1Enable

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1S
POFWARNWrite '1' to enable interrupt for event POFWARN
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRW
W1S
SLEEPENTERWrite '1' to enable interrupt for event SLEEPENTER
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRW
W1S
SLEEPEXITWrite '1' to enable interrupt for event SLEEPEXIT
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDCBA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARW
W1C
POFWARNWrite '1' to disable interrupt for event POFWARN
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
BRW
W1C
SLEEPENTERWrite '1' to disable interrupt for event SLEEPENTER
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled
CRW
W1C
SLEEPEXITWrite '1' to disable interrupt for event SLEEPEXIT
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled

GPREGRET[n]

Address offset: 0x500 + (n × 0x4)

General purpose retention register

This register is retained.

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWGPREGRET

General purpose retention register

This register is retained

CONSTLATSTAT

Address offset: 0x520

Status of constant latency

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARSTATUSStatus
Disable0Constant latency disabled
Enable1Constant latency enabled