usb_device vectored_interrupt_source
API Reference Manual  /  4 Model-to-Model Interfaces  / 

vectored_interrupt

Description
This interface is typically implemented by processors with interrupts that have vectors and priorities supplied by their sources.

The set_level() method sets the interrupt level on the target object; zero indicates that no interrupt is requested. The interrupt source should implement the vectored_interrupt_source interface.

SIM_INTERFACE(vectored_interrupt) {
        void (*set_level)(conf_object_t *NOTNULL obj,
                          conf_object_t *NOTNULL source, int level);
};
#define VECTORED_INTERRUPT_INTERFACE "vectored_interrupt"

Execution Context
Cell Context for all methods.

usb_device vectored_interrupt_source