pub struct W(_);
Expand description
Register SAR_READER1_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W<'_>
pub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W<'_>
Bits 0:7 - Clock divider.
sourcepub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W<'_>
pub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W<'_>
Bit 18
sourcepub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W<'_>
pub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W<'_>
Bits 19:26
sourcepub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W<'_>
pub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W<'_>
Bit 28 - Invert SAR ADC1 data.
sourcepub fn sar1_int_en(&mut self) -> SAR1_INT_EN_W<'_>
pub fn sar1_int_en(&mut self) -> SAR1_INT_EN_W<'_>
Bit 29 - Enable SAR ADC1 to send out interrupt.
Methods from Deref<Target = W<SAR_READER1_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<SAR_READER1_CTRL_SPEC>> for W
impl From<W<SAR_READER1_CTRL_SPEC>> for W
sourcefn from(writer: W<SAR_READER1_CTRL_SPEC>) -> Self
fn from(writer: W<SAR_READER1_CTRL_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