3.3.4.27 EMAFE_CallbackRegister Function

C

void EMAFE_CallbackRegister(EMAFE_CALLBACK callback);

Summary

Registers the callback function to be called when an EMAFE interrupt is triggered.

Description

Assign the callback function to call when the source interrupt is raised.

Precondition

None.

Parameters

ParamDescription
callbackEMAFE Callback function.

Returns

None.

Example


EMAFE_CallbackRegister(_appEmafeCallback);
EMAFE_EnableInterrupt(EMAFE_IER_ENDRX_Msk);

Remarks

None.