#[repr(transparent)]pub struct Debnce(pub u32);Expand description
Debounce Count register
Tuple Fields§
§0: u32Implementations§
Source§impl Debnce
impl Debnce
Sourcepub const fn debounce_count(&self) -> u32
pub const fn debounce_count(&self) -> u32
Number of host clocks (SD_CLK) used by debounce filter logic for card detect; typical debounce time is 5-25 ms.
Sourcepub const fn set_debounce_count(&mut self, val: u32)
pub const fn set_debounce_count(&mut self, val: u32)
Number of host clocks (SD_CLK) used by debounce filter logic for card detect; typical debounce time is 5-25 ms.
Trait Implementations§
impl Copy for Debnce
impl Eq for Debnce
impl StructuralPartialEq for Debnce
Auto Trait Implementations§
impl Freeze for Debnce
impl RefUnwindSafe for Debnce
impl Send for Debnce
impl Sync for Debnce
impl Unpin for Debnce
impl UnwindSafe for Debnce
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