pub struct IrqRequest { /* private fields */ }Expand description
Request parameters for an IRQ action.
Implementations§
Source§impl IrqRequest
impl IrqRequest
Sourcepub const fn new(handler: RawIrqHandler, data: NonNull<()>) -> Self
pub const fn new(handler: RawIrqHandler, data: NonNull<()>) -> Self
Creates a new exclusive, global, auto-enabled IRQ request.
Sets the sharing mode.
Sourcepub const fn auto_enable(self, auto_enable: AutoEnable) -> Self
pub const fn auto_enable(self, auto_enable: AutoEnable) -> Self
Sets whether the action should be enabled after request.
Trait Implementations§
Source§impl Clone for IrqRequest
impl Clone for IrqRequest
Source§fn clone(&self) -> IrqRequest
fn clone(&self) -> IrqRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IrqRequest
Auto Trait Implementations§
impl !Send for IrqRequest
impl !Sync for IrqRequest
impl Freeze for IrqRequest
impl RefUnwindSafe for IrqRequest
impl Unpin for IrqRequest
impl UnsafeUnpin for IrqRequest
impl UnwindSafe for IrqRequest
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