#[repr(C)]pub struct RegisterBlock {
pub cr1: CR1,
pub cr2: CR2,
pub oar1: OAR1,
pub oar2: OAR2,
pub timingr: TIMINGR,
pub timeoutr: TIMEOUTR,
pub isr: ISR,
pub icr: ICR,
pub pecr: PECR,
pub rxdr: RXDR,
pub txdr: TXDR,
}Expand description
Register block
Fields§
§cr1: CR10x00 - Control register 1
cr2: CR20x04 - Control register 2
oar1: OAR10x08 - Own address register 1
oar2: OAR20x0c - Own address register 2
timingr: TIMINGR0x10 - Timing register
timeoutr: TIMEOUTR0x14 - Status register 1
isr: ISR0x18 - Interrupt and Status register
icr: ICR0x1c - Interrupt clear register
pecr: PECR0x20 - PEC register
rxdr: RXDR0x24 - Receive data register
txdr: TXDR0x28 - Transmit data register
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