#[repr(C)]
pub struct RegisterBlock { pub ctlr1: Reg<CTLR1_SPEC>, pub ctlr2: Reg<CTLR2_SPEC>, pub statr: Reg<STATR_SPEC>, pub datar: Reg<DATAR_SPEC>, pub crcr: Reg<CRCR_SPEC>, pub rcrcr: Reg<RCRCR_SPEC>, pub tcrcr: Reg<TCRCR_SPEC>, }
Expand description

Register block

Fields

ctlr1: Reg<CTLR1_SPEC>

0x00 - control register 1

ctlr2: Reg<CTLR2_SPEC>

0x04 - control register 2

statr: Reg<STATR_SPEC>

0x08 - status register

datar: Reg<DATAR_SPEC>

0x0c - data register

crcr: Reg<CRCR_SPEC>

0x10 - CRCR polynomial register

rcrcr: Reg<RCRCR_SPEC>

0x14 - RX CRC register

tcrcr: Reg<TCRCR_SPEC>

0x18 - TX CRC 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.