pub struct Can {
pub regs: FDCAN1,
}Expand description
Interface to the CAN peripheral.
Fields§
§regs: FDCAN1Implementations§
Trait Implementations§
Source§impl Instance for Can
impl Instance for Can
Source§const REGISTERS: *mut RegisterBlock = {0x40006400 as *mut fdcan::RegisterBlock}
const REGISTERS: *mut RegisterBlock = {0x40006400 as *mut fdcan::RegisterBlock}
Pointer to the instance’s register block.
Source§impl Instance for Can
impl Instance for Can
const MSG_RAM: *mut RegisterBlock = {0x4000a400 as *mut fdcan::message_ram::RegisterBlock}
fn msg_ram(&self) -> &RegisterBlock
fn msg_ram_mut(&mut self) -> &mut RegisterBlock
Auto Trait Implementations§
impl Freeze for Can
impl !RefUnwindSafe for Can
impl Send for Can
impl !Sync for Can
impl Unpin for Can
impl UnwindSafe for 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