#[repr(C)]
pub struct RegisterBlock { pub ctrla: Reg<CTRLA_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub evctrl: Reg<EVCTRL_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub status: Reg<STATUS_SPEC>, pub data: Reg<DATA_SPEC>, pub databuf: Reg<DATABUF_SPEC>, /* private fields */ }
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

ctrlb: Reg<CTRLB_SPEC>

0x01 - Control B

evctrl: Reg<EVCTRL_SPEC>

0x02 - Event Control

intenclr: Reg<INTENCLR_SPEC>

0x04 - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x05 - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x06 - Interrupt Flag Status and Clear

status: Reg<STATUS_SPEC>

0x07 - Status

data: Reg<DATA_SPEC>

0x08 - Data

databuf: Reg<DATABUF_SPEC>

0x0c - Data Buffer

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.