Struct lpc845_pac::ctimer0::ctcr::CTMODE_R[][src]

pub struct CTMODE_R(_);
Expand description

Field CTMODE reader - Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer’s Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register.

Implementations

Get enumerated values variant

Checks if the value of the field is TIMER

Checks if the value of the field is COUNTER_RISING_EDGE

Checks if the value of the field is COUNTER_FALLING_EDGE

Checks if the value of the field is COUNTER_DUAL_EDGE

Methods from Deref<Target = FieldReader<u8, CTMODE_A>>

Reads raw bits from field.

Value of the field as raw bits.

Returns true if the bit is clear (0).

Returns true if the bit is set (1).

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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

Performs the conversion.

Performs the conversion.

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.