/* This file is part of the libopencm3 project.
 *
 * It was generated by the irq2nvic_h script.
 */

#ifndef LIBOPENCM3_LPC43xx_M4_NVIC_H
#define LIBOPENCM3_LPC43xx_M4_NVIC_H

#include <libopencm3/cm3/nvic.h>

/** @defgroup CM3_nvic_defines_LPC43xx (M4) User interrupts for LPC 43xx series M4 core (rev_1_7_UM10503)
    @ingroup CM3_nvic_defines

    @{*/

#define NVIC_DAC_IRQ 0
#define NVIC_M0CORE_IRQ 1
#define NVIC_DMA_IRQ 2
#define NVIC_FLASHEEPROM_IRQ 4
#define NVIC_ETHERNET_IRQ 5
#define NVIC_SDIO_IRQ 6
#define NVIC_LCD_IRQ 7
#define NVIC_USB0_IRQ 8
#define NVIC_USB1_IRQ 9
#define NVIC_SCT_IRQ 10
#define NVIC_RITIMER_IRQ 11
#define NVIC_TIMER0_IRQ 12
#define NVIC_TIMER1_IRQ 13
#define NVIC_TIMER2_IRQ 14
#define NVIC_TIMER3_IRQ 15
#define NVIC_MCPWM_IRQ 16
#define NVIC_ADC0_IRQ 17
#define NVIC_I2C0_IRQ 18
#define NVIC_I2C1_IRQ 19
#define NVIC_SPI_IRQ 20
#define NVIC_ADC1_IRQ 21
#define NVIC_SSP0_IRQ 22
#define NVIC_SSP1_IRQ 23
#define NVIC_USART0_IRQ 24
#define NVIC_UART1_IRQ 25
#define NVIC_USART2_IRQ 26
#define NVIC_USART3_IRQ 27
#define NVIC_I2S0_IRQ 28
#define NVIC_I2S1_IRQ 29
#define NVIC_SPIFI_IRQ 30
#define NVIC_SGPIO_IRQ 31
#define NVIC_PIN_INT0_IRQ 32
#define NVIC_PIN_INT1_IRQ 33
#define NVIC_PIN_INT2_IRQ 34
#define NVIC_PIN_INT3_IRQ 35
#define NVIC_PIN_INT4_IRQ 36
#define NVIC_PIN_INT5_IRQ 37
#define NVIC_PIN_INT6_IRQ 38
#define NVIC_PIN_INT7_IRQ 39
#define NVIC_GINT0_IRQ 40
#define NVIC_GINT1_IRQ 41
#define NVIC_EVENTROUTER_IRQ 42
#define NVIC_C_CAN1_IRQ 43
#define NVIC_ADCHS_IRQ 45
#define NVIC_ATIMER_IRQ 46
#define NVIC_RTC_IRQ 47
#define NVIC_WWDT_IRQ 49
#define NVIC_M0SUB_IRQ 50
#define NVIC_C_CAN0_IRQ 51
#define NVIC_QEI_IRQ 52

#define NVIC_IRQ_COUNT 53

/**@}*/

/** @defgroup CM3_nvic_isrprototypes_LPC43xx (M4) User interrupt service routines (ISR) prototypes for LPC 43xx series M4 core (rev_1_7_UM10503)
    @ingroup CM3_nvic_isrprototypes

    @{*/

BEGIN_DECLS

void WEAK dac_isr(void);
void WEAK m0core_isr(void);
void WEAK dma_isr(void);
void WEAK flasheeprom_isr(void);
void WEAK ethernet_isr(void);
void WEAK sdio_isr(void);
void WEAK lcd_isr(void);
void WEAK usb0_isr(void);
void WEAK usb1_isr(void);
void WEAK sct_isr(void);
void WEAK ritimer_isr(void);
void WEAK timer0_isr(void);
void WEAK timer1_isr(void);
void WEAK timer2_isr(void);
void WEAK timer3_isr(void);
void WEAK mcpwm_isr(void);
void WEAK adc0_isr(void);
void WEAK i2c0_isr(void);
void WEAK i2c1_isr(void);
void WEAK spi_isr(void);
void WEAK adc1_isr(void);
void WEAK ssp0_isr(void);
void WEAK ssp1_isr(void);
void WEAK usart0_isr(void);
void WEAK uart1_isr(void);
void WEAK usart2_isr(void);
void WEAK usart3_isr(void);
void WEAK i2s0_isr(void);
void WEAK i2s1_isr(void);
void WEAK spifi_isr(void);
void WEAK sgpio_isr(void);
void WEAK pin_int0_isr(void);
void WEAK pin_int1_isr(void);
void WEAK pin_int2_isr(void);
void WEAK pin_int3_isr(void);
void WEAK pin_int4_isr(void);
void WEAK pin_int5_isr(void);
void WEAK pin_int6_isr(void);
void WEAK pin_int7_isr(void);
void WEAK gint0_isr(void);
void WEAK gint1_isr(void);
void WEAK eventrouter_isr(void);
void WEAK c_can1_isr(void);
void WEAK adchs_isr(void);
void WEAK atimer_isr(void);
void WEAK rtc_isr(void);
void WEAK wwdt_isr(void);
void WEAK m0sub_isr(void);
void WEAK c_can0_isr(void);
void WEAK qei_isr(void);

END_DECLS

/**@}*/

#endif /* LIBOPENCM3_LPC43xx_M4_NVIC_H */
