[−][src]Enum lpc55s6x_pac::syscon::comp_int_ctrl::INT_CTRLR
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][+]
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>,
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>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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