#[repr(C)]
pub struct RegisterBlock { pub ctrla: Reg<CTRLA_SPEC>, pub clkctrl: [Reg<CLKCTRL_SPEC>; 2], pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub syncbusy: Reg<SYNCBUSY_SPEC>, pub txctrl: Reg<TXCTRL_SPEC>, pub rxctrl: Reg<RXCTRL_SPEC>, pub txdata: Reg<TXDATA_SPEC>, pub rxdata: Reg<RXDATA_SPEC>, /* private fields */ }
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

clkctrl: [Reg<CLKCTRL_SPEC>; 2]

0x04..0x0c - Clock Unit n 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

syncbusy: Reg<SYNCBUSY_SPEC>

0x18 - Synchronization Status

txctrl: Reg<TXCTRL_SPEC>

0x20 - Tx Serializer Control

rxctrl: Reg<RXCTRL_SPEC>

0x24 - Rx Serializer Control

txdata: Reg<TXDATA_SPEC>

0x30 - Tx Data

rxdata: Reg<RXDATA_SPEC>

0x34 - Rx Data

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.