Question: Microcontrollers 1. What is 4-bit BCD value of 101010102? 2. What is the difference between polling and interupt? Use an example to describe the operation
1. What is 4-bit BCD value of 101010102? 2. What is the difference between polling and interupt? Use an example to describe the operation of polling and interrupt. 3. How many different interrupts does 68HC12 have? List the interrupt sources of 68HC12 4. What is maskable interrupt? 5. What is non-maskable interrupt? 6. What is the relationship between Reset and interrupt? 7. What is interrupt service routine? 8. What is interrupt vector table? How is it used by CPU? How to initialize the interrupt vector table? 9. How to enable and disable maskable interrupt? How to enable and disable non-maskable interrupt? 10. How many different interrupt service routines can 68HC12 have? 11. How does CPU know which interrupt service routine to run after getting an interrupt? 12. List step-by-step actions of the CPU when an interrupt occurs. 13. Can you call an interrupt service routine in your main program without crashing the program? Explain. 14. What is software interrupt? What is the difference between software interrupt and calling a subroutine? 15. Give an example of using the software interrupt. 16. What is interrupt priority? When is interrupt priority useful? 17. Can a higher priority-interrupt interrupt CPU while it is executing a lower priority ISR? 18. Can a lower priority-interrupt interrupt CPU while it is executing a higher priority ISR 19. Is it appropriate to include a long program code in the interrupt service routine? Why or why not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
