Type Alias esp32c3::apb_saradc::thres0_ctrl::W

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

Register THRES0_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W<'_, THRES0_CTRL_SPEC>

Bits 0:3 - configure thres0 to adc channel

source

pub fn thres0_high(&mut self) -> THRES0_HIGH_W<'_, THRES0_CTRL_SPEC>

Bits 5:17 - saradc thres0 monitor thres

source

pub fn thres0_low(&mut self) -> THRES0_LOW_W<'_, THRES0_CTRL_SPEC>

Bits 18:30 - saradc thres0 monitor thres