#[repr(C)]pub struct RegisterBlock {
pub cr1: CR1,
pub cr2: CR2,
pub sr: SR,
pub dr: DR,
pub crcpr: CRCPR,
pub rxcrcr: RXCRCR,
pub txcrcr: TXCRCR,
}Expand description
Register block
Fields§
§cr1: CR10x00 - control register 1
cr2: CR20x04 - control register 2
sr: SR0x08 - status register
dr: DR0x0c - data register
crcpr: CRCPR0x10 - CRC polynomial register
rxcrcr: RXCRCR0x14 - RX CRC register
txcrcr: TXCRCR0x18 - TX CRC 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