Struct esp32s3::pwm0::db1_cfg::W

source ·
pub struct W(_);
Expand description

Register DB1_CFG writer

Implementations§

Bits 0:3 - Update method for FED (falling edge delay) active register. 0: immediate, bit0: tez, bit1: tep, bit2: sync, bit3: freeze

Bits 4:7 - Update method for RED (rising edge delay) active register. 0: immediate, bit0: tez, bit1: tep, bit2: sync, bit3: freeze

Bit 8 - S8 in documentation, dual-edge B mode, 0: fed/red take effect on different path separately, 1: fed/red take effect on B path, A out is in bypass or dulpB mode

Bit 9 - S6 in documentation

Bit 10 - S7 in documentation

Bit 11 - S4 in documentation

Bit 12 - S5 in documentation

Bit 13 - S2 in documentation

Bit 14 - S3 in documentation

Bit 15 - S1 in documentation

Bit 16 - S0 in documentation

Bit 17 - Dead time generator 1 clock selection. 0: PWM_clk, 1: PT_clk

Writes raw bits to the register.

Methods from Deref<Target = W<DB1_CFG_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably 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.