Struct riot_sys::NRF_POWER_Type[][src]

#[repr(C)]
pub struct NRF_POWER_Type {
Show 35 fields pub RESERVED: [u32; 30], pub TASKS_CONSTLAT: u32, pub TASKS_LOWPWR: u32, pub RESERVED1: [u32; 34], pub EVENTS_POFWARN: u32, pub RESERVED2: [u32; 2], pub EVENTS_SLEEPENTER: u32, pub EVENTS_SLEEPEXIT: u32, pub EVENTS_USBDETECTED: u32, pub EVENTS_USBREMOVED: u32, pub EVENTS_USBPWRRDY: u32, pub RESERVED3: [u32; 119], pub INTENSET: u32, pub INTENCLR: u32, pub RESERVED4: [u32; 61], pub RESETREAS: u32, pub RESERVED5: [u32; 9], pub RAMSTATUS: u32, pub RESERVED6: [u32; 3], pub USBREGSTATUS: u32, pub RESERVED7: [u32; 49], pub SYSTEMOFF: u32, pub RESERVED8: [u32; 3], pub POFCON: u32, pub RESERVED9: [u32; 2], pub GPREGRET: u32, pub GPREGRET2: u32, pub RESERVED10: [u32; 21], pub DCDCEN: u32, pub RESERVED11: u32, pub DCDCEN0: u32, pub RESERVED12: [u32; 47], pub MAINREGSTATUS: u32, pub RESERVED13: [u32; 175], pub RAM: [POWER_RAM_Type; 9],
}
Expand description

@brief Power control (POWER)

Fields

RESERVED: [u32; 30]TASKS_CONSTLAT: u32

< (@ 0x00000078) Enable Constant Latency mode

TASKS_LOWPWR: u32

< (@ 0x0000007C) Enable Low-power mode (variable latency)

RESERVED1: [u32; 34]EVENTS_POFWARN: u32

< (@ 0x00000108) Power failure warning

RESERVED2: [u32; 2]EVENTS_SLEEPENTER: u32

< (@ 0x00000114) CPU entered WFI/WFE sleep

EVENTS_SLEEPEXIT: u32

< (@ 0x00000118) CPU exited WFI/WFE sleep

EVENTS_USBDETECTED: u32

< (@ 0x0000011C) Voltage supply detected on VBUS

EVENTS_USBREMOVED: u32

< (@ 0x00000120) Voltage supply removed from VBUS

EVENTS_USBPWRRDY: u32

< (@ 0x00000124) USB 3.3 V supply ready

RESERVED3: [u32; 119]INTENSET: u32

< (@ 0x00000304) Enable interrupt

INTENCLR: u32

< (@ 0x00000308) Disable interrupt

RESERVED4: [u32; 61]RESETREAS: u32

< (@ 0x00000400) Reset reason

RESERVED5: [u32; 9]RAMSTATUS: u32

< (@ 0x00000428) Deprecated register - RAM status register

RESERVED6: [u32; 3]USBREGSTATUS: u32

< (@ 0x00000438) USB supply status

RESERVED7: [u32; 49]SYSTEMOFF: u32

< (@ 0x00000500) System OFF register

RESERVED8: [u32; 3]POFCON: u32

< (@ 0x00000510) Power-fail comparator configuration

RESERVED9: [u32; 2]GPREGRET: u32

< (@ 0x0000051C) General purpose retention register

GPREGRET2: u32

< (@ 0x00000520) General purpose retention register

RESERVED10: [u32; 21]DCDCEN: u32

< (@ 0x00000578) Enable DC/DC converter for REG1 stage

RESERVED11: u32DCDCEN0: u32

< (@ 0x00000580) Enable DC/DC converter for REG0 stage

RESERVED12: [u32; 47]MAINREGSTATUS: u32

< (@ 0x00000640) Main supply status

RESERVED13: [u32; 175]RAM: [POWER_RAM_Type; 9]

< (@ 0x00000900) Unspecified

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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.