pub struct W(_);
Expand description
Register SAR_READER2_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W<'_, 0>
pub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W<'_, 0>
Bits 0:7 - clock divider
sourcepub fn sar2_wait_arb_cycle(&mut self) -> SAR2_WAIT_ARB_CYCLE_W<'_, 16>
pub fn sar2_wait_arb_cycle(&mut self) -> SAR2_WAIT_ARB_CYCLE_W<'_, 16>
Bits 16:17 - wait arbit stable after sar_done
sourcepub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W<'_, 18>
pub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W<'_, 18>
Bit 18
sourcepub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W<'_, 19>
pub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W<'_, 19>
Bits 19:26
sourcepub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W<'_, 29>
pub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W<'_, 29>
Bit 29 - Invert SAR ADC2 data
sourcepub fn sar2_int_en(&mut self) -> SAR2_INT_EN_W<'_, 30>
pub fn sar2_int_en(&mut self) -> SAR2_INT_EN_W<'_, 30>
Bit 30 - enable saradc2 to send out interrupt
Methods from Deref<Target = W<SAR_READER2_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<SAR_READER2_CTRL_SPEC>> for W
impl From<W<SAR_READER2_CTRL_SPEC>> for W
sourcefn from(writer: W<SAR_READER2_CTRL_SPEC>) -> Self
fn from(writer: W<SAR_READER2_CTRL_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