文件名称:Timer0
介绍说明--下载内容来自于网络,使用问题请自行百度
//DMAVR-128的利用定时器0实现999s加1计数功能,每1s加1
//定时器用普通模式,溢出中断,加1计数
//定时器初值计算,定时10ms,1024分频为例,(FF-X+1)/F_CPU/1024=0.01s
//秒表在数码管上显示-//DMAVR-128 use of timer 999s plus a count function every 1s 1// timer overflow interrupt normal mode,, plus a count// timer initial value calculation, time 10ms, 1024 divided by example , (FF-X+1)/F_CPU/1024 = 0.01s// stopwatch displayed on the digital tube
//定时器用普通模式,溢出中断,加1计数
//定时器初值计算,定时10ms,1024分频为例,(FF-X+1)/F_CPU/1024=0.01s
//秒表在数码管上显示-//DMAVR-128 use of timer 999s plus a count function every 1s 1// timer overflow interrupt normal mode,, plus a count// timer initial value calculation, time 10ms, 1024 divided by example , (FF-X+1)/F_CPU/1024 = 0.01s// stopwatch displayed on the digital tube
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Timer0.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.