主要内容

Hardware Interrupt

Trigger function-call subsystems in response to hardware interrupt events

Since R2026a

  • Hardware Interrupt block

Libraries:
Embedded Coder Support Package for Renesas RH850 Microcontrollers / Renesas RH850 U2A 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

expand all

The block outputs a function-call signal when the selected interrupt and event occur.

Parameters

expand all

Select the peripheral or abstraction layer whose interrupt you want to use. The available options depend on the Renesas RH850 device and configuration.

Programmatic Use

Block Parameter: ISRNumber

Specify the name of the callback function associated with the selected interrupt group.

Programmatic Use

Block Parameter: DerivedISRName

Specify the priority of the downstream function-call subsystem. Lower values indicate higher priority. This controls the execution precedence of the function-call subsystem triggered by the interrupt.

Programmatic Use

Block Parameter: TaskPriority

Select to enable atomic execution of the interrupt service routine. When enabled, all other interrupts are blocked while the selected interrupt service routine is running.

Programmatic Use

Block Parameter: DisablePreemption

Version History

Introduced in R2026a