Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
HANEL
PROGRAMMING TIMERS IN CCalculating Delay Length Using Timers
To speed up the 8051, many recent versions of the 8051 have reduced the number of clocks per machine cycle from 12 to four, or even oneThe frequency for the timer is always 1/12
ththe frequency of the crystal
attached to the 8051, regardless of the 8051 version