#[repr(C)]pub struct RegisterBlock {
pub cr: CR,
pub cfgr: CFGR,
pub txdr: TXDR,
pub rxdr: RXDR,
pub isr: ISR,
pub ier: IER,
}
Expand description
Register block
Fields§
§cr: CR
0x00 - control register
cfgr: CFGR
0x04 - configuration register
txdr: TXDR
0x08 - Tx data register
rxdr: RXDR
0x0c - Rx Data Register
isr: ISR
0x10 - Interrupt and Status Register
ier: IER
0x14 - interrupt enable 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