[−][src]Type Definition esp32::mcpwm::mcpwm_timer1_cfg1_reg::W
type W = W<u32, MCPWM_TIMER1_CFG1_REG>;
Writer for register MCPWM_TIMER1_CFG1_REG
Methods
impl W
[src]
pub fn mcpwm_timer1_mod(&mut self) -> MCPWM_TIMER1_MOD_W
[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(&mut self) -> MCPWM_TIMER1_START_W
[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.