Struct esp32s3_hal::pac::pwm0::tz2_cfg0::R
pub struct R(_);
Expand description
Register TZ2_CFG0
reader
Implementations§
§impl R
impl R
pub fn tz2_sw_cbc(&self) -> BitReaderRaw<bool>
pub fn tz2_sw_cbc(&self) -> BitReaderRaw<bool>
Bit 0 - Enable register for software force cycle-by-cycle mode action. 0: disable, 1: enable
pub fn tz2_f2_cbc(&self) -> BitReaderRaw<bool>
pub fn tz2_f2_cbc(&self) -> BitReaderRaw<bool>
Bit 1 - event_f2 will trigger cycle-by-cycle mode action. 0: disable, 1: enable
pub fn tz2_f1_cbc(&self) -> BitReaderRaw<bool>
pub fn tz2_f1_cbc(&self) -> BitReaderRaw<bool>
Bit 2 - event_f1 will trigger cycle-by-cycle mode action. 0: disable, 1: enable
pub fn tz2_f0_cbc(&self) -> BitReaderRaw<bool>
pub fn tz2_f0_cbc(&self) -> BitReaderRaw<bool>
Bit 3 - event_f0 will trigger cycle-by-cycle mode action. 0: disable, 1: enable
pub fn tz2_sw_ost(&self) -> BitReaderRaw<bool>
pub fn tz2_sw_ost(&self) -> BitReaderRaw<bool>
Bit 4 - Enable register for software force one-shot mode action. 0: disable, 1: enable
pub fn tz2_f2_ost(&self) -> BitReaderRaw<bool>
pub fn tz2_f2_ost(&self) -> BitReaderRaw<bool>
Bit 5 - event_f2 will trigger one-shot mode action. 0: disable, 1: enable
pub fn tz2_f1_ost(&self) -> BitReaderRaw<bool>
pub fn tz2_f1_ost(&self) -> BitReaderRaw<bool>
Bit 6 - event_f1 will trigger one-shot mode action. 0: disable, 1: enable
pub fn tz2_f0_ost(&self) -> BitReaderRaw<bool>
pub fn tz2_f0_ost(&self) -> BitReaderRaw<bool>
Bit 7 - event_f0 will trigger one-shot mode action. 0: disable, 1: enable
pub fn tz2_a_cbc_d(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_a_cbc_d(&self) -> FieldReaderRaw<u8, u8>
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 tz2_a_cbc_u(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_a_cbc_u(&self) -> FieldReaderRaw<u8, u8>
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 tz2_a_ost_d(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_a_ost_d(&self) -> FieldReaderRaw<u8, u8>
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 tz2_a_ost_u(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_a_ost_u(&self) -> FieldReaderRaw<u8, u8>
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 tz2_b_cbc_d(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_b_cbc_d(&self) -> FieldReaderRaw<u8, u8>
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 tz2_b_cbc_u(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_b_cbc_u(&self) -> FieldReaderRaw<u8, u8>
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 tz2_b_ost_d(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_b_ost_d(&self) -> FieldReaderRaw<u8, u8>
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 tz2_b_ost_u(&self) -> FieldReaderRaw<u8, u8>
pub fn tz2_b_ost_u(&self) -> FieldReaderRaw<u8, u8>
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
Methods from Deref<Target = R<TZ2_CFG0_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.