What is the usage of Interrupt ID Register within the UART-00396
This subjective question is related to the book/course
vu cs201 Introduction to Programming.
It can also be found in
vu cs201 Mid Term Solved Past Paper No. 9.
Question 1: What is the usage of Interrupt ID Register within the UART?
2 1 bits for Modem/Line
00 = Change in Modem Status
01 = THR is Empty
10 = Data is Ready
11 = Error in Data
Answer:
Once an interrupt occurs it may be required to identify the case of the interrupt. This register is used to identify the cause of the interrupt.
Interrupt ID Register
0 bit for Trigger Triggered2 1 bits for Modem/Line
00 = Change in Modem Status
01 = THR is Empty
10 = Data is Ready
11 = Error in Data