Struct esp32_hal::pac::sdmmc::cardthrctl::R
pub struct R(_);
Expand description
Register CARDTHRCTL
reader
Implementations§
§impl R
impl R
pub fn cardrdthren(&self) -> BitReaderRaw<bool>
pub fn cardrdthren(&self) -> BitReaderRaw<bool>
Bit 0 - Card read threshold enable. 1’b0-Card read threshold disabled. 1’b1-Card read threshold enabled.
pub fn cardclrinten(&self) -> BitReaderRaw<bool>
pub fn cardclrinten(&self) -> BitReaderRaw<bool>
Bit 1 - Busy clear interrupt generation: 1’b0-Busy clear interrypt disabled. 1’b1-Busy clear interrypt enabled.
pub fn cardwrthren(&self) -> BitReaderRaw<bool>
pub fn cardwrthren(&self) -> BitReaderRaw<bool>
Bit 2 - Applicable when HS400 mode is enabled. 1’b0-Card write Threshold disabled. 1’b1-Card write Threshold enabled.
pub fn cardthreshold(&self) -> FieldReaderRaw<u16, u16>
pub fn cardthreshold(&self) -> FieldReaderRaw<u16, u16>
Bits 16:31 - The inside FIFO size is 512,This register is applicable when SDHOST_CARDERTHREN_REG is set to 1 or SDHOST_CARDRDTHREN_REG set to 1.
Methods from Deref<Target = R<CARDTHRCTL_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<CARDTHRCTL_SPEC>> for R
impl From<R<CARDTHRCTL_SPEC>> for R
§fn from(reader: R<CARDTHRCTL_SPEC>) -> R
fn from(reader: R<CARDTHRCTL_SPEC>) -> R
Converts to this type from the input type.