Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . Explain the differences between using polling and event - driven techniques for testing the state of one of the digital input pins on

1. Explain the differences between using polling and event-driven techniques for testing
the state of one of the digital input pins on a microcontroller.
2. List the most significant actions that a CPU takes when it responds to an enabled
interrupt.
3. Explain the following terms with respect to interrupts:
a. Priority
b. Latency
c. Nesting
4. A comparator circuit and LM35 are to be used to create an interrupt source, using the
circuit of Fig. 9.5. The comparator is supplied from 5.0 V, and the temperature
threshold is to be approximately 38C. Suggest values for R1 and R2. Resistor values
of 470,680,820,1k,1k2,1k5, and 10k are available.
5. Describe in overview how a timer circuit can be implemented in hardware as part of a
microprocessors architecture.
6. What is the maximum value, in decimal, that a 12-bit and a 24-bit counter can count
up to?
7. A 4.0-MHz clock signal is connected to the inputs of a 12-bit and a 16-bit counter.
Each starts counting from zero. How long does it take before each it reaches its
maximum value?
8. A 10-bit counter, clocked with an input frequency of 512 kHz, runs continuously.
Every time it overflows, it generates an interrupt. What is the frequency of that interrupt stream?
9. What is the purpose of the mbeds Real Time Clock? Give an example of when it
might be used.
10. 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Web Database Development Step By Step

Authors: Jim Buyens

1st Edition

0735609667, 978-0735609662

More Books

Students also viewed these Databases questions

Question

Define predatory pricing, dumping, and collusive pricing. EXERCISES

Answered: 1 week ago