Struct xmc4100::can::RegisterBlock

source ·
#[repr(C)]
pub struct RegisterBlock { pub clc: CLC, pub id: ID, pub fdr: FDR, pub list: [LIST; 8], pub mspnd: [MSPND; 8], pub msid: [MSID; 8], pub msimask: MSIMASK, pub panctr: PANCTR, pub mcr: MCR, pub mitr: MITR, /* private fields */ }
Expand description

Register block

Fields

clc: CLC

0x00 - CAN Clock Control Register

id: ID

0x08 - Module Identification Register

fdr: FDR

0x0c - CAN Fractional Divider Register

list: [LIST; 8]

0x100 - List Register

mspnd: [MSPND; 8]

0x140 - Message Pending Register

msid: [MSID; 8]

0x180 - Message Index Register

msimask: MSIMASK

0x1c0 - Message Index Mask Register

panctr: PANCTR

0x1c4 - Panel Control Register

mcr: MCR

0x1c8 - Module Control Register

mitr: MITR

0x1cc - Module Interrupt Trigger 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.

Should always be Self
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.