Struct esp32s3::pwm0::timer0_sync::R

source ·
pub struct R(_);
Expand description

Register TIMER0_SYNC reader

Implementations

Bit 0 - When set, timer reloading with phase on sync input event is enabled.

Bit 1 - Toggling this bit will trigger a software sync.

Bits 2:3 - PWM timer0 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync

Bits 4:20 - phase for timer reload on sync event

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