in Embedded System Design by

1 Answer

0 like 0 dislike

Timers:-
A timer is a peripheral device that can measure time intervals. Timers can be used to
1. General events at the specific time or to determine the duration of two external events.
eg. Keeping a traffic light green for a specified duration or communicating bits serially between devices at a specific rate.
2. To determine the duration of two external events.
eg. Computing a cars speed by measuring the time the car takes to pass over two separated sensors on a road.

A timer measures time by counting pulses that occur on an input clock signal having a known period.

Counters:-
A counter counts pulses on some other input signal.
eg. A counter may be used to count the number of cars that pass over a road sensor or the number of people that pass through a turnstile.

Timers & Counters are combined to measure rates.
eg. Counting the number of times the car wheel rotates in one second, in order to determine cars speed.

by

Related questions

1 answer
1 answer
asked Mar 9, 2018 in Arduino by Quiz | 106 views
2 answers
3 answers
asked Nov 15, 2017 in Power Electronics by Quiz | 411 views
1 answer
1 answer
1 answer

9,137 questions

7,896 answers

145 comments

3,236 users