Enum stm32f429i_disc::adc1::cr2::EXTENR
pub enum EXTENR {
DISABLED,
RISINGEDGE,
FALLINGEDGE,
BOTHEDGES,
}
Expand description
Possible values of the field EXTEN
Variants
DISABLED
Trigger detection disabled
RISINGEDGE
Trigger detection on the rising edge
FALLINGEDGE
Trigger detection on the falling edge
BOTHEDGES
Trigger detection on both the rising and falling edges
Implementations
impl EXTENR
impl EXTENR
pub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
pub fn is_rising_edge(&self) -> bool
pub fn is_rising_edge(&self) -> bool
Checks if the value of the field is RISINGEDGE
pub fn is_falling_edge(&self) -> bool
pub fn is_falling_edge(&self) -> bool
Checks if the value of the field is FALLINGEDGE
pub fn is_both_edges(&self) -> bool
pub fn is_both_edges(&self) -> bool
Checks if the value of the field is BOTHEDGES
Trait Implementations
impl Copy for EXTENR
impl StructuralPartialEq for EXTENR
Auto Trait Implementations
impl RefUnwindSafe for EXTENR
impl Send for EXTENR
impl Sync for EXTENR
impl Unpin for EXTENR
impl UnwindSafe for EXTENR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more