pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn spi_enhctl(&self) -> &SpiEnhctl
pub const fn spi_enhctl(&self) -> &SpiEnhctl
0x0c - Enhanced control register (Dual/Quad/Octal)
Sourcepub const fn spi_rainsr(&self) -> &SpiRainsr
pub const fn spi_rainsr(&self) -> &SpiRainsr
0xbc - Raw interrupt status register
Sourcepub const fn spi_wsr(&self) -> &SpiWsr
pub const fn spi_wsr(&self) -> &SpiWsr
0xe4 - Status register. Bit layout matches the HiSilicon SSI v151 silicon (vendor hal_spi_v151_regs_def.h spi_wsr_data), NOT the textbook DesignWare SR: the FIFO/busy flags are spread out, not packed in bits 0..6. Verified on WS63 silicon 2026-06-14 (idle reads 0x1800 = TXFNF | TXFE).
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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