pub struct RegisterBlock {
pub data: DATA,
pub ctrl: CTRL,
pub int_fl: INT_FL,
pub mode: MODE,
pub brg: BRG,
pub dma: DMA,
pub i2s_ctrl: I2S_CTRL,
/* private fields */
}Expand description
Register block
Fields§
§data: DATA0x00 - SPI 16-bit Data Access.
ctrl: CTRL0x04 - SPI Control.
int_fl: INT_FL0x08 - SPI Interrupt Flag.
mode: MODE0x0c - SPI Mode.
brg: BRG0x14 - Baud Rate Reload Value.
dma: DMA0x18 - SPI DMA.
i2s_ctrl: I2S_CTRL0x1c - I2S Control.
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