[][src]Enum stm32l0xx_hal::device::lptim::cfgr::TRGFLTR

pub enum TRGFLTR {
    IMMEDIATE,
    CLOCKS2,
    CLOCKS4,
    CLOCKS8,
}

Possible values of the field TRGFLT

Variants

IMMEDIATE

Any trigger active level change is considered as a valid trigger

CLOCKS2

Trigger active level change must be stable for at least 2 clock periods before it is considered as valid trigger

CLOCKS4

Trigger active level change must be stable for at least 4 clock periods before it is considered as valid trigger

CLOCKS8

Trigger active level change must be stable for at least 8 clock periods before it is considered as valid trigger

Methods

impl TRGFLTR[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_immediate(&self) -> bool[src]

Checks if the value of the field is IMMEDIATE

pub fn is_clocks2(&self) -> bool[src]

Checks if the value of the field is CLOCKS2

pub fn is_clocks4(&self) -> bool[src]

Checks if the value of the field is CLOCKS4

pub fn is_clocks8(&self) -> bool[src]

Checks if the value of the field is CLOCKS8

Trait Implementations

impl PartialEq<TRGFLTR> for TRGFLTR[src]

impl Debug for TRGFLTR[src]

impl Copy for TRGFLTR[src]

impl Clone for TRGFLTR[src]

Auto Trait Implementations

impl Unpin for TRGFLTR

impl Send for TRGFLTR

impl Sync for TRGFLTR

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self