Enum lpc82x::sct::ev_ctrl::DIRECTIONR [] [src]

pub enum DIRECTIONR {
    DIRECTION_INDEPENDEN,
    COUNTING_UP,
    COUNTING_DOWN,
    _Reserved(u8),
}

Possible values of the field DIRECTION

Variants

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.

Reserved

Methods

impl DIRECTIONR
[src]

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is DIRECTION_INDEPENDEN

[src]

Checks if the value of the field is COUNTING_UP

[src]

Checks if the value of the field is COUNTING_DOWN

Trait Implementations

impl Clone for DIRECTIONR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for DIRECTIONR
[src]

impl Debug for DIRECTIONR
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for DIRECTIONR
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.