In AVR, which of the following registers are not used for programming timers?

Ngân Lam

New member
In AVR, which of the following registers are not used for programming timers?
A. TCNT
B. TCON
C. TIFR
D. None of the mentioned
 
Answer: b
Explanation: In the timer programming of an AVR microcontroller, mainly used registers are TCNTn that stores the values of the count. TCCRn that is used to assign the mode of operation of a timer and TIFR that stores the status of various flags of the timers. Two more registers are used they are OCRn and OCFn. They are used for comparison with the count register.
 

Tìm kiếm

Back
Top