Sean Wilson / Mbed OS AdiSense1000_V21

Fork of AdiSense1000 by PoC_Team

Embed: (wiki syntax)

« Back to documentation index

adi_sense_spi.h File Reference

adi_sense_spi.h File Reference

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

Go to the source code of this file.

Typedefs

typedef void * ADI_SENSE_SPI_HANDLE

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.
void adi_sense_SpiClose (ADI_SENSE_SPI_HANDLE hDevice)
 Close SPI interface and free 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.

Detailed Description

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

Definition in file adi_sense_spi.h.