Struct esp32s3_hal::pac::pwm0::gen2_a::R

pub struct R(_);
Expand description

Register GEN2_A reader

Implementations§

Bits 0:1 - Action on PWM2A triggered by event TEZ when timer increasing

Bits 2:3 - Action on PWM2A triggered by event TEP when timer increasing

Bits 4:5 - Action on PWM2A triggered by event TEA when timer increasing

Bits 6:7 - Action on PWM2A triggered by event TEB when timer increasing

Bits 8:9 - Action on PWM2A triggered by event_t0 when timer increasing

Bits 10:11 - Action on PWM2A triggered by event_t1 when timer increasing

Bits 12:13 - Action on PWM2A triggered by event TEZ when timer decreasing

Bits 14:15 - Action on PWM2A triggered by event TEP when timer decreasing

Bits 16:17 - Action on PWM2A triggered by event TEA when timer decreasing

Bits 18:19 - Action on PWM2A triggered by event TEB when timer decreasing

Bits 20:21 - Action on PWM2A triggered by event_t0 when timer decreasing

Bits 22:23 - Action on PWM2A triggered by event_t1 when timer decreasing. 0: no change, 1: low, 2: high, 3: toggle

Methods from Deref<Target = R<GEN2_A_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.