Struct esp_idf_sys::sdmmc_command_t
source · #[repr(C)]pub struct sdmmc_command_t {
pub opcode: u32,
pub arg: u32,
pub response: sdmmc_response_t,
pub data: *mut c_void,
pub datalen: usize,
pub buflen: usize,
pub blklen: usize,
pub flags: c_int,
pub error: esp_err_t,
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: sdmmc_response_t
< response buffer
data: *mut c_void
< buffer to send or read into
datalen: usize
< length of data in the buffer
buflen: usize
< length of the buffer
blklen: usize
< block length
flags: c_int
< see below
error: esp_err_t
< 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
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
)