pub struct Can<Instance> { /* private fields */ }Expand description
Interface to the CAN peripheral.
Implementations§
Trait Implementations§
Source§impl FilterOwner for Can<CAN1>
impl FilterOwner for Can<CAN1>
Source§const NUM_FILTER_BANKS: u8 = 28u8
const NUM_FILTER_BANKS: u8 = 28u8
The total number of filter banks available to the instance. Read more
Source§impl Instance for Can<CAN1>
impl Instance for Can<CAN1>
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.
Source§impl Instance for Can<CAN2>
impl Instance for Can<CAN2>
Source§const 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 MasterInstance for Can<CAN1>
Auto Trait Implementations§
impl<Instance> Freeze for Can<Instance>where
Instance: Freeze,
impl<Instance> RefUnwindSafe for Can<Instance>where
Instance: RefUnwindSafe,
impl<Instance> Send for Can<Instance>where
Instance: Send,
impl<Instance> Sync for Can<Instance>where
Instance: Sync,
impl<Instance> Unpin for Can<Instance>where
Instance: Unpin,
impl<Instance> UnwindSafe for Can<Instance>where
Instance: 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