#[repr(C)]
pub struct RegisterBlock { pub cr: Reg<CR_SPEC>, pub brr: Reg<BRR_SPEC>, pub isr: Reg<ISR_SPEC>, pub icr: Reg<ICR_SPEC>, pub ier: Reg<IER_SPEC>, pub rfl: Reg<RFL_SPEC>, pub tdr: Reg<TDR_SPEC>, pub rdr: Reg<RDR_SPEC>, pub or: Reg<OR_SPEC>, /* private fields */ }
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - SWPMI Configuration/Control register

brr: Reg<BRR_SPEC>

0x04 - SWPMI Bitrate register

isr: Reg<ISR_SPEC>

0x0c - SWPMI Interrupt and Status register

icr: Reg<ICR_SPEC>

0x10 - SWPMI Interrupt Flag Clear register

ier: Reg<IER_SPEC>

0x14 - SWPMI Interrupt Enable register

rfl: Reg<RFL_SPEC>

0x18 - SWPMI Receive Frame Length register

tdr: Reg<TDR_SPEC>

0x1c - SWPMI Transmit data register

rdr: Reg<RDR_SPEC>

0x20 - SWPMI Receive data register

or: Reg<OR_SPEC>

0x24 - SWPMI Option 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.