Type Alias esp32h2::ledc::ch_conf1::W

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

Register CH%s_CONF1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn duty_start(&mut self) -> DUTY_START_W<'_, CH_CONF1_SPEC, 31>

Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1.

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