Trait pci_core::msi::MsiControl
source · pub trait MsiControl: Send {
// Required methods
fn enable(&mut self, address: u64, data: u32);
fn disable(&mut self);
fn signal(&mut self, address: u64, data: u32);
}
Expand description
Trait modelling an individual MSI interrupt.
Required Methods§
sourcefn enable(&mut self, address: u64, data: u32)
fn enable(&mut self, address: u64, data: u32)
Enables the interrupt, so that signaling the interrupt delivers an MSI to the specified address/data pair.