Type Alias esp32h2::mcpwm0::cap_timer_phase::W

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

Register CAP_TIMER_PHASE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cap_phase(&mut self) -> CAP_PHASE_W<'_, CAP_TIMER_PHASE_SPEC>

Bits 0:31 - Phase value for capture timer sync operation.

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