1.26.19.24 PMECC_CALLBACK Typedef

C

typedef void (* PMECC_CALLBACK)( uintptr_t context, uint32_t interruptStatus )

Summary

Defines the data type and function signature for the PMECC peripheral callback function.

Description

This data type defines the function signature for the PMECC peripheral callback function. The PMECC peripheral will call back the client's function with this signature when the PMECC interrupt has occurred.

Precondition

PMECC_Initialize must have been called for the given PMECC peripheral instance. Callback must have been registered using PMECC_CallbackRegister().

Parameters

Param Description
context Allows the caller to provide a context value (usually a pointerto the callers context for multiple clients)
interruptStatus PMECC interrupt status

Returns

None.

Example

void pmeccCallback( uintptr_t context, uint32_t interruptStatus )
{
}

PMECC_CallbackRegister(pmeccCallback, (uintptr_t)NULL);

Remarks

None.