Skip to main content

async_irq_t

Type Alias async_irq_t 

Source
pub type async_irq_t = async_irq;
Expand description

Similar to async_wait, but holds state for an interrupt.

Aliased Type§

#[repr(C)]
pub struct async_irq_t { pub state: async_state_t, pub handler: Option<unsafe extern "C" fn(*mut async_dispatcher, *mut async_irq, i32, *const zx_packet_interrupt_t)>, pub object: u32, }

Fields§

§state: async_state_t

Private state owned by the dispatcher, initialize to zero with |ASYNC_STATE_INIT|.

§handler: Option<unsafe extern "C" fn(*mut async_dispatcher, *mut async_irq, i32, *const zx_packet_interrupt_t)>

The wait’s handler function.

§object: u32

The object to wait for signals on.