Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
adi_sense_gpio.h File Reference
: ADISENSE OS-dependent wrapper layer for GPIO interface ----------------------------------------------------------------------------- More...
Go to the source code of this file.
Typedefs | |
| typedef void(* | ADI_SENSE_GPIO_CALLBACK )(ADI_SENSE_GPIO_PIN ePinId, void *pArg) |
| typedef void * | ADI_SENSE_GPIO_HANDLE |
Enumerations | |
| enum | ADI_SENSE_GPIO_PIN { ADI_SENSE_GPIO_PIN_RESET = 0, ADI_SENSE_GPIO_PIN_ERROR, ADI_SENSE_GPIO_PIN_ALERT, ADI_SENSE_GPIO_PIN_DATAREADY } |
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. | |
| void | adi_sense_GpioClose (ADI_SENSE_GPIO_HANDLE hDevice) |
| Close GPIO interface and free 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. | |
Detailed Description
: ADISENSE OS-dependent wrapper layer for GPIO interface -----------------------------------------------------------------------------
Definition in file adi_sense_gpio.h.
Generated on Tue Jul 12 2022 18:59:24 by
1.7.2