Struct stm32_hal2::pac::sai1::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub gcr: Reg<GCR_SPEC>,
pub ch: [CH; 2],
pub pdmcr: Reg<PDMCR_SPEC>,
pub pdmdly: Reg<PDMDLY_SPEC>,
}
Expand description
Register block
Fields§
§gcr: Reg<GCR_SPEC>
0x00 - Global configuration register
ch: [CH; 2]
0x04..0x44 - Cluster CH%s, containing ?CR1, ?CR2, ?FRCR, ?SLOTR, ?IM, ?SR, ?CLRFR, ?DR
pdmcr: Reg<PDMCR_SPEC>
0x44 - PDM control register
pdmdly: Reg<PDMDLY_SPEC>
0x48 - PDM delay register
Implementations§
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