[−][src]Type Definition esp32::mcpwm::mcpwm_timer1_cfg1_reg::R
type R = R<u32, MCPWM_TIMER1_CFG1_REG>;
Reader of register MCPWM_TIMER1_CFG1_REG
Methods
impl R
[src]
pub fn mcpwm_timer1_mod(&self) -> MCPWM_TIMER1_MOD_R
[src]
Bits 3:4 - PWM timer1 working mode 0: freeze 1: increase mod 2: decrease mod 3: up-down mod
pub fn mcpwm_timer1_start(&self) -> MCPWM_TIMER1_START_R
[src]
Bits 0:2 - PWM timer1 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.