Struct esp32_hal::pac::apb_ctrl::apb_saradc_fsm::W
pub struct W(_);
Expand description
Register APB_SARADC_FSM
writer
Implementations§
§impl W
impl W
pub fn saradc_rstb_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 0>
pub fn saradc_rstb_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7
pub fn saradc_standby_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 8>
pub fn saradc_standby_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15
pub fn saradc_start_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 16>
pub fn saradc_start_wait(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23
pub fn saradc_sample_cycle(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 24>
pub fn saradc_sample_cycle(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_FSM_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - sample cycles
Methods from Deref<Target = W<APB_SARADC_FSM_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<APB_SARADC_FSM_SPEC>> for W
impl From<W<APB_SARADC_FSM_SPEC>> for W
§fn from(writer: W<APB_SARADC_FSM_SPEC>) -> W
fn from(writer: W<APB_SARADC_FSM_SPEC>) -> W
Converts to this type from the input type.