Article | REF: S8035 V1

Microcontrollers: principles and real-time aspects

Author: Roger D. HERSCH

Publication date: December 10, 2001

You do not have access to this resource.
Click here to request your free trial access!

Already subscribed? Log in!


Français

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.

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

A Comprehensive Knowledge Base, with over 1,200 authors and 100 scientific advisors
+ More than 10,000 articles and 1,000 how-to sheets, over 800 new or updated articles every year
From design to prototyping, right through to industrialization, the reference for securing the development of your industrial projects

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

Subscribe now!

Ongoing reading
Interruptions