Struct esp32::sdmmc::cardthrctl::W

source ·
pub struct W(_);
Expand description

Register CARDTHRCTL writer

Implementations§

Bit 0 - Card read threshold enable. 1’b0-Card read threshold disabled. 1’b1-Card read threshold enabled.

Bit 1 - Busy clear interrupt generation: 1’b0-Busy clear interrypt disabled. 1’b1-Busy clear interrypt enabled.

Bit 2 - Applicable when HS400 mode is enabled. 1’b0-Card write Threshold disabled. 1’b1-Card write Threshold enabled.

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.

Writes raw bits to the register.

Methods from Deref<Target = W<CARDTHRCTL_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.