pub struct W(_);
Expand description
Register TMOUT
writer
Implementations§
§impl W
impl W
pub fn response_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, TMOUT_SPEC, u8, u8, Unsafe, 8, 0>
pub fn response_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, TMOUT_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Response timeout value. Value is specified in terms of number of card output clocks, i.e., sdhost_cclk_out.
pub fn data_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, TMOUT_SPEC, u32, u32, Unsafe, 24, 8>
pub fn data_timeout(
&mut self
) -> FieldWriterRaw<'_, u32, TMOUT_SPEC, u32, u32, Unsafe, 24, 8>
Bits 8:31 - Value for card data read timeout. This value is also used for data starvation by host timeout. The timeout counter is started only after the card clock is stopped. This value is specified in number of card output clocks, i.e. sdhost_cclk_out of the selected card. NOTE: The software timer should be used if the timeout value is in the order of 100 ms. In this case, read data timeout interrupt needs to be disabled.
Methods from Deref<Target = W<TMOUT_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<TMOUT_SPEC>> for W
impl From<W<TMOUT_SPEC>> for W
§fn from(writer: W<TMOUT_SPEC>) -> W
fn from(writer: W<TMOUT_SPEC>) -> W
Converts to this type from the input type.