pub struct W(_);
Expand description

Register CAP_TIMER_CFG writer

Implementations§

Bit 0 - When set, capture timer incrementing under APB_clk is enabled.

Bit 1 - When set, capture timer sync is enabled.

Bits 2:4 - capture module sync input selection. 0: none, 1: timer0 sync_out, 2: timer1 sync_out, 3: timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix

Bit 5 - Write 1 will force a capture timer sync, capture timer is loaded with value in phase register.

Writes raw bits to the register.

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