General discussion

Locked

I/O interrupts

By neilmay2 ·
If an I/O device interrupts the CPU. What sequence of events could possibly follow???

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

I/O interrupts

by csmith In reply to I/O interrupts

Interrupts in this case mean that the current application is interrupted, and the I/O device is serviced.
The classic example of the is when there is a download going on.
The PC can be running other applications, and when the FIFO of the UART in the MODEM is almost full of data, it sends an interrupt to the CPU.
The CPU jumps to the service routine for the Serial Port (MODEM), transfers the data to a buffer or file (Depending on setup) and then exits the interrupt routine back to whatever itwas doing before the interrupt occurred.
A lot of interrupts occur in a PC all the time.
The most regular is of course the interrupt to update the time.
Regards, Chris

Collapse -

I/O interrupts

by VinnyD In reply to I/O interrupts

When an interrupt happens the computer goes to a section of programming that processes what the interrupt needs to be done.

Then when finished, the computer returns to the programming it was running originally.

Collapse -

I/O interrupts

by neilmay2 In reply to I/O interrupts

Poster rated this answer

Back to Desktop Forum
3 total posts (Page 1 of 1)  

Related Discussions

Hardware Forums