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
Param | Description |
---|---|
pTxData | Pointer to data to transmit. |
txSize | Number of bytes to transmit. |
pRxData | Pointer to store received data. |
rxSize | Number 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.