#[repr(C)]pub struct RegisterBlock {}
Expand description
Register block
Fields§
§mcr: MCR
0x00 - master control register
msr: MSR
0x04 - master status register
tsr: TSR
0x08 - transmit status register
rfr: [RFR; 2]
0x0c - receive FIFO 0 register
ier: IER
0x14 - interrupt enable register
esr: ESR
0x18 - interrupt enable register
btr: BTR
0x1c - bit timing register
tx: [TX; 3]
0x180 - CAN Transmit cluster
rx: [RX; 2]
0x1b0 - CAN Receive cluster
fmr: FMR
0x200 - filter master register
fm1r: FM1R
0x204 - filter mode register
fs1r: FS1R
0x20c - filter scale register
ffa1r: FFA1R
0x214 - filter FIFO assignment register
fa1r: FA1R
0x21c - filter activation register
fb: [FB; 28]
0x240 - CAN Filter Bank cluster
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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