Multiple choice technology embedded technologies

If Timer is one among the peripherals of a microcontroller,what are all the registers that are to be initialized ?

  1. ClockRegister and MatchControlRegister

  2. AlarmRegister and MemoryMatchRegister

  3. MatchInterruptControllerRegister only

  4. CountControlRegister and ClockRegister

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Setting up a hardware timer peripheral on microcontrollers generally requires configuring count control registers to define timer/counter mode and clock source registers to determine the tick frequency. Other registers listed are hardware-specific or not universally required initializers.