Struct esp32c2_hal::pac::apb_ctrl::wifi_clk_en::W
pub struct W(_);
Expand description
Register WIFI_CLK_EN
writer
Implementations
impl W
impl W
pub fn wifi_clk_en(
&mut self
) -> FieldWriterRaw<'_, u32, WIFI_CLK_EN_SPEC, u32, u32, Unsafe, 32, 0>
pub fn wifi_clk_en(
&mut self
) -> FieldWriterRaw<'_, u32, WIFI_CLK_EN_SPEC, u32, u32, Unsafe, 32, 0>
Bits 0:31 - reg_wifi_clk_en
Methods from Deref<Target = W<WIFI_CLK_EN_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<WIFI_CLK_EN_SPEC>> for W
impl From<W<WIFI_CLK_EN_SPEC>> for W
fn from(writer: W<WIFI_CLK_EN_SPEC>) -> W
fn from(writer: W<WIFI_CLK_EN_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