[−][src]Struct esp_idf_bindgen::esp_flash_t
@brief Structure to describe a SPI flash chip connected to the system.
Structure must be initialized before use (passed to esp_flash_init()).
Fields
host: *mut spi_flash_host_driver_t
< Pointer to hardware-specific "host_driver" structure. Must be initialized before used.
chip_drv: *const spi_flash_chip_t
< Pointer to chip-model-specific "adapter" structure. If NULL, will be detected during initialisation.
os_func: *const esp_flash_os_functions_t
< Pointer to os-specific hook structure. Call esp_flash_init_os_functions()
to setup this field, after the host is properly initialized.
os_func_data: *mut c_void
< Pointer to argument for os-specific hooks. Left NULL and will be initialized with os_func
.
read_mode: esp_flash_io_mode_t
< Configured SPI flash read mode. Set before esp_flash_init
is called.
size: u32
< Size of SPI flash in bytes. If 0, size will be detected during initialisation.
chip_id: u32
< Detected chip id.
Trait Implementations
impl Clone for esp_flash_t
[src]
fn clone(&self) -> esp_flash_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for esp_flash_t
[src]
impl Debug for esp_flash_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>,