登录
首页 » 嵌入式系统 » 定时器的应用 本程序简单的示范了如何使用ATMEGA16的定时器 AVR定时器的要点介绍 T0工作于CTC模式,输出1KHz/2KHz 50%占...

定时器的应用 本程序简单的示范了如何使用ATMEGA16的定时器 AVR定时器的要点介绍 T0工作于CTC模式,输出1KHz/2KHz 50%占...

于 2022-07-20 发布 文件大小:10.59 kB
0 40
下载积分: 2 下载次数: 1

代码说明:

定时器的应用 本程序简单的示范了如何使用ATMEGA16的定时器 AVR定时器的要点介绍 T0工作于CTC模式,输出1KHz/2KHz 50%占空比的方波 T1工作于快速PWM模式兼输入捕捉 T2工作于相位修正PWM模式,输出490Hz的8bit PWM波 -Application Timer simple demonstration of this procedure how to use the ATmega16 timers AVR timer T0 introduce the main points of work in CTC mode, the output 1KHz/2KHz 50 duty cycle square wave T1 work in fast PWM mode Input Capture and T2 work on phase-corrected PWM mode, the output of 8bit PWM wave 490Hz

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

发表评论

0 个回复

  • 基于VS1003,C8051F020的MP3,实现语音播放,实时时钟、日历提醒,温度检测、游戏娱乐等...
    基于VS1003,C8051F020的MP3,实现语音播放,实时时钟、日历提醒,温度检测、游戏娱乐等-Based on VS1003, C8051F020" s MP3, voice playback, real-time clock, calendar reminders, temperature detection, games and entertainment
    2022-07-04 03:58:37下载
    积分:1
  • 包含proteus仿真原理图,完整程序 用内部定时器做时间控制,用74ls164进行串行口控制位选 可调时间时分
    包含proteus仿真原理图,完整程序 用内部定时器做时间控制,用74ls164进行串行口控制位选 可调时间时分-Women suddenly Proteus Yi Ling原standard braise , entire most-complete序snapped using twitter时corner 器做时Jie制satirical , 74ls164 vehicles using shallow dorsal versed in shallow trap制satirical tack strip时Qin Jie Xu时
    2023-02-11 22:15:04下载
    积分:1
  • NIOS II 与USB接口的程序,用于周立功FPGA的开发板,自己的开发板只需修改引脚即可...
    NIOS II 与USB接口的程序,用于周立功FPGA的开发板,自己的开发板只需修改引脚即可-NIOS II with the USB interface procedures for weeks Ligong FPGA development board, its own development board can only modify pin
    2022-08-07 10:42:34下载
    积分:1
  • ADS8361单片机程序
    ADS7861 的关于单片机的程序。。。。。。包含头文件,和.C文件。。。。。。。。。。
    2022-03-26 17:45:58下载
    积分:1
  • FreeRTOS源代码捆绑使用FreeRTOS房本”
    FreeRTOS source code as bundled with the book "Using FreeRTOS Real-Time Kernel - A Practical Approach"-FreeRTOS source code as bundled with the book "Using FreeRTOS Real-Time Kernel- A Practical Approach"
    2022-04-14 14:51:37下载
    积分:1
  • 读写USB端口的VC程序,编译说明 : 1. 安装DDK 2. 把DDK的inc路径填在头文件的包含路径中 3. 把DDK的lib路径填在库文件的包含路径中 4...
    读写USB端口的VC程序,编译说明 : 1. 安装DDK 2. 把DDK的inc路径填在头文件的包含路径中 3. 把DDK的lib路径填在库文件的包含路径中 4. 注释掉原代码中的HIDD_ATTRIBUTES结构 // 不知作者为什么要添加这个结构定义 5. 添加setupapi.lib 如果不想安装DDK,就去掉前两步,但需要拷贝相关的头文件和库文件到工程目录--A VC program reading/writing USB port. Compilationg steps: 1. install DDK. 2. include DDK s inc path in header file s searching path. 3. include DDK s lib path in the library s search path. 4. comment out HIDD_ATTRIBUTES structure in the source file. 5. add setupapi.lib. If you don t want to install DDK, you could omit the first 2 steps, but you need to copy corresponding header files and library files.
    2022-04-12 23:15:03下载
    积分:1
  • Embedded C programming, the lower
    C嵌入式编程,较初级-Embedded C programming, the lower
    2022-04-29 13:38:57下载
    积分:1
  • fatfs 支持长文件名
    支持fat32文件系统和中文长文件名,使用时把cc936.c文件加进项目里去就好了,和普通的fatfs一样用法, 很好用。 长文件名开关设置在ffconf.h文件里 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-11-06 13:30:04下载
    积分:1
  • BLDC 矢量控制
    资源描述This application note shows how to control a permanent magnet synchronous motor (PMSM) with the sensorless field-oriented control (FOC) algorithm, using an ARM® Cortex®-M0-based PSoC 4 device. The FOC algorithm is frequently used in motor control applications because it allows motors to operate with less noise and more stable torque output than other algorithms. Sensorless FOC adds the advantage of reducing the cost due to the absence of rotor position sensors. Sensorless FOC is used in many applications including consumer (air conditioner, refrigerator), industrial (blower, pump), and commercial (elevator, escalator) products.
    2022-09-27 21:15:03下载
    积分:1
  • MiniGUI installation configurations (red7.x versions)
    minigui安装配置(red7.x以上版本)-MiniGUI installation configurations (red7.x versions)
    2022-05-01 02:51:41下载
    积分:1
  • 696524资源总数
  • 103843会员总数
  • 49今日下载