Struct kernel::irq::LockedIrqData
source · [−]pub struct LockedIrqData(_);
Expand description
Wraps the kernel’s struct irq_data
when it is locked.
Being locked allows additional operations to be performed on the data.
Implementations
sourceimpl LockedIrqData
impl LockedIrqData
sourcepub fn set_level_handler(&mut self)
pub fn set_level_handler(&mut self)
Sets the high-level irq flow handler to the builtin one for level-triggered irqs.
sourcepub fn set_edge_handler(&mut self)
pub fn set_edge_handler(&mut self)
Sets the high-level irq flow handler to the builtin one for edge-triggered irqs.
sourcepub fn set_bad_handler(&mut self)
pub fn set_bad_handler(&mut self)
Sets the high-level irq flow handler to the builtin one for bad irqs.
Methods from Deref<Target = IrqData>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LockedIrqData
impl !Send for LockedIrqData
impl !Sync for LockedIrqData
impl Unpin for LockedIrqData
impl UnwindSafe for LockedIrqData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more