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

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 InterruptTrigger the downstream function-call subsystem from an Interrupt Service Routine
Hardware Interrupt SAMDTrigger downstream function-call subsystems from interrupt service routine for Arduino SAMD21 core (Da R2023b)
Hardware Interrupt AVRTrigger downstream function-call subsystems from interrupt service routine for Arduino AVR core (Da R2024a)
Hardware Interrupt SAMTrigger downstream function-call subsystems from interrupt service routine for Arduino SAM core (Da R2024b)
Hardware Interrupt Teensy4Trigger downstream function-call subsystems from interrupt service routine for Teensy 4.0 and 4.1 Arduino compatible boards (Da R2024b)

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