1.1.2.24 EC_REG_BANK_CALLBACK Typedef

C

typedef void (*EC_REG_BANK_CALLBACK)(uintptr_t context);

Summary

Defines the data type and function signature for the EC Register Bank peripheral callback function.

Description

This data type defines the function signature for the EC Register Bank peripheral callback function.

Precondition

None

Parameters

Param Description
context A value (usually a pointer) which is passed (unused) into the function identified by the callback parameter

Returns

None

Example

void vtr1_callback(uintptr_t context)
{
    // handle callback event
}

EC_REG_BANK_VTR1_CallbackRegister(vtr1_callback, 0);

Remarks

None