Struct esp_idf_hal::sys::sdmmc_command_t
source · #[repr(C)]pub struct sdmmc_command_t {
pub opcode: u32,
pub arg: u32,
pub response: [u32; 4],
pub data: *mut c_void,
pub datalen: usize,
pub blklen: usize,
pub flags: i32,
pub error: i32,
pub timeout_ms: u32,
}
Expand description
SD/MMC command information
Fields§
§opcode: u32
< SD or MMC command index
arg: u32
< SD/MMC command argument
response: [u32; 4]
< response buffer
data: *mut c_void
< buffer to send or read into
datalen: usize
< length of data buffer
blklen: usize
< block length
flags: i32
< see below
error: i32
< error returned from transfer
timeout_ms: u32
< response timeout, in milliseconds
Trait Implementations§
source§impl Clone for sdmmc_command_t
impl Clone for sdmmc_command_t
source§fn clone(&self) -> sdmmc_command_t
fn clone(&self) -> sdmmc_command_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for sdmmc_command_t
impl Debug for sdmmc_command_t
source§impl Default for sdmmc_command_t
impl Default for sdmmc_command_t
source§fn default() -> sdmmc_command_t
fn default() -> sdmmc_command_t
Returns the “default value” for a type. Read more
impl Copy for sdmmc_command_t
Auto Trait Implementations§
impl Freeze for sdmmc_command_t
impl RefUnwindSafe for sdmmc_command_t
impl !Send for sdmmc_command_t
impl !Sync for sdmmc_command_t
impl Unpin for sdmmc_command_t
impl UnwindSafe for sdmmc_command_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)