udi_intr_dispatcher_ops_t(3udi)
Interrupt dispatcher ops vector
#include <udi.h>typedef const struct { udi_channel_event_ind_op_t *channel_event_ind_op; udi_intr_event_rdy_op_t *intr_event_rdy_op; } udi_intr_dispatcher_ops_t; /* Interrupt Dispatcher Ops Vector Number */#define UDI_BUS_INTR_DISPATCH_OPS_NUM 4DESCRIPTION A bus driver which delivers interrupt indications uses the udi_intr_dispatcher_ops_t to declare the interface operations for receiving interrupt acknowledgements from the interrupt handler.
REFERENCES udi_init_info, udi_ops_init_t, udi_intr_handler_ops_t
EXAMPLE The driver's initialization structure definitions might include the following:
#define MY_INTR_DISP_OPS 2 /* My interrupt dispatcher ops */
#define MY_BUS_META 1 /* Meta index for the Bus Bridge Metalanguage */
static udi_intr_dispatcher_ops_t ddd_intr_dispatcher_ops = { ddd_intr_channel_event_ind, ddd_intr_event_rdy }; ... static udi_ops_init_t ddd_ops_init_list[] = { { MY_INTR_DISP_OPS, MY_BUS_META, UDI_BUS_INTR_DISPATCH_OPS_NUM, 0, /* chan_context_size */ (udi_ops_vector_t *)&ddd_intr_dispatcher_ops }, { 0 } };