Type Alias esp32c3::spi2::dma_int_raw::R
source · pub type R = R<DMA_INT_RAW_SPEC>;
Expand description
Register DMA_INT_RAW
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn dma_infifo_full_err(&self) -> DMA_INFIFO_FULL_ERR_R
pub fn dma_infifo_full_err(&self) -> DMA_INFIFO_FULL_ERR_R
Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others.
sourcepub fn dma_outfifo_empty_err(&self) -> DMA_OUTFIFO_EMPTY_ERR_R
pub fn dma_outfifo_empty_err(&self) -> DMA_OUTFIFO_EMPTY_ERR_R
Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others.
sourcepub fn slv_ex_qpi(&self) -> SLV_EX_QPI_R
pub fn slv_ex_qpi(&self) -> SLV_EX_QPI_R
Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others.
sourcepub fn slv_en_qpi(&self) -> SLV_EN_QPI_R
pub fn slv_en_qpi(&self) -> SLV_EN_QPI_R
Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others.
sourcepub fn slv_cmd7(&self) -> SLV_CMD7_R
pub fn slv_cmd7(&self) -> SLV_CMD7_R
Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others.
sourcepub fn slv_cmd8(&self) -> SLV_CMD8_R
pub fn slv_cmd8(&self) -> SLV_CMD8_R
Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others.
sourcepub fn slv_cmd9(&self) -> SLV_CMD9_R
pub fn slv_cmd9(&self) -> SLV_CMD9_R
Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others.
sourcepub fn slv_cmda(&self) -> SLV_CMDA_R
pub fn slv_cmda(&self) -> SLV_CMDA_R
Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others.
sourcepub fn slv_rd_dma_done(&self) -> SLV_RD_DMA_DONE_R
pub fn slv_rd_dma_done(&self) -> SLV_RD_DMA_DONE_R
Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others.
sourcepub fn slv_wr_dma_done(&self) -> SLV_WR_DMA_DONE_R
pub fn slv_wr_dma_done(&self) -> SLV_WR_DMA_DONE_R
Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others.
sourcepub fn slv_rd_buf_done(&self) -> SLV_RD_BUF_DONE_R
pub fn slv_rd_buf_done(&self) -> SLV_RD_BUF_DONE_R
Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others.
sourcepub fn slv_wr_buf_done(&self) -> SLV_WR_BUF_DONE_R
pub fn slv_wr_buf_done(&self) -> SLV_WR_BUF_DONE_R
Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others.
sourcepub fn trans_done(&self) -> TRANS_DONE_R
pub fn trans_done(&self) -> TRANS_DONE_R
Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others.
sourcepub fn dma_seg_trans_done(&self) -> DMA_SEG_TRANS_DONE_R
pub fn dma_seg_trans_done(&self) -> DMA_SEG_TRANS_DONE_R
Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred.
sourcepub fn seg_magic_err(&self) -> SEG_MAGIC_ERR_R
pub fn seg_magic_err(&self) -> SEG_MAGIC_ERR_R
Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others.
sourcepub fn slv_buf_addr_err(&self) -> SLV_BUF_ADDR_ERR_R
pub fn slv_buf_addr_err(&self) -> SLV_BUF_ADDR_ERR_R
Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others.
sourcepub fn slv_cmd_err(&self) -> SLV_CMD_ERR_R
pub fn slv_cmd_err(&self) -> SLV_CMD_ERR_R
Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others.
sourcepub fn mst_rx_afifo_wfull_err(&self) -> MST_RX_AFIFO_WFULL_ERR_R
pub fn mst_rx_afifo_wfull_err(&self) -> MST_RX_AFIFO_WFULL_ERR_R
Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others.
sourcepub fn mst_tx_afifo_rempty_err(&self) -> MST_TX_AFIFO_REMPTY_ERR_R
pub fn mst_tx_afifo_rempty_err(&self) -> MST_TX_AFIFO_REMPTY_ERR_R
Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others.