Enum embassy_stm32::timer::low_level::FilterValue
#[repr(u8)]pub enum FilterValue {
Show 16 variants
NOFILTER = 0,
FCK_INT_N2 = 1,
FCK_INT_N4 = 2,
FCK_INT_N8 = 3,
FDTS_DIV2_N6 = 4,
FDTS_DIV2_N8 = 5,
FDTS_DIV4_N6 = 6,
FDTS_DIV4_N8 = 7,
FDTS_DIV8_N6 = 8,
FDTS_DIV8_N8 = 9,
FDTS_DIV16_N5 = 10,
FDTS_DIV16_N6 = 11,
FDTS_DIV16_N8 = 12,
FDTS_DIV32_N5 = 13,
FDTS_DIV32_N6 = 14,
FDTS_DIV32_N8 = 15,
}
Variantsยง
NOFILTER = 0
No filter, sampling is done at fDTS
FCK_INT_N2 = 1
fSAMPLING=fCK_INT, N=2
FCK_INT_N4 = 2
fSAMPLING=fCK_INT, N=4
FCK_INT_N8 = 3
fSAMPLING=fCK_INT, N=8
FDTS_DIV2_N6 = 4
fSAMPLING=fDTS/2, N=6
FDTS_DIV2_N8 = 5
fSAMPLING=fDTS/2, N=8
FDTS_DIV4_N6 = 6
fSAMPLING=fDTS/4, N=6
FDTS_DIV4_N8 = 7
fSAMPLING=fDTS/4, N=8
FDTS_DIV8_N6 = 8
fSAMPLING=fDTS/8, N=6
FDTS_DIV8_N8 = 9
fSAMPLING=fDTS/8, N=8
FDTS_DIV16_N5 = 10
fSAMPLING=fDTS/16, N=5
FDTS_DIV16_N6 = 11
fSAMPLING=fDTS/16, N=6
FDTS_DIV16_N8 = 12
fSAMPLING=fDTS/16, N=8
FDTS_DIV32_N5 = 13
fSAMPLING=fDTS/32, N=5
FDTS_DIV32_N6 = 14
fSAMPLING=fDTS/32, N=6
FDTS_DIV32_N8 = 15
fSAMPLING=fDTS/32, N=8
Implementationsยง
ยงimpl FilterValue
impl FilterValue
pub const fn from_bits(val: u8) -> FilterValue
pub const fn to_bits(self) -> u8
Trait Implementationsยง
ยงimpl Clone for FilterValue
impl Clone for FilterValue
ยงfn clone(&self) -> FilterValue
fn clone(&self) -> FilterValue
Returns a copy of the value. Read more
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreยงimpl From<u8> for FilterValue
impl From<u8> for FilterValue
ยงfn from(val: u8) -> FilterValue
fn from(val: u8) -> FilterValue
Converts to this type from the input type.
ยงimpl Ord for FilterValue
impl Ord for FilterValue
ยงfn cmp(&self, other: &FilterValue) -> Ordering
fn cmp(&self, other: &FilterValue) -> Ordering
1.21.0 ยท sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
ยงimpl PartialEq for FilterValue
impl PartialEq for FilterValue
ยงimpl PartialOrd for FilterValue
impl PartialOrd for FilterValue
impl Copy for FilterValue
impl Eq for FilterValue
impl StructuralPartialEq for FilterValue
Auto Trait Implementationsยง
impl Freeze for FilterValue
impl RefUnwindSafe for FilterValue
impl Send for FilterValue
impl Sync for FilterValue
impl Unpin for FilterValue
impl UnwindSafe for FilterValue
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
)