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<'_>
pub fn saradc_meas_num_limit(&mut self) -> SARADC_MEAS_NUM_LIMIT_W<'_>
Bit 0 - enable max meas num
sourcepub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W<'_>
pub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W<'_>
Bits 1:8 - max conversion number
sourcepub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W<'_>
pub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W<'_>
Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not
sourcepub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W<'_>
pub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W<'_>
Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not
sourcepub fn saradc_timer_target(&mut self) -> SARADC_TIMER_TARGET_W<'_>
pub fn saradc_timer_target(&mut self) -> SARADC_TIMER_TARGET_W<'_>
Bits 12:23 - to set saradc timer target
sourcepub fn saradc_timer_en(&mut self) -> SARADC_TIMER_EN_W<'_>
pub fn saradc_timer_en(&mut self) -> SARADC_TIMER_EN_W<'_>
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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