[][src]Struct stm32f1xx_hal::stm32::can1::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub can_mcr: CAN_MCR, pub can_msr: CAN_MSR, pub can_tsr: CAN_TSR, pub rfr: [RFR; 2], pub can_ier: CAN_IER, pub can_esr: CAN_ESR, pub can_btr: CAN_BTR, pub tx: [TX; 3], pub rx: [RX; 2], pub can_fmr: CAN_FMR, pub can_fm1r: CAN_FM1R, pub can_fs1r: CAN_FS1R, pub can_ffa1r: CAN_FFA1R, pub can_fa1r: CAN_FA1R, pub filter: [FILTER; 14], // some fields omitted }

Register block

Fields

can_mcr: CAN_MCR

0x00 - CAN_MCR

can_msr: CAN_MSR

0x04 - CAN_MSR

can_tsr: CAN_TSR

0x08 - CAN_TSR

rfr: [RFR; 2]

0x0c - CAN_RF0R

can_ier: CAN_IER

0x14 - CAN_IER

can_esr: CAN_ESR

0x18 - CAN_ESR

can_btr: CAN_BTR

0x1c - CAN_BTR

tx: [TX; 3]

0x180 - Cluster TX%s, containing CAN_TI?R, CAN_TDT?R, CAN_TDL?R, CAN_TDH?R

rx: [RX; 2]

0x1b0 - Cluster RX%s, containing CAN_RI?R, CAN_RDT?R, CAN_RDL?R, CAN_RDH?R

can_fmr: CAN_FMR

0x200 - CAN_FMR

can_fm1r: CAN_FM1R

0x204 - CAN_FM1R

can_fs1r: CAN_FS1R

0x20c - CAN_FS1R

can_ffa1r: CAN_FFA1R

0x214 - CAN_FFA1R

can_fa1r: CAN_FA1R

0x21c - CAN_FA1R

filter: [FILTER; 14]

0x240 - Cluster FILTER%s, containing FR1, FR2

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]