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.