Enum stm32wlxx_hal::lptim::Filter
source · #[repr(u8)]pub enum Filter {
Any = 0,
Clk2 = 1,
Clk4 = 2,
Clk8 = 3,
}
Expand description
Filter for triggers and external clocks.
Variants§
Any = 0
Any level change is considered valid.
Clk2 = 1
Level must be stable for at least 2 clock periods before it is considered as valid.
Clk4 = 2
Level must be stable for at least 4 clock periods before it is considered as valid.
Clk8 = 3
Level must be stable for at least 8 clock periods before it is considered as valid.
Trait Implementations§
source§impl PartialEq for Filter
impl PartialEq for Filter
impl Copy for Filter
impl Eq for Filter
impl StructuralEq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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