Struct esp32c3_hal::pac::apb_saradc::arb_ctrl::W
pub struct W(_);
Expand description
Register ARB_CTRL
writer
Implementations
impl W
impl W
pub fn adc_arb_apb_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 2>
pub fn adc_arb_apb_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 2>
Bit 2 - adc2 arbiter force to enableapb controller
pub fn adc_arb_rtc_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 3>
pub fn adc_arb_rtc_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 3>
Bit 3 - adc2 arbiter force to enable rtc controller
pub fn adc_arb_wifi_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 4>
pub fn adc_arb_wifi_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 4>
Bit 4 - adc2 arbiter force to enable wifi controller
pub fn adc_arb_grant_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 5>
pub fn adc_arb_grant_force(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 5>
Bit 5 - adc2 arbiter force grant
pub fn adc_arb_apb_priority(
&mut self
) -> FieldWriterRaw<'_, u32, ARB_CTRL_SPEC, u8, u8, Unsafe, 2, 6>
pub fn adc_arb_apb_priority(
&mut self
) -> FieldWriterRaw<'_, u32, ARB_CTRL_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7 - Set adc2 arbiterapb priority
pub fn adc_arb_rtc_priority(
&mut self
) -> FieldWriterRaw<'_, u32, ARB_CTRL_SPEC, u8, u8, Unsafe, 2, 8>
pub fn adc_arb_rtc_priority(
&mut self
) -> FieldWriterRaw<'_, u32, ARB_CTRL_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Set adc2 arbiter rtc priority
pub fn adc_arb_wifi_priority(
&mut self
) -> FieldWriterRaw<'_, u32, ARB_CTRL_SPEC, u8, u8, Unsafe, 2, 10>
pub fn adc_arb_wifi_priority(
&mut self
) -> FieldWriterRaw<'_, u32, ARB_CTRL_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - Set adc2 arbiter wifi priority
pub fn adc_arb_fix_priority(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 12>
pub fn adc_arb_fix_priority(
&mut self
) -> BitWriterRaw<'_, u32, ARB_CTRL_SPEC, bool, BitM, 12>
Bit 12 - adc2 arbiter uses fixed priority
Methods from Deref<Target = W<ARB_CTRL_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<ARB_CTRL_SPEC>> for W
impl From<W<ARB_CTRL_SPEC>> for W
fn from(writer: W<ARB_CTRL_SPEC>) -> W
fn from(writer: W<ARB_CTRL_SPEC>) -> W
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