Function Prototype
void XRFdc_SetStatusHandler(XRFdc *InstancePtr, void *CallBackRefPtr, XRFdc_StatusHandler FunctionPtr);
Arguments
- XRFdc *InstancePtr
- Pointer to the driver instance.
- void *CallBackRefPtr
- Upper layer callback reference passed back when the callback function is invoked.
- XRFdc_StatusHandler FunctionPtr
- Pointer to the callback function.
Description
This function sets the status callback function, the status handler, which the driver calls when it encounters conditions that must be reported to the higher layer software. The handler executes in an interrupt context to minimize the amount of processing.
Return Value
None.