Enum stm32_metapac::timer::vals::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<FilterValue> for u8
impl From<FilterValue> for u8
§fn from(val: FilterValue) -> u8
fn from(val: FilterValue) -> u8
Converts to this type from the input type.
§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
§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
)