Struct simics_api_sys::bindings::nand_flash_interface
source · #[repr(C)]pub struct nand_flash_interface {
pub read_access: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint16>,
pub write_access: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint16)>,
pub set_command_latch_enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>,
pub set_address_latch_enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>,
pub set_write_protect: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>,
pub set_spare_area_enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>,
}
Fields§
§read_access: Option<unsafe extern "C" fn(obj: *mut conf_object_t) -> uint16>
§write_access: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: uint16)>
§set_command_latch_enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>
§set_address_latch_enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>
§set_write_protect: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>
§set_spare_area_enable: Option<unsafe extern "C" fn(obj: *mut conf_object_t, value: c_int)>
Trait Implementations§
source§impl Clone for nand_flash_interface
impl Clone for nand_flash_interface
source§fn clone(&self) -> nand_flash_interface
fn clone(&self) -> nand_flash_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nand_flash_interface
impl Debug for nand_flash_interface
source§impl Default for nand_flash_interface
impl Default for nand_flash_interface
source§fn default() -> nand_flash_interface
fn default() -> nand_flash_interface
Returns the “default value” for a type. Read more
source§impl Hash for nand_flash_interface
impl Hash for nand_flash_interface
source§impl Ord for nand_flash_interface
impl Ord for nand_flash_interface
source§fn cmp(&self, other: &nand_flash_interface) -> Ordering
fn cmp(&self, other: &nand_flash_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for nand_flash_interface
impl PartialEq for nand_flash_interface
source§impl PartialOrd for nand_flash_interface
impl PartialOrd for nand_flash_interface
impl Copy for nand_flash_interface
impl Eq for nand_flash_interface
impl StructuralPartialEq for nand_flash_interface
Auto Trait Implementations§
impl Freeze for nand_flash_interface
impl RefUnwindSafe for nand_flash_interface
impl Send for nand_flash_interface
impl Sync for nand_flash_interface
impl Unpin for nand_flash_interface
impl UnwindSafe for nand_flash_interface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)