Question: what is the difference between timer and counter in 8051?
Answer: Timer and counter do the same work i.e., count the number of pulses according to the given count. ... In 8051 timer or counter is upcounter. So, basically timer in 8051 counts the internal clock which is 1 MHz, whereas counter counts the external clock which is applied to T0 pin for counter 0 and T1 pin for counter 1.