Enum SoftcyclesDisable
#[repr(u8)]pub enum SoftcyclesDisable {
S2 = 0,
S8 = 1,
S32 = 2,
S64 = 3,
S128 = 4,
S256 = 5,
S512 = 6,
Custom = 7,
}Variants§
S2 = 0
2 filter source clock cycles.
S8 = 1
8 filter source clock cycles.
S32 = 2
32 filter source clock cycles.
S64 = 3
64 filter source clock cycles.
S128 = 4
128 filter source clock cycles.
S256 = 5
256 filter source clock cycles.
S512 = 6
512 filter source clock cycles.
Custom = 7
The number of cycles can be set using FILTER.CTRL[17:14] bits.
Implementations§
§impl SoftcyclesDisable
impl SoftcyclesDisable
pub const fn from_bits(val: u8) -> SoftcyclesDisable
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SoftcyclesDisable
impl Clone for SoftcyclesDisable
§fn clone(&self) -> SoftcyclesDisable
fn clone(&self) -> SoftcyclesDisable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoftcyclesDisable
§impl Debug for SoftcyclesDisable
impl Debug for SoftcyclesDisable
impl Eq for SoftcyclesDisable
§impl From<u8> for SoftcyclesDisable
impl From<u8> for SoftcyclesDisable
§fn from(val: u8) -> SoftcyclesDisable
fn from(val: u8) -> SoftcyclesDisable
Converts to this type from the input type.
§impl Ord for SoftcyclesDisable
impl Ord for SoftcyclesDisable
§fn cmp(&self, other: &SoftcyclesDisable) -> Ordering
fn cmp(&self, other: &SoftcyclesDisable) -> Ordering
1.21.0 (const: unstable) · 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 SoftcyclesDisable
impl PartialEq for SoftcyclesDisable
§impl PartialOrd for SoftcyclesDisable
impl PartialOrd for SoftcyclesDisable
impl StructuralPartialEq for SoftcyclesDisable
Auto Trait Implementations§
impl Freeze for SoftcyclesDisable
impl RefUnwindSafe for SoftcyclesDisable
impl Send for SoftcyclesDisable
impl Sync for SoftcyclesDisable
impl Unpin for SoftcyclesDisable
impl UnsafeUnpin for SoftcyclesDisable
impl UnwindSafe for SoftcyclesDisable
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