Jump to main content

# 1.1.3.4.47 DRV_RF215_PLIB_SPI_SET_CALLBACK Typedef

## C

    typedef void ( *DRV_RF215_PLIB_SPI_SET_CALLBACK ) (FLEXCOM_SPI_CALLBACK callback, uintptr_t context);

## Summary

Pointer to a PLIB function to set SPI callback.

## Description

This data type defines the required function signature for the RF215 driver to register SPI callback. The registered function is called back when SPI transfer finishes.

## Parameters

Param | Description
--- | ---
callback | Pointer to callback function.
context | Value identifying the context of the client that registered the callback function.

## Returns

None.

## Remarks

This data type is only available if the device does not have DMA.

Rev: G