pub struct W(_);
Expand description

Register FRC1_CTRL writer

Implementations

Bits 0:7 - bit[7] : timer enable, bit[6] : automatically reload, when the counter isequal to zero, bit[3:2] : prescale-divider, 0: divided by 1, 1: dividedby 16, 2 or 3: divided by 256, bit[0] : interrupt type, 0:edge, 1:level

Bit 7 - Enable or disable the timer

Bit 6 - Automatically reload when the counter hits zero

Bits 2:3 - Pre-scale divider for the timer

Bit 0 - Configure the interrupt type

Writes raw bits to the register.

Methods from Deref<Target = W<FRC1_CTRL_SPEC>>

Writes raw bits to the register.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Performs the conversion.

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.