Struct Star
#[repr(transparent)]pub struct Star(pub u32);Expand description
SDMMC status register.
Tuple Fields§
§0: u32Implementations§
§impl Star
impl Star
pub const fn set_ccrcfail(&mut self, val: bool)
pub const fn set_ccrcfail(&mut self, val: bool)
Command response received (CRC check failed).
pub const fn set_dcrcfail(&mut self, val: bool)
pub const fn set_dcrcfail(&mut self, val: bool)
Data block sent/received (CRC check failed).
pub const fn set_ctimeout(&mut self, val: bool)
pub const fn set_ctimeout(&mut self, val: bool)
Command response timeout.
pub const fn set_dtimeout(&mut self, val: bool)
pub const fn set_dtimeout(&mut self, val: bool)
Data timeout.
pub const fn txunderr(&self) -> bool
pub const fn txunderr(&self) -> bool
Transmit FIFO underrun error (masked by hardware when IDMA is enabled).
pub const fn set_txunderr(&mut self, val: bool)
pub const fn set_txunderr(&mut self, val: bool)
Transmit FIFO underrun error (masked by hardware when IDMA is enabled).
pub const fn rxoverr(&self) -> bool
pub const fn rxoverr(&self) -> bool
Received FIFO overrun error (masked by hardware when IDMA is enabled).
pub const fn set_rxoverr(&mut self, val: bool)
pub const fn set_rxoverr(&mut self, val: bool)
Received FIFO overrun error (masked by hardware when IDMA is enabled).
pub const fn set_cmdrend(&mut self, val: bool)
pub const fn set_cmdrend(&mut self, val: bool)
Command response received (CRC check passed, or no CRC).
pub const fn set_cmdsent(&mut self, val: bool)
pub const fn set_cmdsent(&mut self, val: bool)
Command sent (no response required).
pub const fn set_dataend(&mut self, val: bool)
pub const fn set_dataend(&mut self, val: bool)
Data transfer ended correctly.
pub const fn set_dbckend(&mut self, val: bool)
pub const fn set_dbckend(&mut self, val: bool)
Data block sent/received.
pub const fn set_dabort(&mut self, val: bool)
pub const fn set_dabort(&mut self, val: bool)
Data transfer aborted by CMD12.
pub const fn set_dpsmact(&mut self, val: bool)
pub const fn set_dpsmact(&mut self, val: bool)
Data path state machine active, i.e. not in Idle state.
pub const fn set_cpsmact(&mut self, val: bool)
pub const fn set_cpsmact(&mut self, val: bool)
Command path state machine active, i.e. not in Idle state.
pub const fn set_txfifohe(&mut self, val: bool)
pub const fn set_txfifohe(&mut self, val: bool)
Transmit FIFO half empty.
pub const fn set_rxfifohf(&mut self, val: bool)
pub const fn set_rxfifohf(&mut self, val: bool)
Receive FIFO half full.
pub const fn set_txfifof(&mut self, val: bool)
pub const fn set_txfifof(&mut self, val: bool)
Transmit FIFO full.
pub const fn set_rxfifof(&mut self, val: bool)
pub const fn set_rxfifof(&mut self, val: bool)
Receive FIFO full.
pub const fn set_txfifoe(&mut self, val: bool)
pub const fn set_txfifoe(&mut self, val: bool)
Transmit FIFO empty.
pub const fn set_rxfifoe(&mut self, val: bool)
pub const fn set_rxfifoe(&mut self, val: bool)
Receive FIFO empty.
pub const fn busyd0(&self) -> bool
pub const fn busyd0(&self) -> bool
Inverted value of SDMMC_D0 line (Busy), sampled at the end of a CMD response and a second time 2 SDMMC_CK cycles after the CMD response.
pub const fn set_busyd0(&mut self, val: bool)
pub const fn set_busyd0(&mut self, val: bool)
Inverted value of SDMMC_D0 line (Busy), sampled at the end of a CMD response and a second time 2 SDMMC_CK cycles after the CMD response.
pub const fn set_busyd0end(&mut self, val: bool)
pub const fn set_busyd0end(&mut self, val: bool)
end of SDMMC_D0 Busy following a CMD response detected.
pub const fn set_sdioit(&mut self, val: bool)
pub const fn set_sdioit(&mut self, val: bool)
SDIO interrupt received.
pub const fn set_ackfail(&mut self, val: bool)
pub const fn set_ackfail(&mut self, val: bool)
Boot acknowledgment received (boot acknowledgment check fail).
pub const fn acktimeout(&self) -> bool
pub const fn acktimeout(&self) -> bool
Boot acknowledgment timeout.
pub const fn set_acktimeout(&mut self, val: bool)
pub const fn set_acktimeout(&mut self, val: bool)
Boot acknowledgment timeout.
pub const fn set_vswend(&mut self, val: bool)
pub const fn set_vswend(&mut self, val: bool)
Voltage switch critical timing section completion.
pub const fn set_ckstop(&mut self, val: bool)
pub const fn set_ckstop(&mut self, val: bool)
SDMMC_CK stopped in Voltage switch procedure.
pub const fn set_idmate(&mut self, val: bool)
pub const fn set_idmate(&mut self, val: bool)
IDMA transfer error.
pub const fn set_idmabtc(&mut self, val: bool)
pub const fn set_idmabtc(&mut self, val: bool)
IDMA buffer transfer complete.