Ereignisplanung und Unterbrechungsbehandlung
Planen von Ereignissen und Behandeln von Hardware-Unterbrechungen, um Echtzeitaufgaben mit Arduino zu bewältigen
Verbessern Sie die Reaktionsfähigkeit des Systems auf Echtzeitaufgaben und -ereignisse mithilfe von externen und Hardware-Interrupts für Arduino®-Boards in verschiedenen Architekturen.
Blöcke
| External Interrupt | Trigger the downstream function-call subsystem from an Interrupt Service Routine |
| Hardware Interrupt SAMD | Trigger downstream function-call subsystems from interrupt service routine for Arduino SAMD21 core (Seit R2023b) |
| Hardware Interrupt AVR | Trigger downstream function-call subsystems from interrupt service routine for Arduino AVR core (Seit R2024a) |
| Hardware Interrupt SAM | Trigger downstream function-call subsystems from interrupt service routine for Arduino SAM core (Seit R2024b) |
| Hardware Interrupt Teensy4 | Trigger downstream function-call subsystems from interrupt service routine for Teensy 4.0 and 4.1 Arduino compatible boards (Seit R2024b) |
Modelleinstellungen
Themen
- Model Reference Support for Arduino Driver Blocks in Simulink
Enable model hierarchy and modular design in Simulink® by using Arduino driver blocks within a referenced model.
Fehlersuche
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.









