pub struct R(_);
Expand description
Register SLAVE
reader
Implementations
sourceimpl R
impl R
sourcepub fn trans_done(&self) -> TRANS_DONE_R
pub fn trans_done(&self) -> TRANS_DONE_R
Bit 4 - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode. Can not be changed by CONF_buf.
sourcepub fn int_rd_buf_done_en(&self) -> INT_RD_BUF_DONE_EN_R
pub fn int_rd_buf_done_en(&self) -> INT_RD_BUF_DONE_EN_R
Bit 5 - SPI_SLV_RD_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
sourcepub fn int_wr_buf_done_en(&self) -> INT_WR_BUF_DONE_EN_R
pub fn int_wr_buf_done_en(&self) -> INT_WR_BUF_DONE_EN_R
Bit 6 - SPI_SLV_WR_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
sourcepub fn int_rd_dma_done_en(&self) -> INT_RD_DMA_DONE_EN_R
pub fn int_rd_dma_done_en(&self) -> INT_RD_DMA_DONE_EN_R
Bit 7 - SPI_SLV_RD_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
sourcepub fn int_wr_dma_done_en(&self) -> INT_WR_DMA_DONE_EN_R
pub fn int_wr_dma_done_en(&self) -> INT_WR_DMA_DONE_EN_R
Bit 8 - SPI_SLV_WR_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
sourcepub fn int_trans_done_en(&self) -> INT_TRANS_DONE_EN_R
pub fn int_trans_done_en(&self) -> INT_TRANS_DONE_EN_R
Bit 9 - SPI_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
sourcepub fn int_dma_seg_trans_en(&self) -> INT_DMA_SEG_TRANS_EN_R
pub fn int_dma_seg_trans_en(&self) -> INT_DMA_SEG_TRANS_EN_R
Bit 10 - SPI_DMA_SEG_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state.
sourcepub fn seg_magic_err_int_en(&self) -> SEG_MAGIC_ERR_INT_EN_R
pub fn seg_magic_err_int_en(&self) -> SEG_MAGIC_ERR_INT_EN_R
Bit 11 - 1: Enable seg magic value error interrupt. 0: Others. Can be configured in CONF state.
sourcepub fn trans_cnt(&self) -> TRANS_CNT_R
pub fn trans_cnt(&self) -> TRANS_CNT_R
Bits 23:26 - The operations counter in both the master mode and the slave mode.
sourcepub fn trans_done_auto_clr_en(&self) -> TRANS_DONE_AUTO_CLR_EN_R
pub fn trans_done_auto_clr_en(&self) -> TRANS_DONE_AUTO_CLR_EN_R
Bit 29 - SPI_TRANS_DONE auto clear enable, clear it 3 apb cycles after the pos edge of SPI_TRANS_DONE. 0:disable. 1: enable. Can be configured in CONF state.
sourcepub fn soft_reset(&self) -> SOFT_RESET_R
pub fn soft_reset(&self) -> SOFT_RESET_R
Bit 31 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state.
Methods from Deref<Target = R<SLAVE_SPEC>>
Trait Implementations
sourceimpl From<R<SLAVE_SPEC>> for R
impl From<R<SLAVE_SPEC>> for R
sourcefn from(reader: R<SLAVE_SPEC>) -> Self
fn from(reader: R<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