Struct lpc82x::sct::ev_ctrl::_DIRECTIONW
[−]
[src]
pub struct _DIRECTIONW<'a> { /* fields omitted */ }
Proxy
Methods
impl<'a> _DIRECTIONW<'a>
[src]
fn variant(self, variant: DIRECTIONW) -> &'a mut W
[src]
Writes variant
to the field
fn direction_independen(self) -> &'a mut W
[src]
Direction independent. This event is triggered regardless of the count direction.
fn counting_up(self) -> &'a mut W
[src]
Counting up. This event is triggered only during up-counting when BIDIR = 1.
fn counting_down(self) -> &'a mut W
[src]
Counting down. This event is triggered only during down-counting when BIDIR = 1.
unsafe fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field