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

pub enum O1RESR {
    NO_CHANGE_,
    SET_OUTPUT_OR_CLEAR,
    CLEAR_OUTPUT_OR_SET,
    TOGGLE_OUTPUT_,
}

Possible values of the field O1RES

Variants

NO_CHANGE_

No change.

SET_OUTPUT_OR_CLEAR

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

CLEAR_OUTPUT_OR_SET

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

TOGGLE_OUTPUT_

Toggle output.

Methods

impl O1RESR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_no_change_(&self) -> bool[src]

Checks if the value of the field is NO_CHANGE_

pub fn is_set_output_or_clear(&self) -> bool[src]

Checks if the value of the field is SET_OUTPUT_OR_CLEAR

pub fn is_clear_output_or_set(&self) -> bool[src]

Checks if the value of the field is CLEAR_OUTPUT_OR_SET

pub fn is_toggle_output_(&self) -> bool[src]

Checks if the value of the field is TOGGLE_OUTPUT_

Trait Implementations

impl PartialEq<O1RESR> for O1RESR[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for O1RESR[src]

impl Copy for O1RESR[src]

impl Clone for O1RESR[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for O1RESR

impl Sync for O1RESR

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self