Struct stm32l4xx_hal::pac::swpmi1::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub cr: Reg<CR_SPEC>,
pub brr: Reg<BRR_SPEC>,
pub isr: Reg<ISR_SPEC>,
pub icr: Reg<ICR_SPEC>,
pub ier: Reg<IER_SPEC>,
pub rfl: Reg<RFL_SPEC>,
pub tdr: Reg<TDR_SPEC>,
pub rdr: Reg<RDR_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
cr: Reg<CR_SPEC>
0x00 - SWPMI Configuration/Control register
brr: Reg<BRR_SPEC>
0x04 - SWPMI Bitrate register
isr: Reg<ISR_SPEC>
0x0c - SWPMI Interrupt and Status register
icr: Reg<ICR_SPEC>
0x10 - SWPMI Interrupt Flag Clear register
ier: Reg<IER_SPEC>
0x14 - SWPMI Interrupt Enable register
rfl: Reg<RFL_SPEC>
0x18 - SWPMI Receive Frame Length register
tdr: Reg<TDR_SPEC>
0x1c - SWPMI Transmit data register
rdr: Reg<RDR_SPEC>
0x20 - SWPMI Receive data register
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more