Enum nrf52840_hal::target::clock::hfxodebounce::HFXODEBOUNCER
source · pub enum HFXODEBOUNCER {
DB256US,
DB1024US,
_Reserved(u8),
}
Expand description
Possible values of the field HFXODEBOUNCE
Variants
DB256US
256 us debounce time. Recommended for TSX-3225, FA-20H and FA-128 crystals.
DB1024US
1024 us debounce time. Recommended for NX1612AA and NX1210AB crystals.
_Reserved(u8)
Reserved
Implementations
sourceimpl HFXODEBOUNCER
impl HFXODEBOUNCER
sourcepub fn is_db256us(&self) -> bool
pub fn is_db256us(&self) -> bool
Checks if the value of the field is DB256US
sourcepub fn is_db1024us(&self) -> bool
pub fn is_db1024us(&self) -> bool
Checks if the value of the field is DB1024US
Trait Implementations
sourceimpl Clone for HFXODEBOUNCER
impl Clone for HFXODEBOUNCER
sourcefn clone(&self) -> HFXODEBOUNCER
fn clone(&self) -> HFXODEBOUNCER
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HFXODEBOUNCER
impl Debug for HFXODEBOUNCER
sourceimpl PartialEq<HFXODEBOUNCER> for HFXODEBOUNCER
impl PartialEq<HFXODEBOUNCER> for HFXODEBOUNCER
sourcefn eq(&self, other: &HFXODEBOUNCER) -> bool
fn eq(&self, other: &HFXODEBOUNCER) -> bool
impl Copy for HFXODEBOUNCER
impl StructuralPartialEq for HFXODEBOUNCER
Auto Trait Implementations
impl RefUnwindSafe for HFXODEBOUNCER
impl Send for HFXODEBOUNCER
impl Sync for HFXODEBOUNCER
impl Unpin for HFXODEBOUNCER
impl UnwindSafe for HFXODEBOUNCER
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more