1.2.8.10 SYS_INT_SourceStatusSet Function

C

void SYS_INT_SourceStatusSet( INT_SOURCE source )

Summary

Sets the pending status of the specified interrupt source manually.

Description

This function manually sets the pending status of the specified interrupt source at the interrupt controller level. This triggers interrupt controller for a specified source even though the interrupt condition has not met at hardware.

Precondition

None.

Parameters

ParamDescription
sourceInterrupt source/line available at interrupt controller.

Returns

None.

Example

//Trigger USART0 ISR handler manually
SYS_INT_SourceStatusSet(USART0_IRQn);

Remarks

This feature may not be supported by some devices.