#[repr(C)]
pub struct RegisterBlock { pub ctrla: Reg<CTRLA_SPEC>, pub swevt: Reg<SWEVT_SPEC>, pub prictrl: Reg<PRICTRL_SPEC>, pub intpend: Reg<INTPEND_SPEC>, pub intstatus: Reg<INTSTATUS_SPEC>, pub busych: Reg<BUSYCH_SPEC>, pub readyusr: Reg<READYUSR_SPEC>, pub channel: [CHANNEL; 32], pub user: [Reg<USER_SPEC>; 67], /* private fields */ }
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control

swevt: Reg<SWEVT_SPEC>

0x04 - Software Event

prictrl: Reg<PRICTRL_SPEC>

0x08 - Priority Control

intpend: Reg<INTPEND_SPEC>

0x10 - Channel Pending Interrupt

intstatus: Reg<INTSTATUS_SPEC>

0x14 - Interrupt Status

busych: Reg<BUSYCH_SPEC>

0x18 - Busy Channels

readyusr: Reg<READYUSR_SPEC>

0x1c - Ready Users

channel: [CHANNEL; 32]

0x20..0x120 - CHANNEL[%s]

user: [Reg<USER_SPEC>; 67]

0x120..0x22c - User Multiplexer 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.