Struct lpc845_pac::sct0::event::ctrl::DIRECTION_R[][src]

pub struct DIRECTION_R(_);
Expand description

Field DIRECTION reader - Direction qualifier for event generation. This field only applies when the counters are operating in BIDIR mode. If BIDIR = 0, the SCT ignores this field. Value 0x3 is reserved.

Implementations

Get enumerated values variant

Checks if the value of the field is DIRECTION_INDEPENDENT

Checks if the value of the field is COUNTING_UP

Checks if the value of the field is COUNTING_DOWN

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