#[repr(C)]
pub struct RegisterBlock { pub mcr: Reg<MCR_SPEC>, pub msr: Reg<MSR_SPEC>, pub tsr: Reg<TSR_SPEC>, pub rfr: [Reg<RFR_SPEC>; 2], pub ier: Reg<IER_SPEC>, pub esr: Reg<ESR_SPEC>, pub btr: Reg<BTR_SPEC>, pub tx: [TX; 3], pub rx: [RX; 2], /* private fields */ }
Expand description

Register block

Fields

mcr: Reg<MCR_SPEC>

0x00 - CAN_MCR

msr: Reg<MSR_SPEC>

0x04 - CAN_MSR

tsr: Reg<TSR_SPEC>

0x08 - CAN_TSR

rfr: [Reg<RFR_SPEC>; 2]

0x0c..0x14 - CAN_RF%sR

ier: Reg<IER_SPEC>

0x14 - CAN_IER

esr: Reg<ESR_SPEC>

0x18 - CAN_ESR

btr: Reg<BTR_SPEC>

0x1c - CAN_BTR

tx: [TX; 3]

0x180..0x1b0 - CAN Transmit cluster

rx: [RX; 2]

0x1b0..0x1d0 - CAN Receive cluster

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.