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:
parent
1d91d949af
commit
6cb4a66ff6
@ -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 */
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user