Struct simics_api_sys::ms1553_link_interface
source · #[repr(C)]pub struct ms1553_link_interface {
pub connect_terminal: Option<unsafe extern "C" fn(link: *mut conf_object_t, obj: *mut conf_object_t) -> c_int>,
pub disconnect_terminal: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int)>,
pub send_data: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int, phase: ms1553_phase_t, data: ms1553_words_t)>,
pub set_terminal_address: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int, address: c_int)>,
pub clr_terminal_address: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int)>,
pub set_idle: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int)>,
pub inject_data: Option<unsafe extern "C" fn(link: *mut conf_object_t, phase: ms1553_phase_t, data: ms1553_words_t)>,
pub inject_error: Option<unsafe extern "C" fn(link: *mut conf_object_t, err: ms1553_error_t)>,
}
Fields§
§connect_terminal: Option<unsafe extern "C" fn(link: *mut conf_object_t, obj: *mut conf_object_t) -> c_int>
§disconnect_terminal: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int)>
§send_data: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int, phase: ms1553_phase_t, data: ms1553_words_t)>
§set_terminal_address: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int, address: c_int)>
§clr_terminal_address: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int)>
§set_idle: Option<unsafe extern "C" fn(link: *mut conf_object_t, id: c_int)>
§inject_data: Option<unsafe extern "C" fn(link: *mut conf_object_t, phase: ms1553_phase_t, data: ms1553_words_t)>
§inject_error: Option<unsafe extern "C" fn(link: *mut conf_object_t, err: ms1553_error_t)>
Trait Implementations§
source§impl Clone for ms1553_link_interface
impl Clone for ms1553_link_interface
source§fn clone(&self) -> ms1553_link_interface
fn clone(&self) -> ms1553_link_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 ms1553_link_interface
impl Debug for ms1553_link_interface
source§impl Default for ms1553_link_interface
impl Default for ms1553_link_interface
source§fn default() -> ms1553_link_interface
fn default() -> ms1553_link_interface
Returns the “default value” for a type. Read more
source§impl Hash for ms1553_link_interface
impl Hash for ms1553_link_interface
source§impl Ord for ms1553_link_interface
impl Ord for ms1553_link_interface
source§fn cmp(&self, other: &ms1553_link_interface) -> Ordering
fn cmp(&self, other: &ms1553_link_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 ms1553_link_interface
impl PartialEq for ms1553_link_interface
source§impl PartialOrd for ms1553_link_interface
impl PartialOrd for ms1553_link_interface
impl Copy for ms1553_link_interface
impl Eq for ms1553_link_interface
impl StructuralPartialEq for ms1553_link_interface
Auto Trait Implementations§
impl Freeze for ms1553_link_interface
impl RefUnwindSafe for ms1553_link_interface
impl Send for ms1553_link_interface
impl Sync for ms1553_link_interface
impl Unpin for ms1553_link_interface
impl UnwindSafe for ms1553_link_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
)