@@ -54,7 +54,7 @@ typedef enum {
5454 ETS_USB_INTR_SOURCE , /**< interrupt of USB, level*/
5555 ETS_RTC_CORE_INTR_SOURCE , /**< interrupt of rtc core, level, include rtc watchdog*/
5656 ETS_RMT_INTR_SOURCE , /**< interrupt of remote controller, level*/
57- ETS_PCNT_INTR_SOURCE , /**< interrupt of pluse count, level*/
57+ ETS_PCNT_INTR_SOURCE , /**< interrupt of pulse count, level*/
5858 ETS_I2C_EXT0_INTR_SOURCE , /**< interrupt of I2C controller1, level*/
5959 ETS_I2C_EXT1_INTR_SOURCE , /**< interrupt of I2C controller0, level*/
6060 ETS_SPI2_DMA_INTR_SOURCE , /**< interrupt of SPI2 DMA, level*/
@@ -69,7 +69,7 @@ typedef enum {
6969 ETS_TG1_T0_LEVEL_INTR_SOURCE , /**< interrupt of TIMER_GROUP1, TIMER0, EDGE*/
7070 ETS_TG1_T1_LEVEL_INTR_SOURCE , /**< interrupt of TIMER_GROUP1, TIMER1, EDGE*/
7171 ETS_TG1_WDT_LEVEL_INTR_SOURCE , /**< interrupt of TIMER_GROUP1, WATCHDOG, EDGE*/
72- ETS_CACHE_IA_INTR_SOURCE , /**< interrupt of Cache Invalied Access, LEVEL*/
72+ ETS_CACHE_IA_INTR_SOURCE , /**< interrupt of Cache Invalid Access, LEVEL*/
7373 ETS_SYSTIMER_TARGET0_INTR_SOURCE , /**< interrupt of system timer 0 */
7474 ETS_SYSTIMER_TARGET1_INTR_SOURCE , /**< interrupt of system timer 1 */
7575 ETS_SYSTIMER_TARGET2_INTR_SOURCE , /**< interrupt of system timer 2 */
@@ -116,7 +116,9 @@ typedef enum {
116116 ETS_PERI_BACKUP_INTR_SOURCE ,
117117 ETS_DMA_EXTMEM_REJECT_SOURCE ,
118118 ETS_MAX_INTR_SOURCE , /**< number of interrupt sources */
119- } periph_interrput_t ;
119+ } periph_interrupt_t ;
120+
121+ typedef periph_interrupt_t periph_interrput_t __attribute__((deprecated ("in favor of periph_interrupt_t" )));
120122
121123extern const char * const esp_isr_names [ETS_MAX_INTR_SOURCE ];
122124
0 commit comments