pub struct R(/* private fields */);
Expand description
Register SPI_CTRL
reader
Implementations§
Source§impl R
impl R
Sourcepub fn spi_wr_bit_order(&self) -> SPI_WR_BIT_ORDER_R
pub fn spi_wr_bit_order(&self) -> SPI_WR_BIT_ORDER_R
Bit 26 - In “command”, “address”, “write-data” (MOSI) phases, 1: LSB first; 0: MSB first
Sourcepub fn spi_rd_bit_order(&self) -> SPI_RD_BIT_ORDER_R
pub fn spi_rd_bit_order(&self) -> SPI_RD_BIT_ORDER_R
Bit 25 - In “read-data” (MISO) phase, 1: LSB first; 0: MSB first
Sourcepub fn spi_qio_mode(&self) -> SPI_QIO_MODE_R
pub fn spi_qio_mode(&self) -> SPI_QIO_MODE_R
Bit 24 - In the read operations, “address” phase and “read-data” phase apply 4 signals
Sourcepub fn spi_dio_mode(&self) -> SPI_DIO_MODE_R
pub fn spi_dio_mode(&self) -> SPI_DIO_MODE_R
Bit 23 - In the read operations, “address” phase and “read-data” phase apply 2 signals
Sourcepub fn spi_qout_mode(&self) -> SPI_QOUT_MODE_R
pub fn spi_qout_mode(&self) -> SPI_QOUT_MODE_R
Bit 20 - In the read operations, “read-data” phase apply 4 signals
Sourcepub fn spi_dout_mode(&self) -> SPI_DOUT_MODE_R
pub fn spi_dout_mode(&self) -> SPI_DOUT_MODE_R
Bit 14 - In the read operations, “read-data” phase apply 2 signals
Sourcepub fn spi_fastrd_mode(&self) -> SPI_FASTRD_MODE_R
pub fn spi_fastrd_mode(&self) -> SPI_FASTRD_MODE_R
Bit 13 - this bit enable the bits: spi_qio_mode, spi_dio_mode, spi_qout_mode and spi_dout_mode
Sourcepub fn two_byte_status(&self) -> TWO_BYTE_STATUS_R
pub fn two_byte_status(&self) -> TWO_BYTE_STATUS_R
Bit 22 - Enable two byte status
Bit 19 - Share bus
Sourcepub fn hold_mode(&self) -> HOLD_MODE_R
pub fn hold_mode(&self) -> HOLD_MODE_R
Bit 18 - Hold mode
Sourcepub fn enable_ahb(&self) -> ENABLE_AHB_R
pub fn enable_ahb(&self) -> ENABLE_AHB_R
Bit 17 - Enable AHB
Sourcepub fn res_and_res(&self) -> RES_AND_RES_R
pub fn res_and_res(&self) -> RES_AND_RES_R
Bit 15 - ‘Res and res’?
Methods from Deref<Target = R<SPI_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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