Struct esp32c2_hal::pac::rtc_cntl::reset_state::W
pub struct W(_);
Expand description
Register RESET_STATE
writer
Implementations§
§impl W
impl W
pub fn reset_cause_procpu(
&mut self
) -> FieldWriterRaw<'_, u32, RESET_STATE_SPEC, u8, u8, Unsafe, 6, 0>
pub fn reset_cause_procpu(
&mut self
) -> FieldWriterRaw<'_, u32, RESET_STATE_SPEC, u8, u8, Unsafe, 6, 0>
Bits 0:5 - reset cause of PRO CPU
pub fn stat_vector_sel_procpu(
&mut self
) -> BitWriterRaw<'_, u32, RESET_STATE_SPEC, bool, BitM, 13>
pub fn stat_vector_sel_procpu(
&mut self
) -> BitWriterRaw<'_, u32, RESET_STATE_SPEC, bool, BitM, 13>
Bit 13 - PRO CPU state vector sel
pub fn ocd_halt_on_reset_procpu(
&mut self
) -> BitWriterRaw<'_, u32, RESET_STATE_SPEC, bool, BitM, 19>
pub fn ocd_halt_on_reset_procpu(
&mut self
) -> BitWriterRaw<'_, u32, RESET_STATE_SPEC, bool, BitM, 19>
Bit 19 - PROCPU OcdHaltOnReset
pub fn dreset_mask_procpu(
&mut self
) -> BitWriterRaw<'_, u32, RESET_STATE_SPEC, bool, BitM, 20>
pub fn dreset_mask_procpu(
&mut self
) -> BitWriterRaw<'_, u32, RESET_STATE_SPEC, bool, BitM, 20>
Bit 20 - Need add desc
Methods from Deref<Target = W<RESET_STATE_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<RESET_STATE_SPEC>> for W
impl From<W<RESET_STATE_SPEC>> for W
§fn from(writer: W<RESET_STATE_SPEC>) -> W
fn from(writer: W<RESET_STATE_SPEC>) -> W
Converts to this type from the input type.