#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub ctrla: Reg<CTRLA_SPEC>, pub nmictrl: Reg<NMICTRL_SPEC>, pub nmiflag: Reg<NMIFLAG_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub evctrl: Reg<EVCTRL_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub asynch: Reg<ASYNCH_SPEC>, pub config: [Reg<CONFIG_SPEC>; 2], pub debouncen: Reg<DEBOUNCEN_SPEC>, pub dprescaler: Reg<DPRESCALER_SPEC>, pub pinstate: Reg<PINSTATE_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

nmictrl: Reg<NMICTRL_SPEC>

0x01 - Non-Maskable Interrupt Control

nmiflag: Reg<NMIFLAG_SPEC>

0x02 - Non-Maskable Interrupt Flag Status and Clear

syncbusy: Reg<SYNCBUSY_SPEC>

0x04 - Synchronization Busy

evctrl: Reg<EVCTRL_SPEC>

0x08 - Event Control

intenclr: Reg<INTENCLR_SPEC>

0x0c - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x10 - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x14 - Interrupt Flag Status and Clear

asynch: Reg<ASYNCH_SPEC>

0x18 - External Interrupt Asynchronous Mode

config: [Reg<CONFIG_SPEC>; 2]

0x1c..0x24 - External Interrupt Sense Configuration

debouncen: Reg<DEBOUNCEN_SPEC>

0x30 - Debouncer Enable

dprescaler: Reg<DPRESCALER_SPEC>

0x34 - Debouncer Prescaler

pinstate: Reg<PINSTATE_SPEC>

0x38 - Pin State

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.