Type Alias esp32c3::apb_saradc::onetime_sample::W

source ·
pub type W = W<ONETIME_SAMPLE_SPEC>;
Expand description

Register ONETIME_SAMPLE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn onetime_atten(&mut self) -> ONETIME_ATTEN_W<'_, ONETIME_SAMPLE_SPEC>

Bits 23:24 - configure onetime atten

source

pub fn onetime_channel(&mut self) -> ONETIME_CHANNEL_W<'_, ONETIME_SAMPLE_SPEC>

Bits 25:28 - configure onetime channel

source

pub fn onetime_start(&mut self) -> ONETIME_START_W<'_, ONETIME_SAMPLE_SPEC>

Bit 29 - trigger adc onetime sample

source

pub fn saradc2_onetime_sample( &mut self ) -> SARADC2_ONETIME_SAMPLE_W<'_, ONETIME_SAMPLE_SPEC>

Bit 30 - enable adc2 onetime sample

source

pub fn saradc1_onetime_sample( &mut self ) -> SARADC1_ONETIME_SAMPLE_W<'_, ONETIME_SAMPLE_SPEC>

Bit 31 - enable adc1 onetime sample