Type Alias esp32c3::apb_saradc::thres0_ctrl::R

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

Register THRES0_CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn thres0_channel(&self) -> THRES0_CHANNEL_R

Bits 0:3 - configure thres0 to adc channel

source

pub fn thres0_high(&self) -> THRES0_HIGH_R

Bits 5:17 - saradc thres0 monitor thres

source

pub fn thres0_low(&self) -> THRES0_LOW_R

Bits 18:30 - saradc thres0 monitor thres