이벤트 스케줄링과 인터럽트 처리
Arduino로 실시간 작업을 처리하기 위해 이벤트를 스케줄링하고 하드웨어 인터럽트 처리
다양한 아키텍처의 Arduino® 보드에서 외부 인터럽트와 하드웨어 인터럽트를 사용하여 실시간 작업 및 이벤트에 대한 시스템 응답성을 개선합니다.
블록
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 (R2023b 이후) |
Hardware Interrupt AVR | Trigger downstream function-call subsystems from interrupt service routine for Arduino AVR core (R2024a 이후) |
Hardware Interrupt SAM | Trigger downstream function-call subsystems from interrupt service routine for Arduino SAM core (R2024b 이후) |
Hardware Interrupt Teensy4 | Trigger downstream function-call subsystems from interrupt service routine for Teensy 4.0 and 4.1 Arduino compatible boards (R2024b 이후) |
문제 해결
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.