Type Alias target_flash_s
Source pub type target_flash_s = target_flash;
#[repr(C)]
pub struct target_flash_s {Show 17 fields
pub t: *mut target,
pub start: u32,
pub length: usize,
pub blocksize: usize,
pub writesize: usize,
pub writebufsize: usize,
pub erased: u8,
pub operation: u8,
pub prepare: Option<unsafe extern "C" fn(*mut target_flash) -> bool>,
pub erase: Option<unsafe extern "C" fn(*mut target_flash, u32, usize) -> bool>,
pub write: Option<unsafe extern "C" fn(*mut target_flash, u32, *const c_void, usize) -> bool>,
pub done: Option<unsafe extern "C" fn(*mut target_flash) -> bool>,
pub buf: *mut c_void,
pub buf_addr_base: u32,
pub buf_addr_low: u32,
pub buf_addr_high: u32,
pub next: *mut target_flash,
}