Type Alias esp32s2::gpio::clock_gate::W

source ·
pub type W = W<CLOCK_GATE_SPEC>;
Expand description

Register CLOCK_GATE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn clk_en(&mut self) -> CLK_EN_W<'_, CLOCK_GATE_SPEC>

Bit 0 - Clock gating enable bit. If set to 1, the clock is free running.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual