User`s guide
3 Project Generator
In this model, the Hardware Interrupt block installs a task that runs when
it detects an external interrupt. This task performs the specified function
with an LED.
Comparing Synchronous and Asynchronous Interrupt
Processing
Code generate d for periodic tasks, both single- and multitasking, runs
via a timer interrupt. A timer interrupt ensures that the generated code
representing periodic-task model blocks runs at the specified period. The
periodic interrupt clocks code execution at runtime. This periodic interrupt
clock operates on a period equal to the base sample time of your model. You
can use timer interrupts with:
3-16