1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

cpu/esp32: add interrupt for RMT

This commit is contained in:
Gunar Schorcht 2023-03-26 18:31:21 +02:00
parent 1d91d949af
commit 6cb4a66ff6
2 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ extern "C" {
*
* @{
*/
#define CPU_INUM_RMT 1 /**< Level interrupt with low priority 1 */
#define CPU_INUM_GPIO 2 /**< Level interrupt with low priority 1 */
#define CPU_INUM_CAN 3 /**< Level interrupt with low priority 1 */
#define CPU_INUM_UART 4 /**< Level interrupt with low priority 1 */

View File

@ -86,6 +86,7 @@ static const struct intr_handle_data_t _irq_data_table[] = {
#if defined(ETS_USB_SERIAL_JTAG_INTR_SOURCE)
{ ETS_USB_SERIAL_JTAG_INTR_SOURCE, CPU_INUM_SERIAL_JTAG, 1 },
#endif
{ ETS_RMT_INTR_SOURCE, CPU_INUM_RMT, 1 },
};
#define IRQ_DATA_TABLE_SIZE ARRAY_SIZE(_irq_data_table)