[−][src]Struct esp_idf_bindgen::spi_flash_trans_t
Definition of a common transaction. Also holds the return value.
Fields
command: u8
< Command to send, always 8bits
mosi_len: u8
< Output data length, in bytes
miso_len: u8
< Input data length, in bytes
address_bitlen: u8
< Length of address in bits, set to 0 if command does not need an address
address: u32
< Address to perform operation on
mosi_data: *const u8
< Output data to salve
miso_data: *mut u8
< [out] Input data from slave, little endian
Trait Implementations
impl Clone for spi_flash_trans_t
[src]
fn clone(&self) -> spi_flash_trans_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for spi_flash_trans_t
[src]
impl Debug for spi_flash_trans_t
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,