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 apb_saradc_thres0_channel( &mut self ) -> APB_SARADC_THRES0_CHANNEL_W<'_, THRES0_CTRL_SPEC>

Bits 0:3 - configure thres0 to adc channel

source

pub fn apb_saradc_thres0_high( &mut self ) -> APB_SARADC_THRES0_HIGH_W<'_, THRES0_CTRL_SPEC>

Bits 5:17 - saradc thres0 monitor thres

source

pub fn apb_saradc_thres0_low( &mut self ) -> APB_SARADC_THRES0_LOW_W<'_, THRES0_CTRL_SPEC>

Bits 18:30 - saradc thres0 monitor thres