Type Alias esp32c3::apb_saradc::thres_ctrl::W

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

Register THRES_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn apb_saradc_thres_all_en( &mut self ) -> APB_SARADC_THRES_ALL_EN_W<'_, THRES_CTRL_SPEC>

Bit 27 - enable thres to all channel

source

pub fn apb_saradc_thres1_en( &mut self ) -> APB_SARADC_THRES1_EN_W<'_, THRES_CTRL_SPEC>

Bit 30 - enable thres1

source

pub fn apb_saradc_thres0_en( &mut self ) -> APB_SARADC_THRES0_EN_W<'_, THRES_CTRL_SPEC>

Bit 31 - enable thres0