Type Definition lpc81x_pac::lpc811::sct0::ev::ev_ctrl::DIRECTION_W

source ·
pub type DIRECTION_W<'a, const O: u8> = FieldWriter<'a, u32, EV_CTRL_SPEC, u8, DIRECTION_A, 2, O>;
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§

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.