Struct stm32_metapac::sdmmc::regs::Dctrl
#[repr(transparent)]pub struct Dctrl(pub u32);
Expand description
data control register
Tuple Fields§
§0: u32
Implementations§
§impl Dctrl
impl Dctrl
pub const fn dtmode(&self) -> bool
pub const fn dtmode(&self) -> bool
Data transfer mode selection 1: Stream or SDIO multibyte data transfer
pub fn set_dtmode(&mut self, val: bool)
pub fn set_dtmode(&mut self, val: bool)
Data transfer mode selection 1: Stream or SDIO multibyte data transfer
pub const fn dblocksize(&self) -> u8
pub const fn dblocksize(&self) -> u8
Data block size
pub fn set_dblocksize(&mut self, val: u8)
pub fn set_dblocksize(&mut self, val: u8)
Data block size
pub fn set_rwstart(&mut self, val: bool)
pub fn set_rwstart(&mut self, val: bool)
Read wait start
pub fn set_rwstop(&mut self, val: bool)
pub fn set_rwstop(&mut self, val: bool)
Read wait stop
pub fn set_sdioen(&mut self, val: bool)
pub fn set_sdioen(&mut self, val: bool)
SD I/O enable functions
Trait Implementations§
impl Copy for Dctrl
impl Eq for Dctrl
impl StructuralPartialEq for Dctrl
Auto Trait Implementations§
impl Freeze for Dctrl
impl RefUnwindSafe for Dctrl
impl Send for Dctrl
impl Sync for Dctrl
impl Unpin for Dctrl
impl UnwindSafe for Dctrl
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)