What can edge-triggered interrupts be used for?
Submitted By: Craig Steiner FAQ Last Modified: 11/21/06
- Edge-triggered interrupts are often used for capturing data from external devices. For example, an external device may put data on 8 I/O lines and then bring a control line low when the data is stable. In such a case, you would want to read the 8 I/O lines only when the line goes from high to low (on the edge)--not the entire time the line is low.
level vs edge interrupt
Submitted By: Erik Malund FAQ Last Modified: 11/21/06
- the main diffrence between level and edge triigered interrupts is that a level interrupt will keep interrupting till it is removed. Thus a level interrtupt can only be used where the ISR (Interrupt Service Routine) send out a signal to the interrupting device "remove the interrupt signal". In contrast an edge triggered interrupt triggers when the line goes low and thus no removal of the cause is required.
Add Information to this FAQ: If you have additional information or alternative solutions to this question, you may add to this FAQ by clicking here.