3. Interruptions
3.1 Principles
The state of a microcontroller's output signals is known, because they are generated by the program and then stored on the output ports. On the other hand, the state of a signal at the microcontroller's input is only known when it is sampled, i.e. when the program reads the signal value at the relevant input port. Consequently, if the processor needs to react quickly to a change in the state of an input signal, it should repeatedly read the corresponding input port (continuous scanning). However, in a real-time system, it is forbidden to waste processor computing time in active waiting loops.
In order to act on an external event without requiring continuous polling, processors have an interrupt mechanism. This allows the program to be modified...
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference
This article is included in
Control and systems engineering
This offer includes:
Knowledge Base
Updated and enriched with articles validated by our scientific committees
Services
A set of exclusive tools to complement the resources
Practical Path
Operational and didactic, to guarantee the acquisition of transversal skills
Doc & Quiz
Interactive articles with quizzes, for constructive reading
Interruptions
References
Exclusive to subscribers. 97% yet to be discovered!
You do not have access to this resource.
Click here to request your free trial access!
Already subscribed? Log in!
The Ultimate Scientific and Technical Reference