Struct esp32s3::timg0::tconfig::R

source ·
pub struct R(_);
Expand description

Register T%sCONFIG reader

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.

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