pub struct W(_);Expand description
Register SLAVE writer
Implementations
sourceimpl W
impl W
sourcepub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W<'_, 0>
pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W<'_, 0>
Bit 0 - The interrupt raw bit for the completion of read-buffer operation in the slave mode.
sourcepub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W<'_, 1>
pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W<'_, 1>
Bit 1 - The interrupt raw bit for the completion of write-buffer operation in the slave mode.
sourcepub fn slv_rd_sta_done(&mut self) -> SLV_RD_STA_DONE_W<'_, 2>
pub fn slv_rd_sta_done(&mut self) -> SLV_RD_STA_DONE_W<'_, 2>
Bit 2 - The interrupt raw bit for the completion of read-status operation in the slave mode.
sourcepub fn slv_wr_sta_done(&mut self) -> SLV_WR_STA_DONE_W<'_, 3>
pub fn slv_wr_sta_done(&mut self) -> SLV_WR_STA_DONE_W<'_, 3>
Bit 3 - The interrupt raw bit for the completion of write-status operation in the slave mode.
sourcepub fn trans_done(&mut self) -> TRANS_DONE_W<'_, 4>
pub fn trans_done(&mut self) -> TRANS_DONE_W<'_, 4>
Bit 4 - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode.
sourcepub fn int_en(&mut self) -> INT_EN_W<'_, 5>
pub fn int_en(&mut self) -> INT_EN_W<'_, 5>
Bits 5:9 - Interrupt enable bits for the below 5 sources
sourcepub fn cs_i_mode(&mut self) -> CS_I_MODE_W<'_, 10>
pub fn cs_i_mode(&mut self) -> CS_I_MODE_W<'_, 10>
Bits 10:11 - In the slave mode this bits used to synchronize the input spi cs signal and eliminate spi cs jitter.
sourcepub fn slv_cmd_define(&mut self) -> SLV_CMD_DEFINE_W<'_, 27>
pub fn slv_cmd_define(&mut self) -> SLV_CMD_DEFINE_W<'_, 27>
Bit 27 - 1: slave mode commands are defined in SPI_SLAVE3. 0: slave mode commands are fixed as: 1: write-status 2: write-buffer and 3: read-buffer.
sourcepub fn slv_wr_rd_sta_en(&mut self) -> SLV_WR_RD_STA_EN_W<'_, 28>
pub fn slv_wr_rd_sta_en(&mut self) -> SLV_WR_RD_STA_EN_W<'_, 28>
Bit 28 - write and read status enable in the slave mode
sourcepub fn slv_wr_rd_buf_en(&mut self) -> SLV_WR_RD_BUF_EN_W<'_, 29>
pub fn slv_wr_rd_buf_en(&mut self) -> SLV_WR_RD_BUF_EN_W<'_, 29>
Bit 29 - write and read buffer enable in the slave mode
sourcepub fn sync_reset(&mut self) -> SYNC_RESET_W<'_, 31>
pub fn sync_reset(&mut self) -> SYNC_RESET_W<'_, 31>
Bit 31 - Software reset enable, reset the spi clock line cs line and data lines.
Methods from Deref<Target = W<SLAVE_SPEC>>
Trait Implementations
sourceimpl From<W<SLAVE_SPEC>> for W
impl From<W<SLAVE_SPEC>> for W
sourcefn from(writer: W<SLAVE_SPEC>) -> Self
fn from(writer: W<SLAVE_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more