1.1.6.14 LED_WDT_CALLBACK Typedef
C
typedef void (*LED_WDT_CALLBACK)(uintptr_t context);
Summary
Defines the data type and function signature for the LED WDT callback function.
Description
This data type defines the function signature for the LED WDT peripheral callback function. The LED WDT peripheral will call back the client's function with this signature when the WDT timer expires.
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 wdt_callback(uintptr_t context) { // Handle WDT timer callback } LED0_WDT_CallbackRegister(wdt_callback, 0);
Remarks
None