Selecting the timer compare value

A 16-bit hardware timer receives an ideal 20.0 MHz clock through a prescaler that divides the clock frequency by 8. Its configured cycle contains one tick at each count from 0 through compare value CC, inclusive, and then repeats. What compare value produces a 0.800 ms event period?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Delay and Timing Functions Questions: