Struct nrf5340_net_pac::power_ns::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub tasks_constlat: Reg<TASKS_CONSTLAT_SPEC>, pub tasks_lowpwr: Reg<TASKS_LOWPWR_SPEC>, pub subscribe_constlat: Reg<SUBSCRIBE_CONSTLAT_SPEC>, pub subscribe_lowpwr: Reg<SUBSCRIBE_LOWPWR_SPEC>, pub events_pofwarn: Reg<EVENTS_POFWARN_SPEC>, pub events_sleepenter: Reg<EVENTS_SLEEPENTER_SPEC>, pub events_sleepexit: Reg<EVENTS_SLEEPEXIT_SPEC>, pub publish_pofwarn: Reg<PUBLISH_POFWARN_SPEC>, pub publish_sleepenter: Reg<PUBLISH_SLEEPENTER_SPEC>, pub publish_sleepexit: Reg<PUBLISH_SLEEPEXIT_SPEC>, pub inten: Reg<INTEN_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub gpregret: [Reg<GPREGRET_SPEC>; 2], // some fields omitted
}
Expand description

Register block

Fields

tasks_constlat: Reg<TASKS_CONSTLAT_SPEC>

0x78 - Enable Constant Latency mode

tasks_lowpwr: Reg<TASKS_LOWPWR_SPEC>

0x7c - Enable Low-Power mode (variable latency)

subscribe_constlat: Reg<SUBSCRIBE_CONSTLAT_SPEC>

0xf8 - Subscribe configuration for task CONSTLAT

subscribe_lowpwr: Reg<SUBSCRIBE_LOWPWR_SPEC>

0xfc - Subscribe configuration for task LOWPWR

events_pofwarn: Reg<EVENTS_POFWARN_SPEC>

0x108 - Power failure warning

events_sleepenter: Reg<EVENTS_SLEEPENTER_SPEC>

0x114 - CPU entered WFI/WFE sleep

events_sleepexit: Reg<EVENTS_SLEEPEXIT_SPEC>

0x118 - CPU exited WFI/WFE sleep

publish_pofwarn: Reg<PUBLISH_POFWARN_SPEC>

0x188 - Publish configuration for event POFWARN

publish_sleepenter: Reg<PUBLISH_SLEEPENTER_SPEC>

0x194 - Publish configuration for event SLEEPENTER

publish_sleepexit: Reg<PUBLISH_SLEEPEXIT_SPEC>

0x198 - Publish configuration for event SLEEPEXIT

inten: Reg<INTEN_SPEC>

0x300 - Enable or disable interrupt

intenset: Reg<INTENSET_SPEC>

0x304 - Enable interrupt

intenclr: Reg<INTENCLR_SPEC>

0x308 - Disable interrupt

gpregret: [Reg<GPREGRET_SPEC>; 2]

0x51c..0x524 - Description collection: General purpose retention register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.