Struct esp32_hal::pac::ledc::hsch_conf1::R

pub struct R(_);
Expand description

Register HSCH%s_CONF1 reader

Implementations§

Bits 0:9 - This register controls the increase or decrease step scale for high speed channel0.

Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_hsch0 cycles for high speed channel0.

Bits 20:29 - This register is used to control the num of increased or decreased times for high speed channel0.

Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for high speed channel0.

Bit 31 - When reg_duty_num_hsch0 reg_duty_cycle_hsch0 and reg_duty_scale_hsch0 has been configured. these register won’t take effect until set reg_duty_start_hsch0. this bit is automatically cleared by hardware.

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