1.27.6.77 LCDCx_IRQ_CALLBACK Typedef

C

// x - Instance of the LCDC peripheral

typedef void (*LCDCx_IRQ_CALLBACK) (uintptr_t context);

Summary

Defines the data type and function signature for the LCDC callback function.

Description

This data type defines the function signature for the LCDC callback function.

Precondition

None

Parameters

Param Description
context Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients).

Returns

None.

Example

void lcdcCallback ( uintptr_t context )
{
    ticks++;
}

LCDCx_IRQ_CallbackRegister(lcdcCallback, (uintptr_t) NULL);

Remarks

None.