#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub tasks_constlat: TASKS_CONSTLAT, pub tasks_lowpwr: TASKS_LOWPWR, pub subscribe_constlat: SUBSCRIBE_CONSTLAT, pub subscribe_lowpwr: SUBSCRIBE_LOWPWR, pub events_pofwarn: EVENTS_POFWARN, pub events_sleepenter: EVENTS_SLEEPENTER, pub events_sleepexit: EVENTS_SLEEPEXIT, pub publish_pofwarn: PUBLISH_POFWARN, pub publish_sleepenter: PUBLISH_SLEEPENTER, pub publish_sleepexit: PUBLISH_SLEEPEXIT, pub inten: INTEN, pub intenset: INTENSET, pub intenclr: INTENCLR, pub gpregret: [GPREGRET; 2], /* private fields */
}
Expand description

Register block

Fields

tasks_constlat: TASKS_CONSTLAT

0x78 - Enable Constant Latency mode

tasks_lowpwr: TASKS_LOWPWR

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

subscribe_constlat: SUBSCRIBE_CONSTLAT

0xf8 - Subscribe configuration for task CONSTLAT

subscribe_lowpwr: SUBSCRIBE_LOWPWR

0xfc - Subscribe configuration for task LOWPWR

events_pofwarn: EVENTS_POFWARN

0x108 - Power failure warning

events_sleepenter: EVENTS_SLEEPENTER

0x114 - CPU entered WFI/WFE sleep

events_sleepexit: EVENTS_SLEEPEXIT

0x118 - CPU exited WFI/WFE sleep

publish_pofwarn: PUBLISH_POFWARN

0x188 - Publish configuration for event POFWARN

publish_sleepenter: PUBLISH_SLEEPENTER

0x194 - Publish configuration for event SLEEPENTER

publish_sleepexit: PUBLISH_SLEEPEXIT

0x198 - Publish configuration for event SLEEPEXIT

inten: INTEN

0x300 - Enable or disable interrupt

intenset: INTENSET

0x304 - Enable interrupt

intenclr: INTENCLR

0x308 - Disable interrupt

gpregret: [GPREGRET; 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.