pub struct Can<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<CAN> Freeze for Can<CAN>
impl<CAN> RefUnwindSafe for Can<CAN>where
CAN: RefUnwindSafe,
<CAN as CanCommon>::Tx: RefUnwindSafe,
<CAN as CanCommon>::Rx: RefUnwindSafe,
impl<CAN> Send for Can<CAN>
impl<CAN> Sync for Can<CAN>
impl<CAN> Unpin for Can<CAN>
impl<CAN> UnwindSafe for Can<CAN>
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