メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

イベントのスケジューリングと割り込みの処理

Arduino でリアルタイムのタスクに対処するためのイベントのスケジューリングとハードウェア割り込みの処理

さまざまなアーキテクチャで Arduino® ボードの外部割り込みとハードウェア割り込みを使用して、リアルタイムのタスクやイベントに対するシステムの応答性を高めます。

ブロック

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 (R2023b 以降)
Hardware Interrupt AVRTrigger downstream function-call subsystems from interrupt service routine for Arduino AVR core (R2024a 以降)
Hardware Interrupt SAMTrigger downstream function-call subsystems from interrupt service routine for Arduino SAM core (R2024b 以降)
Hardware Interrupt Teensy4Trigger 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.

注目の例