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.
admw_gpio.h File Reference
: ADMW OS-dependent wrapper layer for GPIO interface ----------------------------------------------------------------------------- More...
Go to the source code of this file.
Typedefs | |
typedef void(* | ADMW_GPIO_CALLBACK )(ADMW_GPIO_PIN ePinId, void *pArg) |
typedef void * | ADMW_GPIO_HANDLE |
Enumerations | |
enum | ADMW_GPIO_PIN { ADMW_GPIO_PIN_RESET = 0, ADMW_GPIO_PIN_ALERT_ERROR, ADMW_GPIO_PIN_DATAREADY } |
Functions | |
ADMW_RESULT | admw_GpioOpen (ADMW_PLATFORM_GPIO_CONFIG *pConfig, ADMW_GPIO_HANDLE *phDevice) |
Open the SPI interface and allocate resources. | |
void | admw_GpioClose (ADMW_GPIO_HANDLE hDevice) |
Close GPIO interface and free resources. | |
ADMW_RESULT | admw_GpioGet (ADMW_GPIO_HANDLE hDevice, ADMW_GPIO_PIN ePinId, bool *pbState) |
Get the state of the specified GPIO pin. | |
ADMW_RESULT | admw_GpioSet (ADMW_GPIO_HANDLE hDevice, ADMW_GPIO_PIN ePinId, bool bState) |
Set the state of the specified GPIO pin. | |
ADMW_RESULT | admw_GpioIrqEnable (ADMW_GPIO_HANDLE hDevice, ADMW_GPIO_PIN ePinId, ADMW_GPIO_CALLBACK callback, void *arg) |
Enable interrupt notifications on the specified GPIO pin. | |
ADMW_RESULT | admw_GpioIrqDisable (ADMW_GPIO_HANDLE hDevice, ADMW_GPIO_PIN ePinId) |
Disable interrupt notifications on the specified GPIO pin. |
Detailed Description
: ADMW OS-dependent wrapper layer for GPIO interface -----------------------------------------------------------------------------
Definition in file admw_gpio.h.
Generated on Wed Jul 13 2022 03:04:54 by
