pub struct SPI0 { /* private fields */ }
Expand description
Serial Peripheral Interface
Implementations§
Methods from Deref<Target = RegisterBlock>§
sourcepub fn spi_txd_8(&self) -> &SPI_TXD_8
pub fn spi_txd_8(&self) -> &SPI_TXD_8
0x200 - SPI TX Data Register
TDATA [7:0]: Transmit Data in byte method
sourcepub fn spi_txd_16(&self) -> &SPI_TXD_16
pub fn spi_txd_16(&self) -> &SPI_TXD_16
0x200 - SPI TX Data Register
TDATA [15:0]: Transmit Data in half-word method
sourcepub fn spi_txd(&self) -> &SPI_TXD
pub fn spi_txd(&self) -> &SPI_TXD
0x200 - SPI TX Data Register
TDATA [31:0]: Transmit Data in word method
sourcepub fn spi_rxd_8(&self) -> &SPI_RXD_8
pub fn spi_rxd_8(&self) -> &SPI_RXD_8
0x300 - SPI RX Data Register
RDATA [7:0]: Receive Data and access in byte method
sourcepub fn spi_rxd_16(&self) -> &SPI_RXD_16
pub fn spi_rxd_16(&self) -> &SPI_RXD_16
0x300 - SPI RX Data Register
RDATA [15:0]: Receive Data and access in half-word method
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SPI0
impl RefUnwindSafe for SPI0
impl !Sync for SPI0
impl Unpin for SPI0
impl UnwindSafe for SPI0
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