2.37.6 ECIA_GIRQIsInterruptEnabled Function

C

bool ECIA_GIRQIsInterruptEnabled(ECIA_INT_SOURCE int_src)

Summary

Returns the status of the given interrupt source

Description

Returns true if the interrupt source is enabled ; returns false otherwise.

Precondition

None.

Parameters

ParamDescription
int_srcOne of the interrupt source from the enum ECIA_INT_SOURCE

Returns

true - interrupt source is enabled false - interrupt source is disabled

Example

bool status = ECIA_GIRQIsInterruptEnabled(ECIA_AGG_INT_SRC_GPIO002);

Remarks

None