文件名称:src
-
所属分类:
- 标签属性:
- 上传时间:2013-06-25
-
文件大小:9.99kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.定时器原理
Timer,能产生特定的周期性中断。这个中断可以看作是操作系统心脏的脉动,用于实现时间的延时和确认超时。时钟节拍的频率越高,系统用于处理时钟中断的额外开销也越大。
W90P710 的24位 Timer 含有两个通道,分别是 Timer0 和 Timer1。每个通道有一个独立的时钟源,每隔一定时间,计数寄存器的值减 1,当计数寄存器的值达到零时,就会触发一次中断。设计通用软件可以在每个中断发生时加 1,达到计数的目的。
-timer principle
Timer, can produce specific periodic interrupt. The interrupt can be regarded as the operating system for the realization of the pulsating heart, delay and confirm the time timeout. Beat the clock frequency is high, the system for processing overhead clock interrupt more.
24 Timer W90P710 contain two channels, respectively is Timer0 and Timer1. Each channel has a separate clock source, at a certain time, count register value minus 1, when the count register value reaches zero, it will trigger an interrupt. Design can be in each interrupt occurs and 1 general software, to achieve the purpose of counting.
Timer,能产生特定的周期性中断。这个中断可以看作是操作系统心脏的脉动,用于实现时间的延时和确认超时。时钟节拍的频率越高,系统用于处理时钟中断的额外开销也越大。
W90P710 的24位 Timer 含有两个通道,分别是 Timer0 和 Timer1。每个通道有一个独立的时钟源,每隔一定时间,计数寄存器的值减 1,当计数寄存器的值达到零时,就会触发一次中断。设计通用软件可以在每个中断发生时加 1,达到计数的目的。
-timer principle
Timer, can produce specific periodic interrupt. The interrupt can be regarded as the operating system for the realization of the pulsating heart, delay and confirm the time timeout. Beat the clock frequency is high, the system for processing overhead clock interrupt more.
24 Timer W90P710 contain two channels, respectively is Timer0 and Timer1. Each channel has a separate clock source, at a certain time, count register value minus 1, when the count register value reaches zero, it will trigger an interrupt. Design can be in each interrupt occurs and 1 general software, to achieve the purpose of counting.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src/
src/Led7.c
src/Led7.h
src/W90P710_CPU_A.S
src/W90P710_Timer.c
src/W90p710_Timer.h
src/init.c
src/w90p710_aic.c
src/w90p710_aic.h
src/Led7.c
src/Led7.h
src/W90P710_CPU_A.S
src/W90P710_Timer.c
src/W90p710_Timer.h
src/init.c
src/w90p710_aic.c
src/w90p710_aic.h
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.