pub struct W(/* private fields */);Expand description
Register SPI_CTRL2 writer
Implementations§
Source§impl W
impl W
Sourcepub fn spi_cs_delay_num(&mut self) -> SPI_CS_DELAY_NUM_W<'_>
pub fn spi_cs_delay_num(&mut self) -> SPI_CS_DELAY_NUM_W<'_>
Bits 28:31 - spi_cs signal is delayed by 80MHz clock cycles
Sourcepub fn spi_cs_delay_mode(&mut self) -> SPI_CS_DELAY_MODE_W<'_>
pub fn spi_cs_delay_mode(&mut self) -> SPI_CS_DELAY_MODE_W<'_>
Bits 26:27 - spi_cs signal is delayed by spi_clk. 0: zero; 1: half cycle; 2: one cycle
Sourcepub fn spi_mosi_delay_num(&mut self) -> SPI_MOSI_DELAY_NUM_W<'_>
pub fn spi_mosi_delay_num(&mut self) -> SPI_MOSI_DELAY_NUM_W<'_>
Bits 23:25 - MOSI signals are delayed by 80MHz clock cycles
Sourcepub fn spi_mosi_delay_mode(&mut self) -> SPI_MOSI_DELAY_MODE_W<'_>
pub fn spi_mosi_delay_mode(&mut self) -> SPI_MOSI_DELAY_MODE_W<'_>
Bits 21:22 - MOSI signals are delayed by spi_clk. 0: zero; 1: half cycle; 2: one cycle
Sourcepub fn spi_miso_delay_num(&mut self) -> SPI_MISO_DELAY_NUM_W<'_>
pub fn spi_miso_delay_num(&mut self) -> SPI_MISO_DELAY_NUM_W<'_>
Bits 18:20 - MISO signals are delayed by 80MHz clock cycles
Sourcepub fn spi_miso_delay_mode(&mut self) -> SPI_MISO_DELAY_MODE_W<'_>
pub fn spi_miso_delay_mode(&mut self) -> SPI_MISO_DELAY_MODE_W<'_>
Bits 16:17 - MISO signals are delayed by spi_clk. 0: zero; 1: half cycle; 2: one cycle
Methods from Deref<Target = W<SPI_CTRL2_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