[][src]Enum lpc81x_pac::sct::config::CLKSELR

pub enum CLKSELR {
    RISING_EDGES_ON_INPUT_0,
    FALLING_EDGES_ON_INPUT_0,
    RISING_EDGES_ON_INPUT_1,
    FALLING_EDGES_ON_INPUT_1,
    RISING_EDGES_ON_INPUT_2,
    FALLING_EDGES_ON_INPUT_2,
    RISING_EDGES_ON_INPUT_3,
    FALLING_EDGES_ON_INPUT_3,
    _Reserved(u8),
}

Possible values of the field CLKSEL

Variants

RISING_EDGES_ON_INPUT_0

Rising edges on input 0.

FALLING_EDGES_ON_INPUT_0

Falling edges on input 0.

RISING_EDGES_ON_INPUT_1

Rising edges on input 1.

FALLING_EDGES_ON_INPUT_1

Falling edges on input 1.

RISING_EDGES_ON_INPUT_2

Rising edges on input 2.

FALLING_EDGES_ON_INPUT_2

Falling edges on input 2.

RISING_EDGES_ON_INPUT_3

Rising edges on input 3.

FALLING_EDGES_ON_INPUT_3

Falling edges on input 3.

_Reserved(u8)

Reserved

Methods

impl CLKSELR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is RISING_EDGES_ON_INPUT_0

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

Checks if the value of the field is FALLING_EDGES_ON_INPUT_0

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

Checks if the value of the field is RISING_EDGES_ON_INPUT_1

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

Checks if the value of the field is FALLING_EDGES_ON_INPUT_1

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

Checks if the value of the field is RISING_EDGES_ON_INPUT_2

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

Checks if the value of the field is FALLING_EDGES_ON_INPUT_2

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

Checks if the value of the field is RISING_EDGES_ON_INPUT_3

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

Checks if the value of the field is FALLING_EDGES_ON_INPUT_3

Trait Implementations

impl PartialEq<CLKSELR> for CLKSELR[src]

impl Debug for CLKSELR[src]

impl Copy for CLKSELR[src]

impl Clone for CLKSELR[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 CLKSELR

impl Sync for CLKSELR

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