Interruptions
Microcontrollers: principles and real-time aspects
Article REF: S8035 V1
Interruptions
Microcontrollers: principles and real-time aspects

Author : Roger D. HERSCH

Publication date: December 10, 2001 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

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...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

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?


Article included in this offer

"Control and systems engineering"

( 143 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details