pub struct W(/* private fields */);
Expand description
Register SPI_CTRL
writer
Implementations§
Source§impl W
impl W
Sourcepub fn spi_wr_bit_order(&mut self) -> SPI_WR_BIT_ORDER_W<'_>
pub fn spi_wr_bit_order(&mut self) -> SPI_WR_BIT_ORDER_W<'_>
Bit 26 - In “command”, “address”, “write-data” (MOSI) phases, 1: LSB first; 0: MSB first
Sourcepub fn spi_rd_bit_order(&mut self) -> SPI_RD_BIT_ORDER_W<'_>
pub fn spi_rd_bit_order(&mut self) -> SPI_RD_BIT_ORDER_W<'_>
Bit 25 - In “read-data” (MISO) phase, 1: LSB first; 0: MSB first
Sourcepub fn spi_qio_mode(&mut self) -> SPI_QIO_MODE_W<'_>
pub fn spi_qio_mode(&mut self) -> SPI_QIO_MODE_W<'_>
Bit 24 - In the read operations, “address” phase and “read-data” phase apply 4 signals
Sourcepub fn spi_dio_mode(&mut self) -> SPI_DIO_MODE_W<'_>
pub fn spi_dio_mode(&mut self) -> SPI_DIO_MODE_W<'_>
Bit 23 - In the read operations, “address” phase and “read-data” phase apply 2 signals
Sourcepub fn spi_qout_mode(&mut self) -> SPI_QOUT_MODE_W<'_>
pub fn spi_qout_mode(&mut self) -> SPI_QOUT_MODE_W<'_>
Bit 20 - In the read operations, “read-data” phase apply 4 signals
Sourcepub fn spi_dout_mode(&mut self) -> SPI_DOUT_MODE_W<'_>
pub fn spi_dout_mode(&mut self) -> SPI_DOUT_MODE_W<'_>
Bit 14 - In the read operations, “read-data” phase apply 2 signals
Sourcepub fn spi_fastrd_mode(&mut self) -> SPI_FASTRD_MODE_W<'_>
pub fn spi_fastrd_mode(&mut self) -> SPI_FASTRD_MODE_W<'_>
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(&mut self) -> TWO_BYTE_STATUS_W<'_>
pub fn two_byte_status(&mut self) -> TWO_BYTE_STATUS_W<'_>
Bit 22 - Enable two byte status
Bit 19 - Share bus
Sourcepub fn hold_mode(&mut self) -> HOLD_MODE_W<'_>
pub fn hold_mode(&mut self) -> HOLD_MODE_W<'_>
Bit 18 - Hold mode
Sourcepub fn enable_ahb(&mut self) -> ENABLE_AHB_W<'_>
pub fn enable_ahb(&mut self) -> ENABLE_AHB_W<'_>
Bit 17 - Enable AHB
Sourcepub fn res_and_res(&mut self) -> RES_AND_RES_W<'_>
pub fn res_and_res(&mut self) -> RES_AND_RES_W<'_>
Bit 15 - ‘Res and res’?
Methods from Deref<Target = W<SPI_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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