1.2.24.78 1.3.24.78 1.4.25.78 1.5.23.78 1.6.25.78 1.7.26.78 1.29.27.78 1.30.17.78 1.31.17.78 1.33.19.78 1.37.17.78 1.40.24.78 TCC_CALLBACK Typedef

C

typedef void (*TCC_CALLBACK)( uint32_t status, uintptr_t context );

Summary

Defines the function pointer data type and function signature for the tcc callback function.

Description

This data type defines the function pointer and function signature for the tcc callback function. The library will call back the client's function with this signature from the interrupt routine.

Precondition

TCCx_Initialize must have been called for the given TCC channel instance and TCCx_CallbackRegister must have been called to register the function to be called.

Parameters

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

Returns

None.

Example

void TCC_Callback_Fn ( uint32_t status, uintptr_t context );

TCC0_TimerCallbackRegister(TCC_Callback_Fn, NULL);

Remarks

None