Hardware Interrupt
Trigger downstream function-call subsystem from an interrupt service routine
Since R2022b
Libraries:
SoC Blockset Support Package for Infineon AURIX Microcontrollers /
AURIX TC4x
Description
Trigger the downstream function-call subsystem from an interrupt service routine.
Ports
Input
Default event task — Function-call event input simulation
scalar
The simulation-only message input acts as pass-through with the output emitted on the block in simulation.
Dependencies
To enable this port, select the Enable simulation port parameter.
Output
Default event — Generate interrupt request
scalar
The output of this block is a function-call.
Parameters
Simulink task priority — Set priority of selected ISR
50
(default) | 0-255
The value you specify in this parameter sets the priority of the downstream function-call subsystem. The simulink task priority of the selected (ISR) is relative to the model base rate priority.
Disable interrupt pre-emption — Select to disable interrupt preemption
off
(default) | on
By default, an interrupt can be preempted by a higher priority interrupt. Selecting this option allows low priority interrupts to complete their execution without being preempted by other interrupts.
Enable simulation port — Enable peripheral simulation ports in the block
off
(default) | on
Select this parameter to enable peripheral simulation capability.
Note
If you do not have a SoC Blockset™ license, the Enable simulation port parameter is visible but you cannot enable it.
Port Type — Specify the type of peripheral simulation port
SoC Data (Message based)
(default) | Signal
Select this parameter to configure either the SoC Blockset compatible or the Simulink® signal based simulation ports to enable peripheral simulation capability.
Dependencies
To view this parameter, select the Enable simulation port parameter.
Version History
Introduced in R2022b
See Also
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)