stm32f429i_disc::can1

Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 15 fields pub mcr: MCR, pub msr: MSR, pub tsr: TSR, pub rfr: [RFR; 2], pub ier: IER, pub esr: ESR, pub btr: BTR, pub tx: [TX; 3], pub rx: [RX; 2], pub fmr: FMR, pub fm1r: FM1R, pub fs1r: FS1R, pub ffa1r: FFA1R, pub fa1r: FA1R, pub fb: [FB; 28], /* private fields */
}
Expand description

Register block

Fields§

§mcr: MCR

0x00 - master control register

§msr: MSR

0x04 - master status register

§tsr: TSR

0x08 - transmit status register

§rfr: [RFR; 2]

0x0c - receive FIFO 0 register

§ier: IER

0x14 - interrupt enable register

§esr: ESR

0x18 - interrupt enable register

§btr: BTR

0x1c - bit timing register

§tx: [TX; 3]

0x180 - CAN Transmit cluster

§rx: [RX; 2]

0x1b0 - CAN Receive cluster

§fmr: FMR

0x200 - filter master register

§fm1r: FM1R

0x204 - filter mode register

§fs1r: FS1R

0x20c - filter scale register

§ffa1r: FFA1R

0x214 - filter FIFO assignment register

§fa1r: FA1R

0x21c - filter activation register

§fb: [FB; 28]

0x240 - CAN Filter Bank cluster

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.