#[repr(transparent)]pub struct ProtCtrl(pub u32);Expand description
Protocol Control
Tuple Fields§
§0: u32Implementations§
Source§impl ProtCtrl
impl ProtCtrl
Sourcepub const fn set_dmasel(&mut self, val: Dmasel)
pub const fn set_dmasel(&mut self, val: Dmasel)
DMA select
Sourcepub const fn set_sabgreq(&mut self, val: Sabgreq)
pub const fn set_sabgreq(&mut self, val: Sabgreq)
Stop at block gap request
Sourcepub const fn rd_done_no_8clk(&self) -> bool
pub const fn rd_done_no_8clk(&self) -> bool
Read performed number 8 clock
Sourcepub const fn set_rd_done_no_8clk(&mut self, val: bool)
pub const fn set_rd_done_no_8clk(&mut self, val: bool)
Read performed number 8 clock
Sourcepub const fn set_wecint(&mut self, val: Wecint)
pub const fn set_wecint(&mut self, val: Wecint)
Wakeup event enable on card interrupt
Sourcepub const fn set_wecins(&mut self, val: Wecins)
pub const fn set_wecins(&mut self, val: Wecins)
Wakeup event enable on SD card insertion
Sourcepub const fn burst_len_en(&self) -> BurstLenEn
pub const fn burst_len_en(&self) -> BurstLenEn
BURST length enable for INCR, INCR4 / INCR8 / INCR16, INCR4-WRAP / INCR8-WRAP / INCR16-WRAP
Sourcepub const fn set_burst_len_en(&mut self, val: BurstLenEn)
pub const fn set_burst_len_en(&mut self, val: BurstLenEn)
BURST length enable for INCR, INCR4 / INCR8 / INCR16, INCR4-WRAP / INCR8-WRAP / INCR16-WRAP
Sourcepub const fn non_exact_blk_rd(&self) -> NonExactBlkRd
pub const fn non_exact_blk_rd(&self) -> NonExactBlkRd
Non-exact block read
Sourcepub const fn set_non_exact_blk_rd(&mut self, val: NonExactBlkRd)
pub const fn set_non_exact_blk_rd(&mut self, val: NonExactBlkRd)
Non-exact block read
Trait Implementations§
impl Copy for ProtCtrl
impl Eq for ProtCtrl
impl StructuralPartialEq for ProtCtrl
Auto Trait Implementations§
impl Freeze for ProtCtrl
impl RefUnwindSafe for ProtCtrl
impl Send for ProtCtrl
impl Sync for ProtCtrl
impl Unpin for ProtCtrl
impl UnwindSafe for ProtCtrl
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