Host API Example for the ADMW1001
admw_gpio.cpp File Reference
: ADMW OS-dependent wrapper layer for GPIO interface ----------------------------------------------------------------------------- More...
Go to the source code of this file.
Functions | |
ADMW_RESULT | admw_GpioOpen (ADMW_PLATFORM_GPIO_CONFIG *pConfig, ADMW_GPIO_HANDLE *phDevice) |
Open the SPI interface and allocate 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. | |
void | admw_GpioClose (ADMW_GPIO_HANDLE hDevice) |
Close GPIO interface and free resources. |
Detailed Description
: ADMW OS-dependent wrapper layer for GPIO interface -----------------------------------------------------------------------------
Definition in file admw_gpio.cpp.
Generated on Wed Jul 13 2022 03:04:54 by 1.7.2