Enum stm32wlxx_hal::lptim::TrgPol
source · #[repr(u8)]pub enum TrgPol {
Soft = 0,
Rising = 1,
Falling = 2,
Both = 3,
}
Expand description
Trigger polarity.
Variants§
Soft = 0
Software trigger.
Rising = 1
Rising edge is active edge.
Falling = 2
Falling edge is active edge.
Both = 3
Both edges are active edges.
Trait Implementations§
source§impl PartialEq for TrgPol
impl PartialEq for TrgPol
impl Copy for TrgPol
impl Eq for TrgPol
impl StructuralEq for TrgPol
impl StructuralPartialEq for TrgPol
Auto Trait Implementations§
impl RefUnwindSafe for TrgPol
impl Send for TrgPol
impl Sync for TrgPol
impl Unpin for TrgPol
impl UnwindSafe for TrgPol
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