Type Alias esp32c3::apb_saradc::onetime_sample::R

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

Register ONETIME_SAMPLE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn onetime_atten(&self) -> ONETIME_ATTEN_R

Bits 23:24 - configure onetime atten

source

pub fn onetime_channel(&self) -> ONETIME_CHANNEL_R

Bits 25:28 - configure onetime channel

source

pub fn onetime_start(&self) -> ONETIME_START_R

Bit 29 - trigger adc onetime sample

source

pub fn saradc2_onetime_sample(&self) -> SARADC2_ONETIME_SAMPLE_R

Bit 30 - enable adc2 onetime sample

source

pub fn saradc1_onetime_sample(&self) -> SARADC1_ONETIME_SAMPLE_R

Bit 31 - enable adc1 onetime sample