Struct stm32f4xx_hal::can::Can
source · [−]pub struct Can<CAN, PINS> { /* private fields */ }
Expand description
Interface to the CAN peripheral.
Implementations
Trait Implementations
sourceimpl<PINS> FilterOwner for Can<CAN1, PINS>
impl<PINS> FilterOwner for Can<CAN1, PINS>
sourceconst NUM_FILTER_BANKS: u8 = 28u8
const NUM_FILTER_BANKS: u8 = 28u8
The total number of filter banks available to the instance. Read more
sourceimpl<PINS> Instance for Can<CAN1, PINS>
impl<PINS> Instance for Can<CAN1, PINS>
sourceconst REGISTERS: *mut RegisterBlock = {0x40006400 as *mut bxcan::RegisterBlock}
const REGISTERS: *mut RegisterBlock = {0x40006400 as *mut bxcan::RegisterBlock}
Pointer to the instance’s register block.
sourceimpl<PINS> Instance for Can<CAN2, PINS>
impl<PINS> Instance for Can<CAN2, PINS>
sourceconst REGISTERS: *mut RegisterBlock = {0x40006800 as *mut bxcan::RegisterBlock}
const REGISTERS: *mut RegisterBlock = {0x40006800 as *mut bxcan::RegisterBlock}
Pointer to the instance’s register block.
impl<PINS> MasterInstance for Can<CAN1, PINS>
Auto Trait Implementations
impl<CAN, PINS> RefUnwindSafe for Can<CAN, PINS> where
CAN: RefUnwindSafe,
PINS: RefUnwindSafe,
impl<CAN, PINS> Send for Can<CAN, PINS> where
CAN: Send,
PINS: Send,
impl<CAN, PINS> Sync for Can<CAN, PINS> where
CAN: Sync,
PINS: Sync,
impl<CAN, PINS> Unpin for Can<CAN, PINS> where
CAN: Unpin,
PINS: Unpin,
impl<CAN, PINS> UnwindSafe for Can<CAN, PINS> where
CAN: UnwindSafe,
PINS: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more