Enum stm32_metapac::adf::vals::Trgsens
#[repr(u8)]pub enum Trgsens {
RISINGEDGE = 0,
FALLINGEDGE = 1,
}
Expand description
CKGEN trigger sensitivity selection. This bit is set and cleared by software. It is used to select the trigger sensitivity of the trigger signals. This bit is not significant if the CKGMOD = 0.
Variants§
RISINGEDGE = 0
A rising edge event triggers the activation of CKGEN dividers.
FALLINGEDGE = 1
A falling edge even triggers the activation of CKGEN dividers.
Implementations§
Trait Implementations§
§impl Ord for Trgsens
impl Ord for Trgsens
§impl PartialOrd for Trgsens
impl PartialOrd for Trgsens
§fn partial_cmp(&self, other: &Trgsens) -> Option<Ordering>
fn partial_cmp(&self, other: &Trgsens) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Trgsens
impl Eq for Trgsens
impl StructuralEq for Trgsens
impl StructuralPartialEq for Trgsens
Auto Trait Implementations§
impl RefUnwindSafe for Trgsens
impl Send for Trgsens
impl Sync for Trgsens
impl Unpin for Trgsens
impl UnwindSafe for Trgsens
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more