Type Alias esp32c6::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 apb_saradc_thres1_channel( &mut self ) -> APB_SARADC_THRES1_CHANNEL_W<'_, THRES1_CTRL_SPEC>

Bits 0:3 - configure thres1 to adc channel

source

pub fn apb_saradc_thres1_high( &mut self ) -> APB_SARADC_THRES1_HIGH_W<'_, THRES1_CTRL_SPEC>

Bits 5:17 - saradc thres1 monitor thres

source

pub fn apb_saradc_thres1_low( &mut self ) -> APB_SARADC_THRES1_LOW_W<'_, THRES1_CTRL_SPEC>

Bits 18:30 - saradc thres1 monitor thres