Department of Computer Science and Information EngineeringNational Cheng Kung University, TAIWAN
HANELCOUNTER PROGRAMMINGTCONRegister
TCON (timer control) register is an 8-bit register
TCON: Timer/Counter Control RegisterIT0
IE0
IT1
IE1
TR0
TF0
TR1
TF1
The upper four bits are used to store the TF and TR bits of both timer 0 and 1The lower 4 bits are set aside for controlling the interrupt bits