pub struct W(_);
Expand description
Register RST_N
writer
Implementations§
§impl W
impl W
pub fn card_reset(
&mut self
) -> FieldWriterRaw<'_, u32, RST_N_SPEC, u8, u8, Unsafe, 2, 0>
pub fn card_reset(
&mut self
) -> FieldWriterRaw<'_, u32, RST_N_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Hardware reset. 1: Active mode; 0: Reset. These bits cause the cards to enter pre-idle state, which requires them to be re-initialized. SDHOST_RST_CARD_RESET[0] should be set to 1’b0 to reset card0, SDHOST_RST_CARD_RESET[1] should be set to 1’b0 to reset card1.
Methods from Deref<Target = W<RST_N_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<RST_N_SPEC>> for W
impl From<W<RST_N_SPEC>> for W
§fn from(writer: W<RST_N_SPEC>) -> W
fn from(writer: W<RST_N_SPEC>) -> W
Converts to this type from the input type.