Type Alias esp32h2::apb_saradc::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn apb_saradc_tsens_int_ena( &mut self ) -> APB_SARADC_TSENS_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 25 - tsens low interrupt enable

source

pub fn apb_saradc_thres1_low_int_ena( &mut self ) -> APB_SARADC_THRES1_LOW_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 26 - saradc thres1 low interrupt enable

source

pub fn apb_saradc_thres0_low_int_ena( &mut self ) -> APB_SARADC_THRES0_LOW_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 27 - saradc thres0 low interrupt enable

source

pub fn apb_saradc_thres1_high_int_ena( &mut self ) -> APB_SARADC_THRES1_HIGH_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 28 - saradc thres1 high interrupt enable

source

pub fn apb_saradc_thres0_high_int_ena( &mut self ) -> APB_SARADC_THRES0_HIGH_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 29 - saradc thres0 high interrupt enable

source

pub fn apb_saradc2_done_int_ena( &mut self ) -> APB_SARADC2_DONE_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 30 - saradc2 done interrupt enable

source

pub fn apb_saradc1_done_int_ena( &mut self ) -> APB_SARADC1_DONE_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 31 - saradc1 done interrupt enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual