3.3.15.1 TCCx_CallbackRegister

Registers the function to be called from interrupt.

This function registers the callback function to be called from interrupt.

void 
TCCx_TimerCallbackRegister
(
    TCC_CALLBACK callback, 
    uintptr_t context
);

Precondition

  • TCCx_TimerInitialize() must have been called first.

Parameters

  • callback - registered call back function
  • context - Allows the caller to provide a context value (usually a pointer to the callers context for multi-instance clients).

Returns

  • void