Struct simics::api::interface::interfaces::InterruptAckInterface
source · pub struct InterruptAckInterface {
obj: *mut ConfObject,
interface: *mut interrupt_ack_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut interrupt_ack_interface
Implementations§
source§impl InterruptAckInterface
impl InterruptAckInterface
sourcepub fn raise_interrupt(
&mut self,
cb: interrupt_ack_fn_t,
ack_obj: *mut conf_object_t,
) -> Result<()>
pub fn raise_interrupt( &mut self, cb: interrupt_ack_fn_t, ack_obj: *mut conf_object_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn lower_interrupt(&mut self, cb: interrupt_ack_fn_t) -> Result<()>
pub fn lower_interrupt(&mut self, cb: interrupt_ack_fn_t) -> Result<()>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for InterruptAckInterface
impl Interface for InterruptAckInterface
source§const NAME: &'static [u8] = crate::api::sys::INTERRUPT_ACK_INTERFACE
const NAME: &'static [u8] = crate::api::sys::INTERRUPT_ACK_INTERFACE
The name of the interface
source§type InternalInterface = interrupt_ack_interface
type InternalInterface = interrupt_ack_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for InterruptAckInterface
impl RefUnwindSafe for InterruptAckInterface
impl !Send for InterruptAckInterface
impl !Sync for InterruptAckInterface
impl Unpin for InterruptAckInterface
impl UnwindSafe for InterruptAckInterface
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