登录
首页 » 嵌入式系统 » 8051 定时器中断

8051 定时器中断

于 2023-04-02 发布 文件大小:31.65 kB
0 243
下载积分: 2 下载次数: 1

代码说明:

使用 8051 定时器作为中断,在嵌入式 C.中编写代码此示例程序演示如何配置定时器/计数器 0 作为一个 16 位定时器。调用中断服务例程 (ISR) 每一次定时器溢出 (0xFFFF 去 0x0000)。在 ISR 中,overflow_countvariable 的增量。若要测试此程序......启动调试器。在 ISR 中的 overflow_count + + 行上设置断点运行该程序。每次调用时中断例程,调试器停止运行该程序。将光标定位在要查看其当前值的 theoverflow_count 变量。

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

发表评论

0 个回复

  • 汽车PKE工程 密钥转发器程序 通过车厂认证的哦
    The PCF7991AT is a fully integrated Advanced Basestation IC, ABIC, designed for car immobilizer systems providing read and write access to an identification transponder. The device is intended for use with the NXP transponder family (PCF79xx) as well as other transponder types operating at 125 kHz and employing ASK, Amplitude Shift Keying for write and AM/PM for the read operation. The receiver characteristics (amplifier gain,filter cutoff frequencies) can be optimized to system and transponder requirements. The PCF7991AT IC is designed for easy integration into immobilizer read/write and read-only systems featuring a high degree of integration and very low external component count. The device integrates a powerful antenna driver/modulator, a low-noise adaptive sampling time demodulator, programmable filters/amplifier and digitizer, required to design high-performance basestations. A three wire microcontroller interface is provided for programming the PCF7991AT as well as for th
    2023-01-18 14:55:03下载
    积分:1
  • 一个工学习参考用的液晶屏驱动源程序!可以显示文字字符和图形!...
    一个工学习参考用的液晶屏驱动源程序!可以显示文字字符和图形!-a reference for the study of the LCD driver source! Can display text characters and graphics!
    2023-06-24 01:15:03下载
    积分:1
  • ARM7开发板的DMA测试程序,这个测试程序用C语言编写。
    一个arm7开发板上的dma测试程序,此测试程序用c语言编写。-a arm7 development board dma test program, this test program using c language.
    2022-09-16 08:30:03下载
    积分:1
  • STM32F103x SmartCard程序
    根据ST提供的库修改后的代码,支持STM32F193C8T6。主要修改了引脚控制一起器件支持等主要信息
    2022-01-25 17:22:57下载
    积分:1
  • 是内存受限系统设计的代码。
    是内存受限系统设计的代码。-is limited memory system design code.
    2022-05-30 12:10:07下载
    积分:1
  • 嵌入式Linux设计与应用
    嵌入式Linux设计与应用- Inserts type Linux to design and to apply
    2022-02-01 05:27:15下载
    积分:1
  • mcf5272 the streaking procedure, initialize mcf5272, the establishment of C envi...
    mcf5272的裸奔程序,初始化mcf5272,建立C环境,跑例子程序。-mcf5272 the streaking procedure, initialize mcf5272, the establishment of C environment, run an example program.
    2022-02-07 05:08:49下载
    积分:1
  • RF 射频计算工具箱,体积超小,dos下运行
    RF 射频计算工具箱,体积超小,dos下运行-RF radio frequency calculation toolbox, the size of ultra-small, dos run
    2022-06-28 03:06:29下载
    积分:1
  • 硕士学位论文全文。CAJ格式
    硕士学位论文全文。CAJ格式--Design of AT91M40800-based embedded industrial controller. A Master degree thesis. CAJ format.
    2022-02-09 18:45:53下载
    积分:1
  • ds1302温度测试,C语言源程序,经过测试使用
    ds1302温度测试,C语言源程序,经过测试使用-ds302
    2023-02-18 07:05:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载