Struct Icr
#[repr(transparent)]pub struct Icr(pub u32);Expand description
SDMMC interrupt clear register.
Tuple Fields§
§0: u32Implementations§
§impl Icr
impl Icr
pub const fn set_ccrcfailc(&mut self, val: bool)
pub const fn set_ccrcfailc(&mut self, val: bool)
CCRCFAIL flag clear bit.
pub const fn set_dcrcfailc(&mut self, val: bool)
pub const fn set_dcrcfailc(&mut self, val: bool)
DCRCFAIL flag clear bit.
pub const fn set_ctimeoutc(&mut self, val: bool)
pub const fn set_ctimeoutc(&mut self, val: bool)
CTIMEOUT flag clear bit.
pub const fn set_dtimeoutc(&mut self, val: bool)
pub const fn set_dtimeoutc(&mut self, val: bool)
DTIMEOUT flag clear bit.
pub const fn set_txunderrc(&mut self, val: bool)
pub const fn set_txunderrc(&mut self, val: bool)
TXUNDERR flag clear bit.
pub const fn set_rxoverrc(&mut self, val: bool)
pub const fn set_rxoverrc(&mut self, val: bool)
RXOVERR flag clear bit.
pub const fn set_cmdrendc(&mut self, val: bool)
pub const fn set_cmdrendc(&mut self, val: bool)
CMDREND flag clear bit.
pub const fn set_cmdsentc(&mut self, val: bool)
pub const fn set_cmdsentc(&mut self, val: bool)
CMDSENT flag clear bit.
pub const fn set_dataendc(&mut self, val: bool)
pub const fn set_dataendc(&mut self, val: bool)
DATAEND flag clear bit.
pub const fn set_dholdc(&mut self, val: bool)
pub const fn set_dholdc(&mut self, val: bool)
DHOLD flag clear bit.
pub const fn set_dbckendc(&mut self, val: bool)
pub const fn set_dbckendc(&mut self, val: bool)
DBCKEND flag clear bit.
pub const fn set_dabortc(&mut self, val: bool)
pub const fn set_dabortc(&mut self, val: bool)
DABORT flag clear bit.
pub const fn busyd0endc(&self) -> bool
pub const fn busyd0endc(&self) -> bool
BUSYD0END flag clear bit.
pub const fn set_busyd0endc(&mut self, val: bool)
pub const fn set_busyd0endc(&mut self, val: bool)
BUSYD0END flag clear bit.
pub const fn set_sdioitc(&mut self, val: bool)
pub const fn set_sdioitc(&mut self, val: bool)
SDIOIT flag clear bit.
pub const fn set_ackfailc(&mut self, val: bool)
pub const fn set_ackfailc(&mut self, val: bool)
ACKFAIL flag clear bit.
pub const fn acktimeoutc(&self) -> bool
pub const fn acktimeoutc(&self) -> bool
ACKTIMEOUT flag clear bit.
pub const fn set_acktimeoutc(&mut self, val: bool)
pub const fn set_acktimeoutc(&mut self, val: bool)
ACKTIMEOUT flag clear bit.
pub const fn set_vswendc(&mut self, val: bool)
pub const fn set_vswendc(&mut self, val: bool)
VSWEND flag clear bit.
pub const fn set_ckstopc(&mut self, val: bool)
pub const fn set_ckstopc(&mut self, val: bool)
CKSTOP flag clear bit.
pub const fn set_idmatec(&mut self, val: bool)
pub const fn set_idmatec(&mut self, val: bool)
IDMA transfer error clear bit.
pub const fn set_idmabtcc(&mut self, val: bool)
pub const fn set_idmabtcc(&mut self, val: bool)
IDMA buffer transfer complete clear bit.
Trait Implementations§
impl Copy for Icr
impl Eq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementations§
impl Freeze for Icr
impl RefUnwindSafe for Icr
impl Send for Icr
impl Sync for Icr
impl Unpin for Icr
impl UnsafeUnpin for Icr
impl UnwindSafe for Icr
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