1.1.4.4.46 DRV_RF215_PLIB_SPI_WRITE_READ Typedef

C

typedef bool ( *DRV_RF215_PLIB_SPI_WRITE_READ ) (void * pTxData, size_t txSize, void * pRxData, size_t rxSize);

Summary

Pointer to a PLIB function to write and read through SPI.

Description

This data type defines the required function signature for the RF215 driver to write and read through SPI.

Parameters

ParamDescription
pTxDataPointer to data to transmit.
txSizeNumber of bytes to transmit.
pRxDataPointer to store received data.
rxSizeNumber of bytes to receive.

Returns

Request accepted (true) or not (false).

Remarks

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