#[repr(transparent)]pub struct MmcBoot(pub u32);Expand description
MMC Boot
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)
Boot ACK time out
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 enable
Sourcepub const fn auto_sabg_en(&self) -> bool
pub const fn auto_sabg_en(&self) -> bool
Auto stop at block gap
Sourcepub const fn set_auto_sabg_en(&mut self, val: bool)
pub const fn set_auto_sabg_en(&mut self, val: bool)
Auto stop at block gap
Sourcepub const fn disable_time_out(&self) -> DisableTimeOut
pub const fn disable_time_out(&self) -> DisableTimeOut
Time out
Sourcepub const fn set_disable_time_out(&mut self, val: DisableTimeOut)
pub const fn set_disable_time_out(&mut self, val: DisableTimeOut)
Time out
Sourcepub const fn boot_blk_cnt(&self) -> u16
pub const fn boot_blk_cnt(&self) -> u16
Stop At Block Gap value of automatic mode
Sourcepub const fn set_boot_blk_cnt(&mut self, val: u16)
pub const fn set_boot_blk_cnt(&mut self, val: u16)
Stop At Block Gap value of automatic mode
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