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

type R = R<u32, MCPWM_TIMER2_SYNC_REG>;

Reader of register MCPWM_TIMER2_SYNC_REG

Methods

impl R[src]

pub fn mcpwm_timer2_phase(&self) -> MCPWM_TIMER2_PHASE_R[src]

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

pub fn mcpwm_timer2_synco_sel(&self) -> MCPWM_TIMER2_SYNCO_SEL_R[src]

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

pub fn mcpwm_timer2_sync_sw(&self) -> MCPWM_TIMER2_SYNC_SW_R[src]

Bit 1 - Toggling this bit will trigger a software sync

pub fn mcpwm_timer2_synci_en(&self) -> MCPWM_TIMER2_SYNCI_EN_R[src]

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