[−][src]Type Definition esp32::mcpwm::mcpwm_timer2_cfg1_reg::R
type R = R<u32, MCPWM_TIMER2_CFG1_REG>;
Reader of register MCPWM_TIMER2_CFG1_REG
Methods
impl R
[src]
pub fn mcpwm_timer2_mod(&self) -> MCPWM_TIMER2_MOD_R
[src]
Bits 3:4 - PWM timer2 working mode 0: freeze 1: increase mod 2: decrease mod 3: up-down mod
pub fn mcpwm_timer2_start(&self) -> MCPWM_TIMER2_START_R
[src]
Bits 0:2 - PWM timer2 start and stop control. 0: stop @ TEZ 1: stop @ TEP 2: free run 3: start and stop @ next TEZ 4: start and stop @ next TEP.