#[repr(C)]
pub struct RegisterBlock { pub ctrl: Reg<CTRL_SPEC>, pub status: Reg<STATUS_SPEC>, pub nmictrl: Reg<NMICTRL_SPEC>, pub nmiflag: Reg<NMIFLAG_SPEC>, pub evctrl: Reg<EVCTRL_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub wakeup: Reg<WAKEUP_SPEC>, pub config: [Reg<CONFIG_SPEC>; 2], }
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - Control

status: Reg<STATUS_SPEC>

0x01 - Status

nmictrl: Reg<NMICTRL_SPEC>

0x02 - Non-Maskable Interrupt Control

nmiflag: Reg<NMIFLAG_SPEC>

0x03 - Non-Maskable Interrupt Flag Status and Clear

evctrl: Reg<EVCTRL_SPEC>

0x04 - Event Control

intenclr: Reg<INTENCLR_SPEC>

0x08 - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x0c - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x10 - Interrupt Flag Status and Clear

wakeup: Reg<WAKEUP_SPEC>

0x14 - Wake-Up Enable

config: [Reg<CONFIG_SPEC>; 2]

0x18..0x20 - Configuration n

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.