Lines Matching full:interrupt
14 * Interrupt allocation flags - These flags can be used to specify
15 * which interrupt qualities the code calling esp_intr_alloc* needs.
26 #define ESP_INTR_FLAG_SHARED (1<<8) /* Interrupt can be shared between ISRs */
27 #define ESP_INTR_FLAG_EDGE (1<<9) /* Edge-triggered interrupt */
29 #define ESP_INTR_FLAG_INTRDISABLED (1<<11) /* Return with this interrupt disabled */
44 * Get the interrupt flags from the supplied priority.
50 * Check interrupt flags from input and filter unallowed values.
55 /* Function prototype for interrupt handler function */
59 * @brief Initializes interrupt table to its defaults
64 * @brief Allocate an interrupt with the given parameters.
66 * This finds an interrupt that matches the restrictions as given in the flags
67 * parameter, maps the given interrupt source to it and hooks up the given
68 * interrupt handler (with optional argument) as well. If needed, it can return
69 * a handle for the interrupt as well.
71 * @param source The interrupt source.
74 * is 0, it will default to allocating a non-shared interrupt of level
76 * interrupt of level 1. Setting ESP_INTR_FLAG_INTRDISABLED will return
77 * from this function with the interrupt disabled.
78 * @param handler The interrupt handler.
79 * @param arg Optional argument for passed to the interrupt handler
81 * later be used to request details or free the interrupt. Can be NULL if no handle
85 * -ENODEV No free interrupt found with the specified flags
95 * @brief Disable the interrupt associated with the source
97 * @param source The interrupt source
105 * @brief Enable the interrupt associated with the source
107 * @param source The interrupt source
117 * @return bitmask of enabled interrupt sources