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

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

Possible values of the field O3RES

Variants

No change.

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

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

Toggle output.

Methods

impl O3RESR
[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 O3RESR
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for O3RESR
[src]

impl Debug for O3RESR
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for O3RESR
[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 !=.