1.3.27.13 1.4.23.13 1.5.27.13 1.6.23.13 1.7.24.13 1.8.21.13 1.9.22.13 1.29.25.13 1.30.19.13 1.31.19.13 1.32.28.13 1.33.17.13 1.34.22.13 1.35.15.13 1.36.17.13 1.37.19.13 1.38.23.13 1.39.20.13 1.40.22.13 1.41.20.13 1.42.19.13 SYSTICK_CALLBACK Typedef
C
typedef void (*SYSTICK_CALLBACK)(uintptr_t context);
Summary
Defines the data type and function signature for the SysTick callback function.
Description
This data type defines the function signature for the SysTick callback function. SysTick will call back the client's function with this signature.
Precondition
SYSTICK_Initialize and SYSTICK_TimerCallbackSet must have been called to set the function to be called.
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
ticks = 0;
void AppCallback ( uintptr_t context )
{
ticks++;
}
SYSTICK_TimerCallbackSet(AppCallback, (uintptr_t) NULL);
Remarks
None.