[][src]Type Definition esp32::mcpwm::mcpwm_timer0_sync_reg::R

type R = R<u32, MCPWM_TIMER0_SYNC_REG>;

Reader of register MCPWM_TIMER0_SYNC_REG

Methods

impl R[src]

pub fn mcpwm_timer0_phase(&self) -> MCPWM_TIMER0_PHASE_R[src]

Bits 4:20 - Phase for timer reload on sync event

pub fn mcpwm_timer0_synco_sel(&self) -> MCPWM_TIMER0_SYNCO_SEL_R[src]

Bits 2:3 - PWM timer0 synco selection 0: synci 1: TEZ 2: TEP else 0

pub fn mcpwm_timer0_sync_sw(&self) -> MCPWM_TIMER0_SYNC_SW_R[src]

Bit 1 - Toggling this bit will trigger a software sync

pub fn mcpwm_timer0_synci_en(&self) -> MCPWM_TIMER0_SYNCI_EN_R[src]

Bit 0 - When set timer reload with phase on sync input event is enabled