#[repr(C)]pub struct RegisterBlock {
pub cr: CR,
pub brr: BRR,
pub isr: ISR,
pub icr: ICR,
pub ier: IER,
pub rfl: RFL,
pub tdr: TDR,
pub rdr: RDR,
/* private fields */
}Expand description
Register block
Fields§
§cr: CR0x00 - SWPMI Configuration/Control register
brr: BRR0x04 - SWPMI Bitrate register
isr: ISR0x0c - SWPMI Interrupt and Status register
icr: ICR0x10 - SWPMI Interrupt Flag Clear register
ier: IER0x14 - SWPMI Interrupt Enable register
rfl: RFL0x18 - SWPMI Receive Frame Length register
tdr: TDR0x1c - SWPMI Transmit data register
rdr: RDR0x20 - SWPMI Receive 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