永发信息网

stm8单片机中main.c中 __enable_interrupt()显示错误456(26) missing prototype。怎么修改?

答案:1  悬赏:80  手机版
解决时间 2021-01-12 07:29
  • 提问者网友:暮烟疏雨之际
  • 2021-01-12 00:11
stm8单片机中main.c中 __enable_interrupt()显示错误456(26) missing prototype。怎么修改?
最佳答案
  • 五星知识达人网友:鱼芗
  • 2021-01-12 00:22
struct interrupt_vector const _vectab[] = {
{0x82, (interrupt_handler_t)_stext},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt0},
{0x82, NonHandledInterrupt1},
{0x82, NonHandledInterrupt2},
{0x82, NonHandledInterrupt3},
{0x82, NonHandledInterrupt4},
{0x82, PC_interrupt},
{0x82, PD_interrupt},
{0x82, NonHandledInterrupt7},
{0x82, NonHandledInterrupt8},
{0x82, NonHandledInterrupt9},
{0x82, NonHandledInterrupt10},
{0x82, NonHandledInterrupt11},
{0x82, NonHandledInterrupt12},
{0x82, NonHandledInterrupt13},
{0x82, NonHandledInterrupt14},
{0x82, TIM3_interrupt},
{0x82, NonHandledInterrupt16},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, adc1_interrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
{0x82, NonHandledInterrupt},
};
在这里面修改就可以了
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯