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

pub struct CINSEL_R(_);
Expand description

Field CINSEL reader - Count Input Select When bits 1:0 in this register are not 00, these bits select which CAP pin is sampled for clocking. Note: If Counter mode is selected for a particular CAPn input in the CTCR, the 3 bits for that input in the Capture Control Register (CCR) must be programmed as 000. However, capture and/or interrupt can be selected for the other 3 CAPn inputs in the same timer.

Implementations

Get enumerated values variant

Checks if the value of the field is CHANNEL_0

Checks if the value of the field is CHANNEL_1

Checks if the value of the field is CHANNEL_2

Checks if the value of the field is CHANNEL_3

Methods from Deref<Target = FieldReader<u8, CINSEL_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.