pub struct W(_);Expand description
Register CTRL2 writer
Implementations
sourceimpl W
 
impl W
sourcepub fn saradc_meas_num_limit(&mut self) -> SARADC_MEAS_NUM_LIMIT_W<'_, 0>
 
pub fn saradc_meas_num_limit(&mut self) -> SARADC_MEAS_NUM_LIMIT_W<'_, 0>
Bit 0 - enable apb saradc limit the sample num
sourcepub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W<'_, 1>
 
pub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W<'_, 1>
Bits 1:8 - max conversion number
sourcepub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W<'_, 9>
 
pub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W<'_, 9>
Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not
sourcepub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W<'_, 10>
 
pub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W<'_, 10>
Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not
sourcepub fn saradc_timer_sel(&mut self) -> SARADC_TIMER_SEL_W<'_, 11>
 
pub fn saradc_timer_sel(&mut self) -> SARADC_TIMER_SEL_W<'_, 11>
Bit 11 - 1: select saradc timer 0: i2s_ws trigger
sourcepub fn saradc_timer_target(&mut self) -> SARADC_TIMER_TARGET_W<'_, 12>
 
pub fn saradc_timer_target(&mut self) -> SARADC_TIMER_TARGET_W<'_, 12>
Bits 12:23 - to set saradc timer target
sourcepub fn saradc_timer_en(&mut self) -> SARADC_TIMER_EN_W<'_, 24>
 
pub fn saradc_timer_en(&mut self) -> SARADC_TIMER_EN_W<'_, 24>
Bit 24 - to enable saradc timer trigger
Methods from Deref<Target = W<CTRL2_SPEC>>
Trait Implementations
sourceimpl From<W<CTRL2_SPEC>> for W
 
impl From<W<CTRL2_SPEC>> for W
sourcefn from(writer: W<CTRL2_SPEC>) -> Self
 
fn from(writer: W<CTRL2_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more