#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.