Hardware Interrupt
R2026bTrigger function-call subsystems in response to hardware interrupt events
Since R2026a
Libraries:
Embedded Coder Support Package for Renesas RH850 Microcontrollers /
Renesas RH850 U2A Based
Embedded Coder Support Package for Renesas RH850 Microcontrollers /
Renesas RH850 U2B Based
Description
The Hardware Interrupt block triggers a downstream function-call subsystem from an interrupt service routine. When the selected interrupt occurs, the block outputs a signal that activates the connected function-call subsystem.
You can select the appropriate interrupt service routine and define which events to handle, as well as the order in which they are executed. Additionally, you can assign a priority level to the downstream function-call subsystem to control its execution precedence. You can also configure the block to run the interrupt service routine as an atomic unit, blocking other interrupts during its execution.
Examples
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"rh850u2axblockslib/Hardware Interrupt"
"rh850u2bxblockslib/Hardware Interrupt"
Example: add_block("rh850u2axblockslib/Hardware Interrupt","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2026a

