Type Alias esp32c6::ledc::ch_hpoint::W

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

Register CH%s_HPOINT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn hpoint(&mut self) -> HPOINT_W<'_, CH_HPOINT_SPEC>

Bits 0:19 - The output value changes to high when the selected timers has reached the value specified by this register.

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