Struct esp32s3_hal::pac::pwm0::tz2_cfg0::R

pub struct R(_);
Expand description

Register TZ2_CFG0 reader

Implementations§

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.