[][src]Type Definition esp32::mcpwm::mcpwm_fh2_cfg0_reg::W

type W = W<u32, MCPWM_FH2_CFG0_REG>;

Writer for register MCPWM_FH2_CFG0_REG

Methods

impl W[src]

pub fn mcpwm_fh2_b_ost_u(&mut self) -> MCPWM_FH2_B_OST_U_W[src]

Bits 22:23 - One-shot mode action on PWM2B when fault event occurs and timer is increasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_b_ost_d(&mut self) -> MCPWM_FH2_B_OST_D_W[src]

Bits 20:21 - One-shot mode action on PWM2B when fault event occurs and timer is decreasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_b_cbc_u(&mut self) -> MCPWM_FH2_B_CBC_U_W[src]

Bits 18:19 - Cycle-by-cycle mode action on PWM2B when fault event occurs and timer is increasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_b_cbc_d(&mut self) -> MCPWM_FH2_B_CBC_D_W[src]

Bits 16:17 - Cycle-by-cycle mode action on PWM2B when fault event occurs and timer is decreasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_a_ost_u(&mut self) -> MCPWM_FH2_A_OST_U_W[src]

Bits 14:15 - One-shot mode action on PWM2A when fault event occurs and timer is increasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_a_ost_d(&mut self) -> MCPWM_FH2_A_OST_D_W[src]

Bits 12:13 - One-shot mode action on PWM2A when fault event occurs and timer is decreasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_a_cbc_u(&mut self) -> MCPWM_FH2_A_CBC_U_W[src]

Bits 10:11 - Cycle-by-cycle mode action on PWM2A when fault event occurs and timer is increasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_a_cbc_d(&mut self) -> MCPWM_FH2_A_CBC_D_W[src]

Bits 8:9 - Cycle-by-cycle mode action on PWM2A when fault event occurs and timer is decreasing. 0: do nothing 1: force lo 2: force hi 3: toggle

pub fn mcpwm_fh2_f0_ost(&mut self) -> MCPWM_FH2_F0_OST_W[src]

Bit 7 - event_f0 will trigger one-shot mode action. 0: disable 1: enable

pub fn mcpwm_fh2_f1_ost(&mut self) -> MCPWM_FH2_F1_OST_W[src]

Bit 6 - event_f1 will trigger one-shot mode action. 0: disable 1: enable

pub fn mcpwm_fh2_f2_ost(&mut self) -> MCPWM_FH2_F2_OST_W[src]

Bit 5 - event_f2 will trigger one-shot mode action. 0: disable 1: enable

pub fn mcpwm_fh2_sw_ost(&mut self) -> MCPWM_FH2_SW_OST_W[src]

Bit 4 - Enable register for software force one-shot mode action. 0: disable 1: enable

pub fn mcpwm_fh2_f0_cbc(&mut self) -> MCPWM_FH2_F0_CBC_W[src]

Bit 3 - event_f0 will trigger cycle-by-cycle mode action. 0: disable 1: enable

pub fn mcpwm_fh2_f1_cbc(&mut self) -> MCPWM_FH2_F1_CBC_W[src]

Bit 2 - event_f1 will trigger cycle-by-cycle mode action. 0: disable 1: enable

pub fn mcpwm_fh2_f2_cbc(&mut self) -> MCPWM_FH2_F2_CBC_W[src]

Bit 1 - event_f2 will trigger cycle-by-cycle mode action. 0: disable 1: enable

pub fn mcpwm_fh2_sw_cbc(&mut self) -> MCPWM_FH2_SW_CBC_W[src]

Bit 0 - Enable register for software force cycle-by-cycle mode action. 0: disable 1: enable