Type Alias esp32::sdhost::cardthrctl::W
source · pub type W = W<CARDTHRCTL_SPEC>;
Expand description
Register CARDTHRCTL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn cardrdthren(&mut self) -> CARDRDTHREN_W<'_, CARDTHRCTL_SPEC>
pub fn cardrdthren(&mut self) -> CARDRDTHREN_W<'_, CARDTHRCTL_SPEC>
Bit 0 - Card read threshold enable. 1’b0-Card read threshold disabled. 1’b1-Card read threshold enabled.
sourcepub fn cardclrinten(&mut self) -> CARDCLRINTEN_W<'_, CARDTHRCTL_SPEC>
pub fn cardclrinten(&mut self) -> CARDCLRINTEN_W<'_, CARDTHRCTL_SPEC>
Bit 1 - Busy clear interrupt generation: 1’b0-Busy clear interrypt disabled. 1’b1-Busy clear interrypt enabled.
sourcepub fn cardwrthren(&mut self) -> CARDWRTHREN_W<'_, CARDTHRCTL_SPEC>
pub fn cardwrthren(&mut self) -> CARDWRTHREN_W<'_, CARDTHRCTL_SPEC>
Bit 2 - Applicable when HS400 mode is enabled. 1’b0-Card write Threshold disabled. 1’b1-Card write Threshold enabled.
sourcepub fn cardthreshold(&mut self) -> CARDTHRESHOLD_W<'_, CARDTHRCTL_SPEC>
pub fn cardthreshold(&mut self) -> CARDTHRESHOLD_W<'_, CARDTHRCTL_SPEC>
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.