[−][src]Enum lpc55s6x_pac::syscon::comp_int_ctrl::INT_CTRLR
Possible values of the field INT_CTRL
Variants
EDGE_DISABLEThe analog comparator interrupt edge sensitive is disabled.
LVL_DISABLEThe analog comparator interrupt level sensitive is disabled.
EDGE_RISINGanalog comparator interrupt is rising edge sensitive.
LVL_HIGHAnalog Comparator interrupt is high level sensitive.
EDGE_FALLINGanalog comparator interrupt is falling edge sensitive.
LVL_LOWAnalog Comparator interrupt is low level sensitive.
EDGE_BOTHanalog comparator interrupt is rising and falling edge sensitive.
LVL_DIS2The 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]
fn eq(&self, other: &INT_CTRLR) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.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]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self