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

pub struct DIRECTION_W<'a> { /* fields omitted */ }
Expand description

Field DIRECTION writer - 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

Writes variant to the field

Direction independent. This event is triggered regardless of the count direction.

Counting up. This event is triggered only during up-counting when BIDIR = 1.

Counting down. This event is triggered only during down-counting when BIDIR = 1.

Writes raw bits to the field

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.