Type Alias esp32c3::apb_saradc::thres1_ctrl::W

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

Register THRES1_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W<'_, THRES1_CTRL_SPEC>

Bits 0:3 - configure thres1 to adc channel

source

pub fn thres1_high(&mut self) -> THRES1_HIGH_W<'_, THRES1_CTRL_SPEC>

Bits 5:17 - saradc thres1 monitor thres

source

pub fn thres1_low(&mut self) -> THRES1_LOW_W<'_, THRES1_CTRL_SPEC>

Bits 18:30 - saradc thres1 monitor thres