Struct esp32s3_hal::pac::timg0::tconfig::W

pub struct W(_);
Expand description

Register T%sCONFIG writer

Implementations

Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group.

Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs.

Bits 13:28 - Timer %s clock (T%s_clk) prescaler value.

Bit 29 - When set, timer %s auto-reload at alarm is enabled.

Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement.

Bit 31 - When set, the timer %s time-base counter is enabled.

Writes raw bits to the register.

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