Type Alias 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