Description: 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.
To Search:
File list (Check if you may need any files):
src
...\Led7.c
...\Led7.h
...\W90P710_CPU_A.S
...\W90P710_Timer.c
...\W90p710_Timer.h
...\init.c
...\w90p710_aic.c
...\w90p710_aic.h