首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > C8051f330中断实例代码

C8051f330中断实例代码

  • 资源大小:1.84 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: c

资 源 简 介

This software shows the necessary configuration to use External Interrupt 0 (/INT0) or External Interrupt 1 (/INT1) as an interrupt source.  The code executes the initialization routines and then spins in an infinite while() loop.  If the button on P0.7 (on the target board) is pressed, then the edge-triggered /INT0 input on P0.0 will cause an interrupt and toggle the LED.

文 件 列 表

Interrupts
F33x_External_Interrupts.c
VIP VIP
0.175739s