Type Alias esp32h2::mcpwm0::clk::W

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

Register CLK writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn en(&mut self) -> EN_W<'_, CLK_SPEC, 0>

Bit 0 - Force clock on for this register file

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