#[repr(transparent)]pub struct MmcBoot(pub u32);Expand description
MMC Boot Register
Tuple Fields§
§0: u32Implementations§
Source§impl MmcBoot
impl MmcBoot
Sourcepub const fn set_dtocv_ack(&mut self, val: DtocvAck)
pub const fn set_dtocv_ack(&mut self, val: DtocvAck)
DTOCV_ACK
Sourcepub const fn set_boot_ack(&mut self, val: BootAck)
pub const fn set_boot_ack(&mut self, val: BootAck)
BOOT_ACK
Sourcepub const fn set_boot_mode(&mut self, val: BootMode)
pub const fn set_boot_mode(&mut self, val: BootMode)
BOOT_MODE
Sourcepub const fn set_boot_en(&mut self, val: BootEn)
pub const fn set_boot_en(&mut self, val: BootEn)
BOOT_EN
Sourcepub const fn auto_sabg_en(&self) -> bool
pub const fn auto_sabg_en(&self) -> bool
AUTO_SABG_EN
Sourcepub const fn set_auto_sabg_en(&mut self, val: bool)
pub const fn set_auto_sabg_en(&mut self, val: bool)
AUTO_SABG_EN
Sourcepub const fn disable_time_out(&self) -> DisableTimeOut
pub const fn disable_time_out(&self) -> DisableTimeOut
Disable Time Out
Sourcepub const fn set_disable_time_out(&mut self, val: DisableTimeOut)
pub const fn set_disable_time_out(&mut self, val: DisableTimeOut)
Disable Time Out
Sourcepub const fn boot_blk_cnt(&self) -> u16
pub const fn boot_blk_cnt(&self) -> u16
BOOT_BLK_CNT
Sourcepub const fn set_boot_blk_cnt(&mut self, val: u16)
pub const fn set_boot_blk_cnt(&mut self, val: u16)
BOOT_BLK_CNT
Trait Implementations§
impl Copy for MmcBoot
impl Eq for MmcBoot
impl StructuralPartialEq for MmcBoot
Auto Trait Implementations§
impl Freeze for MmcBoot
impl RefUnwindSafe for MmcBoot
impl Send for MmcBoot
impl Sync for MmcBoot
impl Unpin for MmcBoot
impl UnwindSafe for MmcBoot
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