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 blklen: usize,
pub flags: c_int,
pub error: esp_err_t,
pub timeout_ms: c_int,
}
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 buffer
blklen: usize
< block length
flags: c_int
< see below
error: esp_err_t
< error returned from transfer
timeout_ms: c_int
< response timeout, in milliseconds
Trait Implementations
sourceimpl Clone for sdmmc_command_t
impl Clone for sdmmc_command_t
sourcefn clone(&self) -> sdmmc_command_t
fn clone(&self) -> sdmmc_command_t
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for sdmmc_command_t
impl Debug for sdmmc_command_t
sourceimpl Default for sdmmc_command_t
impl Default for sdmmc_command_t
impl Copy for sdmmc_command_t
Auto Trait Implementations
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> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more