(Working) Code to interface 3 LoadCells to ADISense1000 and display values using the Labview code.

Fork of 4Bridge_ADISense1000_Example_copy by CAC_smartcushion

Embed: (wiki syntax)

« Back to documentation index

adi_sense_gpio.cpp File Reference

adi_sense_gpio.cpp File Reference

: ADI Sense OS-dependent wrapper layer for GPIO interface ----------------------------------------------------------------------------- More...

Go to the source code of this file.

Functions

ADI_SENSE_RESULT adi_sense_GpioOpen (ADI_SENSE_PLATFORM_GPIO_CONFIG *pConfig, ADI_SENSE_GPIO_HANDLE *phDevice)
 Open the SPI interface and allocate resources.
ADI_SENSE_RESULT adi_sense_GpioGet (ADI_SENSE_GPIO_HANDLE hDevice, ADI_SENSE_GPIO_PIN ePinId, bool_t *pbState)
 Get the state of the specified GPIO pin.
ADI_SENSE_RESULT adi_sense_GpioSet (ADI_SENSE_GPIO_HANDLE hDevice, ADI_SENSE_GPIO_PIN ePinId, bool_t bState)
 Set the state of the specified GPIO pin.
ADI_SENSE_RESULT adi_sense_GpioIrqEnable (ADI_SENSE_GPIO_HANDLE hDevice, ADI_SENSE_GPIO_PIN ePinId, ADI_SENSE_GPIO_CALLBACK callback, void *arg)
 Enable interrupt notifications on the specified GPIO pin.
ADI_SENSE_RESULT adi_sense_GpioIrqDisable (ADI_SENSE_GPIO_HANDLE hDevice, ADI_SENSE_GPIO_PIN ePinId)
 Disable interrupt notifications on the specified GPIO pin.
void adi_sense_GpioClose (ADI_SENSE_GPIO_HANDLE hDevice)
 Close GPIO interface and free resources.

Detailed Description

: ADI Sense OS-dependent wrapper layer for GPIO interface -----------------------------------------------------------------------------

Definition in file adi_sense_gpio.cpp.