[][src]Enum lpc55s6x_pac::syscon::comp_int_ctrl::INT_CTRLR

pub enum INT_CTRLR {
    EDGE_DISABLE,
    LVL_DISABLE,
    EDGE_RISING,
    LVL_HIGH,
    EDGE_FALLING,
    LVL_LOW,
    EDGE_BOTH,
    LVL_DIS2,
}
[]

Possible values of the field INT_CTRL

Variants

EDGE_DISABLE
[]

The analog comparator interrupt edge sensitive is disabled.

LVL_DISABLE
[]

The analog comparator interrupt level sensitive is disabled.

EDGE_RISING
[]

analog comparator interrupt is rising edge sensitive.

LVL_HIGH
[]

Analog Comparator interrupt is high level sensitive.

EDGE_FALLING
[]

analog comparator interrupt is falling edge sensitive.

LVL_LOW
[]

Analog Comparator interrupt is low level sensitive.

EDGE_BOTH
[]

analog comparator interrupt is rising and falling edge sensitive.

LVL_DIS2
[]

The analog comparator interrupt level sensitive is disabled.

Methods

impl INT_CTRLR[src][]

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

Value of the field as raw bits

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

Checks if the value of the field is EDGE_DISABLE

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

Checks if the value of the field is LVL_DISABLE

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

Checks if the value of the field is EDGE_RISING

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

Checks if the value of the field is LVL_HIGH

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

Checks if the value of the field is EDGE_FALLING

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

Checks if the value of the field is LVL_LOW

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

Checks if the value of the field is EDGE_BOTH

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

Checks if the value of the field is LVL_DIS2

Trait Implementations

impl PartialEq<INT_CTRLR> for INT_CTRLR[src][+]

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

This method tests for !=.

impl Copy for INT_CTRLR[src]

impl Debug for INT_CTRLR[src][+]

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

impl Sync for INT_CTRLR

Blanket Implementations

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

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, 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[src]

type Output = T

Should always be Self