pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn spi_samp_dl(&self) -> &SPI_SAMP_DL
pub const fn spi_samp_dl(&self) -> &SPI_SAMP_DL
0x28 - SPI Sample Delay Control Register
Sourcepub const fn spi_ba_ccr(&self) -> &SPI_BA_CCR
pub const fn spi_ba_ccr(&self) -> &SPI_BA_CCR
0x44 - SPI Bit-Aligned Clock Configuration Register
Sourcepub const fn spi_tbr(&self) -> &SPI_TBR
pub const fn spi_tbr(&self) -> &SPI_TBR
0x48 - SPI TX Bit Register
VTB [31:0]: The Value of the Transmit Bits
Sourcepub const fn spi_rbr(&self) -> &SPI_RBR
pub const fn spi_rbr(&self) -> &SPI_RBR
0x4c - SPI RX Bit Register
VRB [31:0]: The Value of the Receive Bits
Sourcepub const fn spi_ndma_mode_ctl(&self) -> &SPI_NDMA_MODE_CTL
pub const fn spi_ndma_mode_ctl(&self) -> &SPI_NDMA_MODE_CTL
0x88 - SPI Normal DMA Mode Control Register
Sourcepub const fn spi_txd_8(&self) -> &SPI_TXD_8
pub const fn spi_txd_8(&self) -> &SPI_TXD_8
0x200 - SPI TX Data Register
TDATA [7:0]: Transmit Data in byte method
Sourcepub const fn spi_txd_16(&self) -> &SPI_TXD_16
pub const fn spi_txd_16(&self) -> &SPI_TXD_16
0x200 - SPI TX Data Register
TDATA [15:0]: Transmit Data in half-word method
Sourcepub const fn spi_txd(&self) -> &SPI_TXD
pub const fn spi_txd(&self) -> &SPI_TXD
0x200 - SPI TX Data Register
TDATA [31:0]: Transmit Data in word method
Sourcepub const fn spi_rxd_8(&self) -> &SPI_RXD_8
pub const fn spi_rxd_8(&self) -> &SPI_RXD_8
0x300 - SPI RX Data Register
RDATA [7:0]: Receive Data and access in byte method
Sourcepub const fn spi_rxd_16(&self) -> &SPI_RXD_16
pub const fn spi_rxd_16(&self) -> &SPI_RXD_16
0x300 - SPI RX Data Register
RDATA [15:0]: Receive Data and access in half-word method
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