Enum stm32_metapac::lptim::vals::Trigen
#[repr(u8)]pub enum Trigen {
SOFTWARE = 0,
RISINGEDGE = 1,
FALLINGEDGE = 2,
BOTHEDGE = 3,
}
Variants§
SOFTWARE = 0
software trigger (counting start is initiated by software)
RISINGEDGE = 1
rising edge is the active edge
FALLINGEDGE = 2
falling edge is the active edge
BOTHEDGE = 3
both edges are active edges
Implementations§
Trait Implementations§
§impl Ord for Trigen
impl Ord for Trigen
§impl PartialOrd for Trigen
impl PartialOrd for Trigen
impl Copy for Trigen
impl Eq for Trigen
impl StructuralPartialEq for Trigen
Auto Trait Implementations§
impl Freeze for Trigen
impl RefUnwindSafe for Trigen
impl Send for Trigen
impl Sync for Trigen
impl Unpin for Trigen
impl UnwindSafe for Trigen
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)