Struct esp32_hal::pac::ledc::hsch_conf0::W

pub struct W(_);
Expand description

Register HSCH%s_CONF0 writer

Implementations§

Bits 0:1 - There are four high speed timers the two bits are used to select one of them for high speed channel0. 2’b00: seletc hstimer0. 2’b01: select hstimer1. 2’b10: select hstimer2. 2’b11: select hstimer3.

Bit 2 - This is the output enable control bit for high speed channel0

Bit 3 - This bit is used to control the output value when high speed channel0 is off.

Writes raw bits to the register.

Methods from Deref<Target = W<HSCH_CONF0_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.