#[repr(C)]
pub struct RegisterBlock { pub ctrla: Reg<CTRLA_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub cfga: Reg<CFGA_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub status: Reg<STATUS_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub value: Reg<VALUE_SPEC>, /* private fields */ }
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A Register

ctrlb: Reg<CTRLB_SPEC>

0x01 - Control B Register

cfga: Reg<CFGA_SPEC>

0x02 - Config A register

intenclr: Reg<INTENCLR_SPEC>

0x08 - Interrupt Enable Clear Register

intenset: Reg<INTENSET_SPEC>

0x09 - Interrupt Enable Set Register

intflag: Reg<INTFLAG_SPEC>

0x0a - Interrupt Flag Register

status: Reg<STATUS_SPEC>

0x0b - Status Register

syncbusy: Reg<SYNCBUSY_SPEC>

0x0c - Synchronization Busy Register

value: Reg<VALUE_SPEC>

0x10 - Count Value 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.