Time and event management
Microcontrollers: principles and real-time aspects

Add to my library

S8035 V1 Article

Time and event management


Microcontrollers: principles and real-time aspects

Author : Roger D. HERSCH

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

Add to my library Add to my library

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

Already subscribed?

4. Time and event management

4.1 Principles

Any industrial control system must be able to maintain a clock that accurately indicates the current time, to generate signals of given period and duration, to count the number of pulses of an external signal, and to know exactly when an event has taken place.

Microcontrollers generally feature a free counter (e.g. a 16-bit counter) which increments its value on each edge of a clock signal. When the counter passes from its maximum value to zero, an interrupt is generated. The interrupt routine associated with this interrupt can maintain a higher-resolution software counter (e.g. 32 or 64 bits), so that an absolute time value is available at all times.

To generate microcontroller-programmable duration signals, the program...

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?


Ongoing reading
Time and event management

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

Contenus associés

Sur le même sujet

Veille personnalisée : Inscrivez-vous !

Dans les ressources documentaires

Ordonnancement temps réel - Ordonnancement multiprocesseur

Le simple fait d'ajouter un processeur supplémentaire à la plateforme augmente drastiquement la complexit...

Systèmes d’exploitation temps réel - Principes

Une application en temps réel met en œuvre des systèmes informatiques ou informatisés coopérant avec l’ho...

Systèmes d'exploitation temps réel – Exemples d'exécutifs industriels

Actuellement, l'offre industrielle pour les systèmes d'exploitation temps réel est importante et variée. ...

Ordonnancement temps réel - Ordonnancement réparti

La complexité des procédés à commander ou à superviser, le nombre élevé de données et d’événements à trai...

Tous les livres blancs
Toutes les actualités
Contact us