Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does a prescaler do in a timer?
Think about how it affects timing intervals.
Can you name an application that uses a prescaler?
Consider anything that requires keeping time.
What is the purpose of a prescaler in a timer?
Think about how the counting rate is affected.
True or False: A higher prescaler value increases the speed of counting.
Consider what happens when you divide the frequency.
You have a timer with a 2 MHz clock frequency and a prescaler set to 4. Calculate the effective counting frequency and illustrate how it would impact a program counting events from a sensor.
Remember to divide the base clock by the prescaler value.
Scenario: Your microcontroller uses a prescaler of 16. If a timer is set to trigger an event every 1 second, determine the necessary base clock frequency.
Think about how the prescaler impacts the time interval created by the timer.
4 more questions in this section. Enroll free to practise them all.
Enroll free