Rohan Gurav / Mbed OS Sean_AdiSense1000_V21

Fork of AdiSense1000_V21 by Sean Wilson

Embed: (wiki syntax)

« Back to documentation index

adi_sense_spi.cpp File Reference

adi_sense_spi.cpp File Reference

: ADISENSE OS-dependent wrapper layer for SPI interface ----------------------------------------------------------------------------- More...

Go to the source code of this file.

Functions

ADI_SENSE_RESULT adi_sense_SpiOpen (ADI_SENSE_PLATFORM_SPI_CONFIG *pConfig, ADI_SENSE_SPI_HANDLE *phDevice)
 Open the SPI interface and allocate resources.
ADI_SENSE_RESULT adi_sense_SpiTransfer (ADI_SENSE_SPI_HANDLE hDevice, void *pTxData, void *pRxData, unsigned nLength, bool bCsHold)
 Transfer data to slave device.
void adi_sense_SpiClose (ADI_SENSE_SPI_HANDLE hDevice)
 Close SPI interface and free resources.

Detailed Description

: ADISENSE OS-dependent wrapper layer for SPI interface -----------------------------------------------------------------------------

Definition in file adi_sense_spi.cpp.