XTimer_SetHandler - 2022.2 English

Xilinx Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2022-10-19
Version
2022.2 English

This routine installs an asynchronous callback function for the given FuncPtr.

Prototype

void XTimer_SetHandler(XTimer_TickHandler FuncPtr, void *CallBackRef, u8 Priority);

Parameters

The following table lists the XTimer_SetHandler function arguments.

Table 1. XTimer_SetHandler Arguments
Type Member Description
XTimer_TickHandler FuncPtr is the address of the callback function.
void * CallBackRef is a user data item that will be passed to the callback function when it is invoked.
u8 Priority - Priority for the interrupt

Returns

None