Struct stm32_metapac::sdmmc::regs::Star
#[repr(transparent)]pub struct Star(pub u32);
Expand description
status register
Tuple Fields§
§0: u32
Implementations§
§impl Star
impl Star
pub fn set_ccrcfail(&mut self, val: bool)
pub fn set_ccrcfail(&mut self, val: bool)
Command response received (CRC check failed)
pub fn set_dcrcfail(&mut self, val: bool)
pub fn set_dcrcfail(&mut self, val: bool)
Data block sent/received (CRC check failed)
pub fn set_ctimeout(&mut self, val: bool)
pub fn set_ctimeout(&mut self, val: bool)
Command response timeout
pub fn set_dtimeout(&mut self, val: bool)
pub fn set_dtimeout(&mut self, val: bool)
Data timeout
pub fn set_txunderr(&mut self, val: bool)
pub fn set_txunderr(&mut self, val: bool)
Transmit FIFO underrun error
pub fn set_rxoverr(&mut self, val: bool)
pub fn set_rxoverr(&mut self, val: bool)
Received FIFO overrun error
pub fn set_cmdrend(&mut self, val: bool)
pub fn set_cmdrend(&mut self, val: bool)
Command response received (CRC check passed)
pub fn set_cmdsent(&mut self, val: bool)
pub fn set_cmdsent(&mut self, val: bool)
Command sent (no response required)
pub fn set_dataend(&mut self, val: bool)
pub fn set_dataend(&mut self, val: bool)
Data end (data counter, SDIDCOUNT, is zero)
pub fn set_stbiterr(&mut self, val: bool)
pub fn set_stbiterr(&mut self, val: bool)
Start bit not detected on all data signals in wide bus mode
pub fn set_dbckend(&mut self, val: bool)
pub fn set_dbckend(&mut self, val: bool)
Data block sent/received (CRC check passed)
pub fn set_cmdact(&mut self, val: bool)
pub fn set_cmdact(&mut self, val: bool)
Command transfer in progress
pub const fn txfifohe(&self) -> bool
pub const fn txfifohe(&self) -> bool
Transmit FIFO half empty: at least 8 words can be written into the FIFO
pub fn set_txfifohe(&mut self, val: bool)
pub fn set_txfifohe(&mut self, val: bool)
Transmit FIFO half empty: at least 8 words can be written into the FIFO
pub fn set_rxfifohf(&mut self, val: bool)
pub fn set_rxfifohf(&mut self, val: bool)
Receive FIFO half full: there are at least 8 words in the FIFO
pub fn set_txfifof(&mut self, val: bool)
pub fn set_txfifof(&mut self, val: bool)
Transmit FIFO full
pub fn set_rxfifof(&mut self, val: bool)
pub fn set_rxfifof(&mut self, val: bool)
Receive FIFO full
pub fn set_txfifoe(&mut self, val: bool)
pub fn set_txfifoe(&mut self, val: bool)
Transmit FIFO empty
pub fn set_rxfifoe(&mut self, val: bool)
pub fn set_rxfifoe(&mut self, val: bool)
Receive FIFO empty
pub fn set_txdavl(&mut self, val: bool)
pub fn set_txdavl(&mut self, val: bool)
Data available in transmit FIFO
pub fn set_rxdavl(&mut self, val: bool)
pub fn set_rxdavl(&mut self, val: bool)
Data available in receive FIFO
pub fn set_sdioit(&mut self, val: bool)
pub fn set_sdioit(&mut self, val: bool)
SDIO interrupt received