[MCU] 新手求助关于430使能中断

[复制链接]
735|0
 楼主| elephant00 发表于 2020-12-7 11:08 | 显示全部楼层 |阅读模式
#include

int main(void)

{

    WDTCTL = WDTPW + WDTHOLD; //禁止看门狗计数
   
    _enable_interrupts();  //使能总中断
    _bis_SR_register(LPM3_bits);//休眠
  
}

为什么编译出问题
Thu Jun 08, 2017 10:05:43: Note! The debug session was started without downloading any code.
Thu Jun 08, 2017 10:05:43: There was 1 warning during the initialization of the debugging session.
Thu Jun 08, 2017 10:05:43: Couldn't go to 'main'.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1031

主题

3946

帖子

7

粉丝
快速回复 在线客服 返回列表 返回顶部