pub struct W(_);
Expand description
Register TZ2_CFG0
writer
Implementations§
source§impl W
impl W
sourcepub fn tz2_sw_cbc(&mut self) -> TZ2_SW_CBC_W<'_, 0>
pub fn tz2_sw_cbc(&mut self) -> TZ2_SW_CBC_W<'_, 0>
Bit 0 - Enable register for software force cycle-by-cycle mode action. 0: disable, 1: enable
sourcepub fn tz2_f2_cbc(&mut self) -> TZ2_F2_CBC_W<'_, 1>
pub fn tz2_f2_cbc(&mut self) -> TZ2_F2_CBC_W<'_, 1>
Bit 1 - event_f2 will trigger cycle-by-cycle mode action. 0: disable, 1: enable
sourcepub fn tz2_f1_cbc(&mut self) -> TZ2_F1_CBC_W<'_, 2>
pub fn tz2_f1_cbc(&mut self) -> TZ2_F1_CBC_W<'_, 2>
Bit 2 - event_f1 will trigger cycle-by-cycle mode action. 0: disable, 1: enable
sourcepub fn tz2_f0_cbc(&mut self) -> TZ2_F0_CBC_W<'_, 3>
pub fn tz2_f0_cbc(&mut self) -> TZ2_F0_CBC_W<'_, 3>
Bit 3 - event_f0 will trigger cycle-by-cycle mode action. 0: disable, 1: enable
sourcepub fn tz2_sw_ost(&mut self) -> TZ2_SW_OST_W<'_, 4>
pub fn tz2_sw_ost(&mut self) -> TZ2_SW_OST_W<'_, 4>
Bit 4 - Enable register for software force one-shot mode action. 0: disable, 1: enable
sourcepub fn tz2_f2_ost(&mut self) -> TZ2_F2_OST_W<'_, 5>
pub fn tz2_f2_ost(&mut self) -> TZ2_F2_OST_W<'_, 5>
Bit 5 - event_f2 will trigger one-shot mode action. 0: disable, 1: enable
sourcepub fn tz2_f1_ost(&mut self) -> TZ2_F1_OST_W<'_, 6>
pub fn tz2_f1_ost(&mut self) -> TZ2_F1_OST_W<'_, 6>
Bit 6 - event_f1 will trigger one-shot mode action. 0: disable, 1: enable
sourcepub fn tz2_f0_ost(&mut self) -> TZ2_F0_OST_W<'_, 7>
pub fn tz2_f0_ost(&mut self) -> TZ2_F0_OST_W<'_, 7>
Bit 7 - event_f0 will trigger one-shot mode action. 0: disable, 1: enable
sourcepub fn tz2_a_cbc_d(&mut self) -> TZ2_A_CBC_D_W<'_, 8>
pub fn tz2_a_cbc_d(&mut self) -> TZ2_A_CBC_D_W<'_, 8>
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
sourcepub fn tz2_a_cbc_u(&mut self) -> TZ2_A_CBC_U_W<'_, 10>
pub fn tz2_a_cbc_u(&mut self) -> TZ2_A_CBC_U_W<'_, 10>
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
sourcepub fn tz2_a_ost_d(&mut self) -> TZ2_A_OST_D_W<'_, 12>
pub fn tz2_a_ost_d(&mut self) -> TZ2_A_OST_D_W<'_, 12>
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
sourcepub fn tz2_a_ost_u(&mut self) -> TZ2_A_OST_U_W<'_, 14>
pub fn tz2_a_ost_u(&mut self) -> TZ2_A_OST_U_W<'_, 14>
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
sourcepub fn tz2_b_cbc_d(&mut self) -> TZ2_B_CBC_D_W<'_, 16>
pub fn tz2_b_cbc_d(&mut self) -> TZ2_B_CBC_D_W<'_, 16>
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
sourcepub fn tz2_b_cbc_u(&mut self) -> TZ2_B_CBC_U_W<'_, 18>
pub fn tz2_b_cbc_u(&mut self) -> TZ2_B_CBC_U_W<'_, 18>
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
sourcepub fn tz2_b_ost_d(&mut self) -> TZ2_B_OST_D_W<'_, 20>
pub fn tz2_b_ost_d(&mut self) -> TZ2_B_OST_D_W<'_, 20>
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
sourcepub fn tz2_b_ost_u(&mut self) -> TZ2_B_OST_U_W<'_, 22>
pub fn tz2_b_ost_u(&mut self) -> TZ2_B_OST_U_W<'_, 22>
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