登录
首页 » 通信 » dragonchip:作为一个示范的定时器的使用0,1,2,作为反例,T.

dragonchip:作为一个示范的定时器的使用0,1,2,作为反例,T.

于 2023-04-20 发布 文件大小:41.56 kB
0 44
下载积分: 2 下载次数: 2

代码说明:

Dragonchip:一个演示如可使用Timer 0, 1, 2作为计数器的例子,This program counts pulses generated by Counter A using Timer 0, 1, 2,at the same time and toggle PA2, PA1 and PA3 respectively. Pulses from PA1 then feed into PB6(T2EX) to trigger Timer 2 interrupt to toggle PA4. The Crystal frequency is 8MHz.-Dragonchip : as a demonstration of the use Timer 0, 1, 2, as counter examples, This program counts pulses generated by Counte r A using Timer 0, 1, 2, at the same time and toggle PA2. PA1 and PA3 respectively. Pulses from PA1 then f eed into PB6 (T2EX) to trigger Timer 2 interrupt to toggle mouse. The Crystal frequency is 8MHz.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104281会员总数
  • 62今日下载