#[repr(C)]
pub struct RegisterBlock {
Show 14 fields pub ctrla: Reg<CTRLA_SPEC>, pub ctrlb: Reg<CTRLB_SPEC>, pub baud: Reg<BAUD_SPEC>, pub rxdata: Reg<RXDATA_SPEC>, pub txdata: Reg<TXDATA_SPEC>, pub intenclr: Reg<INTENCLR_SPEC>, pub intenset: Reg<INTENSET_SPEC>, pub intflag: Reg<INTFLAG_SPEC>, pub status: Reg<STATUS_SPEC>, pub instraddr: Reg<INSTRADDR_SPEC>, pub instrctrl: Reg<INSTRCTRL_SPEC>, pub instrframe: Reg<INSTRFRAME_SPEC>, pub scrambctrl: Reg<SCRAMBCTRL_SPEC>, pub scrambkey: Reg<SCRAMBKEY_SPEC>, /* private fields */
}
Expand description

Register block

Fields

ctrla: Reg<CTRLA_SPEC>

0x00 - Control A

ctrlb: Reg<CTRLB_SPEC>

0x04 - Control B

baud: Reg<BAUD_SPEC>

0x08 - Baud Rate

rxdata: Reg<RXDATA_SPEC>

0x0c - Receive Data

txdata: Reg<TXDATA_SPEC>

0x10 - Transmit Data

intenclr: Reg<INTENCLR_SPEC>

0x14 - Interrupt Enable Clear

intenset: Reg<INTENSET_SPEC>

0x18 - Interrupt Enable Set

intflag: Reg<INTFLAG_SPEC>

0x1c - Interrupt Flag Status and Clear

status: Reg<STATUS_SPEC>

0x20 - Status Register

instraddr: Reg<INSTRADDR_SPEC>

0x30 - Instruction Address

instrctrl: Reg<INSTRCTRL_SPEC>

0x34 - Instruction Code

instrframe: Reg<INSTRFRAME_SPEC>

0x38 - Instruction Frame

scrambctrl: Reg<SCRAMBCTRL_SPEC>

0x40 - Scrambling Mode

scrambkey: Reg<SCRAMBKEY_SPEC>

0x44 - Scrambling Key

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.