1.

Which timer register has both timers in it?(a) TMOD(b) TCON(c) Both TMOD and TCON(d) Neither TMOD nor TCONThis question was posed to me in an interview for internship.Asked question is from Microcontroller (8051- Pin, Registers, Timers) topic in section Prototyping Embedded Devices of IOT

Answer»

The CORRECT OPTION is (a) TMOD

The best I can EXPLAIN: In the TMOD register, lower 4 bits are set for timer0 and the upper 4 bits are set ASIDE for TIMER1. In each case, the lower 2 bits are used to set the timer mode and upper 2 bits to specify the operation.



Discussion

No Comment Found

Related InterviewSolutions