..HARDWAREEXTIexti.c(80): error: #20: identifier "EXTI0_IRQn" is undefined

2019-07-21 05:55发布

 NVIC_InitStructure.NVIC_IRQChannel = EXTI0_IRQn;
 NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority =0x02;
 NVIC_InitStructure.NVIC_IRQChannelSubPriority =0x03;
 NVIC_InitStructure.NVIC_IRQChannelCmd=ENABLE;
 NVIC_Init(&NVIC_InitStructure);


这段代码编译后出现
..HARDWAREEXTIexti.c(80): error:  #20: identifier "EXTI0_IRQn" is undefined
神马情况,求大神指教
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。