Sean Wilson / Mbed OS AdiSense1000_V21

Fork of AdiSense1000 by PoC_Team

Embed: (wiki syntax)

« Back to documentation index

adi_sense_gpio.cpp File Reference

adi_sense_gpio.cpp File Reference

: ADISENSE 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

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

Definition in file adi_sense_gpio.cpp.