Question: 1 . Explain the differences between using polling and event - driven techniques for testing the state of one of the digital input pins on
Explain the differences between using polling and eventdriven techniques for testing
the state of one of the digital input pins on a microcontroller.
List the most significant actions that a CPU takes when it responds to an enabled
interrupt.
Explain the following terms with respect to interrupts:
a Priority
b Latency
c Nesting
A comparator circuit and LM are to be used to create an interrupt source, using the
circuit of Fig. The comparator is supplied from V and the temperature
threshold is to be approximately C Suggest values for R and R Resistor values
of kkk and k are available.
Describe in overview how a timer circuit can be implemented in hardware as part of a
microprocessors architecture.
What is the maximum value, in decimal, that a bit and a bit counter can count
up to
A MHz clock signal is connected to the inputs of a bit and a bit counter.
Each starts counting from zero. How long does it take before each it reaches its
maximum value?
A bit counter, clocked with an input frequency of kHz runs continuously.
Every time it overflows, it generates an interrupt. What is the frequency of that interrupt stream?
What is the purpose of the mbeds Real Time Clock? Give an example of when it
might be used.
Describe the issue of switch bounce and explain how timers can be used to overcome
this. What is the disadvantage of this approach?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
