Enum lpc82x::sct::res::O1RESR [] [src]

pub enum O1RESR {
    NO_CHANGE,
    SET_OUTPUT_OR_CLEAR,
    CLEAR_OUTPUT_OR_SET,
    TOGGLE_OUTPUT,
}

Possible values of the field O1RES

Variants

No change.

Set output (or clear based on the SETCLR1 field).

Clear output (or set based on the SETCLR1 field).

Toggle output.

Methods

impl O1RESR
[src]

[src]

Value of the field as raw bits

[src]

Checks if the value of the field is NO_CHANGE

[src]

Checks if the value of the field is SET_OUTPUT_OR_CLEAR

[src]

Checks if the value of the field is CLEAR_OUTPUT_OR_SET

[src]

Checks if the value of the field is TOGGLE_OUTPUT

Trait Implementations

impl Clone for O1RESR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for O1RESR
[src]

impl Debug for O1RESR
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for O1RESR
[src]

[src]

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

1.0.0
[src]

This method tests for !=.