Struct esp32_hal::pac::apb_ctrl::apb_saradc_sar2_patt_tab1::W
pub struct W(_);
Expand description
Register APB_SARADC_SAR2_PATT_TAB1
writer
Implementations§
§impl W
impl W
pub fn saradc_sar2_patt_tab1(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_SAR2_PATT_TAB1_SPEC, u32, u32, Unsafe, 32, 0>
pub fn saradc_sar2_patt_tab1(
&mut self
) -> FieldWriterRaw<'_, u32, APB_SARADC_SAR2_PATT_TAB1_SPEC, u32, u32, Unsafe, 32, 0>
Bits 0:31 - item 0 ~ 3 for pattern table 2 (each item one byte)
Methods from Deref<Target = W<APB_SARADC_SAR2_PATT_TAB1_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<APB_SARADC_SAR2_PATT_TAB1_SPEC>> for W
impl From<W<APB_SARADC_SAR2_PATT_TAB1_SPEC>> for W
§fn from(writer: W<APB_SARADC_SAR2_PATT_TAB1_SPEC>) -> W
fn from(writer: W<APB_SARADC_SAR2_PATT_TAB1_SPEC>) -> W
Converts to this type from the input type.