Contenu principal

La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.

Planification d’événements et gestion des interruptions

R2026a
Planifier des événements et gérer les interruptions hardware pour traiter les tâches temps réel avec Arduino

Améliorez la réactivité du système aux tâches et événements temps réel en utilisant des interruptions externes et hardware pour des cartes Arduino® avec différentes architectures.

Blocs

External Interrupt blockExternal InterruptTrigger the downstream function-call subsystem from an Interrupt Service Routine
Arduino Hardware Interrupt IconHardware Interrupt SAMDTrigger downstream function-call subsystems from interrupt service routine for Arduino SAMD21 core (depuis R2023b)
Arduino AVR Library Hardware Interrupt Block IconHardware Interrupt AVRTrigger downstream function-call subsystems from interrupt service routine for Arduino AVR core (depuis R2024a)
Arduino SAM Library Hardware Interrupt Block IconHardware Interrupt SAMTrigger downstream function-call subsystems from interrupt service routine for Arduino SAM core (depuis R2024b)
Arduino Teensy4 Library Hardware Interrupt Block IconHardware Interrupt Teensy4Trigger downstream function-call subsystems from interrupt service routine for Teensy 4.0 and 4.1 boards (depuis R2024b)

Rubriques

Résolution des problèmes

Workaround for Interrupt Workflow with Sensors

Follow the steps to use interrupts with sensors and the I2C protocol.

External Interrupts Workflow for Arduino

Follow the steps to use external interrupts in Simulink models.

Sélection d՚exemples