Bumped Mbed FW version to 01.20.0080

Embed: (wiki syntax)

« Back to documentation index

admw_gpio.h File Reference

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, ADMW_GPIO_PIN_CS }

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.