#[repr(transparent)]pub struct Cardthrctl(pub u32);Expand description
Card Threshold Control
Tuple Fields§
§0: u32Implementations§
Source§impl Cardthrctl
impl Cardthrctl
Sourcepub const fn cardrdthren(&self) -> bool
pub const fn cardrdthren(&self) -> bool
Card Read Threshold Enable.
Sourcepub const fn set_cardrdthren(&mut self, val: bool)
pub const fn set_cardrdthren(&mut self, val: bool)
Card Read Threshold Enable.
Sourcepub const fn bsyclrinten(&self) -> bool
pub const fn bsyclrinten(&self) -> bool
Busy Clear Interrupt Enable.
Sourcepub const fn set_bsyclrinten(&mut self, val: bool)
pub const fn set_bsyclrinten(&mut self, val: bool)
Busy Clear Interrupt Enable.
Sourcepub const fn cardthreshold(&self) -> u8
pub const fn cardthreshold(&self) -> u8
Card Threshold size.
Sourcepub const fn set_cardthreshold(&mut self, val: u8)
pub const fn set_cardthreshold(&mut self, val: u8)
Card Threshold size.
Trait Implementations§
Source§impl Clone for Cardthrctl
impl Clone for Cardthrctl
Source§fn clone(&self) -> Cardthrctl
fn clone(&self) -> Cardthrctl
Returns a duplicate 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 moreSource§impl Debug for Cardthrctl
impl Debug for Cardthrctl
Source§impl Default for Cardthrctl
impl Default for Cardthrctl
Source§fn default() -> Cardthrctl
fn default() -> Cardthrctl
Returns the “default value” for a type. Read more
Source§impl PartialEq for Cardthrctl
impl PartialEq for Cardthrctl
impl Copy for Cardthrctl
impl Eq for Cardthrctl
impl StructuralPartialEq for Cardthrctl
Auto Trait Implementations§
impl Freeze for Cardthrctl
impl RefUnwindSafe for Cardthrctl
impl Send for Cardthrctl
impl Sync for Cardthrctl
impl Unpin for Cardthrctl
impl UnwindSafe for Cardthrctl
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