pub struct Can<CAN, Pins> { /* private fields */ }Expand description
Interface to the CAN peripheral.
Implementations§
Trait Implementations§
Source§impl<Pins> FilterOwner for Can<CAN1, Pins>
impl<Pins> FilterOwner for Can<CAN1, Pins>
Source§const NUM_FILTER_BANKS: u8 = 14u8
const NUM_FILTER_BANKS: u8 = 14u8
The total number of filter banks available to the instance. Read more
Source§impl<Pins> Instance for Can<CAN1, Pins>
impl<Pins> Instance for Can<CAN1, Pins>
Source§const REGISTERS: *mut RegisterBlock = {0x40006400 as *mut bxcan::RegisterBlock}
const REGISTERS: *mut RegisterBlock = {0x40006400 as *mut bxcan::RegisterBlock}
Pointer to the instance’s register block.
impl<Pins> MasterInstance for Can<CAN1, Pins>
Auto Trait Implementations§
impl<CAN, Pins> Freeze for Can<CAN, Pins>
impl<CAN, Pins> RefUnwindSafe for Can<CAN, Pins>where
CAN: RefUnwindSafe,
Pins: RefUnwindSafe,
impl<CAN, Pins> Send for Can<CAN, Pins>
impl<CAN, Pins> Sync for Can<CAN, Pins>
impl<CAN, Pins> Unpin for Can<CAN, Pins>
impl<CAN, Pins> UnwindSafe for Can<CAN, Pins>where
CAN: UnwindSafe,
Pins: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more