[−][src]Struct esp_idf_bindgen::esp_flash_os_functions_t
OS-level integration hooks for accessing flash chips inside a running OS
Fields
start: Option<unsafe extern "C" fn(arg: *mut c_void) -> esp_err_t>
Called before commencing any flash operation. Does not need to be recursive (ie is called at most once for each call to 'end').
end: Option<unsafe extern "C" fn(arg: *mut c_void) -> esp_err_t>
Called after completing any flash operation.
region_protected: Option<unsafe extern "C" fn(arg: *mut c_void, start_addr: size_t, size: size_t) -> esp_err_t>
Called before any erase/write operations to check whether the region is limited by the OS
delay_us: Option<unsafe extern "C" fn(arg: *mut c_void, us: c_uint) -> esp_err_t>
Delay for at least 'us' microseconds. Called in between 'start' and 'end'.
Trait Implementations
impl Clone for esp_flash_os_functions_t
[src]
fn clone(&self) -> esp_flash_os_functions_t
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for esp_flash_os_functions_t
[src]
impl Debug for esp_flash_os_functions_t
[src]
Auto Trait Implementations
impl Send for esp_flash_os_functions_t
impl Sync for esp_flash_os_functions_t
impl Unpin for esp_flash_os_functions_t
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>,