target_flash_s

Type Alias target_flash_s 

Source
pub type target_flash_s = target_flash;

Aliased Type§

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

Fields§

§t: *mut target§start: u32§length: usize§blocksize: usize§writesize: usize§writebufsize: usize§erased: u8§operation: u8§prepare: Option<unsafe extern "C" fn(*mut target_flash) -> bool>§erase: Option<unsafe extern "C" fn(*mut target_flash, u32, usize) -> bool>§write: Option<unsafe extern "C" fn(*mut target_flash, u32, *const c_void, usize) -> bool>§done: Option<unsafe extern "C" fn(*mut target_flash) -> bool>§buf: *mut c_void§buf_addr_base: u32§buf_addr_low: u32§buf_addr_high: u32§next: *mut target_flash