Question

Please evaluate and explain the following statements: f. On an ARM Cortex M4, if two interrupts...

Please evaluate and explain the following statements:

f. On an ARM Cortex M4, if two interrupts with priority numbers 0 and 1 occur simultaneously, the
interrupt controller (permanently) clears the one numbered 1 and passes the one numbered 0
to the CPU.
g. Level 0 is the highest (most urgent) interrupt priority on the Cortex M4.
h. An ISR can return a value and take arguments
i. It is OK for an ISR to safely access the SPI bus that has multiple slaves.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer :- f) When two interrupts occur simultaneously, the high priority interrupt i.e. interrupt zero is served first and on the completion of ISR for interrupt zero, interrupt one is served. So in this case nested-interrupt is being used.

Answer :- g) Level -3 i.e. power on reset is the highest priority interrupt in cortex-M4.

Answer :- h) ISR does not return value and does not take arguments. They are called by CPU when interrupt occurs.

Answer :- i) It may happen that SPI bus is being used by the master with other slave, so bus may not be available.

Add a comment
Know the answer?
Add Answer to:
Please evaluate and explain the following statements: f. On an ARM Cortex M4, if two interrupts...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT