Enum stm32f407g_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