A key wake-up input is armed so that interrupts occur when new data arrives into
ID: 1715516 • Letter: A
Question
A key wake-up input is armed so that interrupts occur when new data arrives into the 9S12. Consider the situation in which a FIFO queue is used to buffer data between the key wake-up ISR and the main program. The ISR inputs and saves the data by calling Fifo_Put. When the main program wants input, it calls Fifo_Get. Experimental observations show this FIFO is usually empty, and has at most three elements. What does it mean? Choose from the following.
a) The system is CPU bound.
b) Bandwidth could be increased by increasing FIFO size.
c) The system is I/O bound.
d) The FIFO could be replaced by a global variable.
e) The latency is small and bounded.
f) Interrupts are not needed in this system.
Explanation / Answer
d) The FIFO could be replaced by a global variable.
b) Bandwidth could be increased by increasing FIFO size.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.