Struct esp32::pcnt::ctrl::W

source ·
pub struct W(_);
Expand description

Register CTRL writer

Implementations§

Bit 0 - Set this bit to clear unit0’s counter.

Bit 1 - Set this bit to pause unit0’s counter.

Bit 2 - Set this bit to clear unit1’s counter.

Bit 3 - Set this bit to pause unit1’s counter.

Bit 4 - Set this bit to clear unit2’s counter.

Bit 5 - Set this bit to pause unit2’s counter.

Bit 6 - Set this bit to clear unit3’s counter.

Bit 7 - Set this bit to pause unit3’s counter.

Bit 8 - Set this bit to clear unit4’s counter.

Bit 9 - Set this bit to pause unit4’s counter.

Bit 10 - Set this bit to clear unit5’s counter.

Bit 11 - Set this bit to pause unit5’s counter.

Bit 12 - Set this bit to clear unit6’s counter.

Bit 13 - Set this bit to pause unit6’s counter.

Bit 14 - Set this bit to clear unit7’s counter.

Bit 15 - Set this bit to pause unit7’s counter.

Bit 16

Writes raw bits to the register.

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