Contenuto principale

La traduzione di questa pagina non è aggiornata. Fai clic qui per vedere l'ultima versione in inglese.

Pianificazione degli eventi e gestione delle interruzioni

R2026a
Pianificare gli eventi e gestire le interruzioni hardware per affrontare attività in tempo reale con Arduino

Migliorare la reattività del sistema alle attività e agli eventi in tempo reale utilizzando interruzioni esterne e hardware per le schede Arduino® tra diverse architetture.

Blocchi

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 (Da R2023b)
Arduino AVR Library Hardware Interrupt Block IconHardware Interrupt AVRTrigger downstream function-call subsystems from interrupt service routine for Arduino AVR core (Da R2024a)
Arduino SAM Library Hardware Interrupt Block IconHardware Interrupt SAMTrigger downstream function-call subsystems from interrupt service routine for Arduino SAM core (Da 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 (Da R2024b)

Argomenti

Risoluzione dei problemi

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.

Esempi in primo piano