gpio_if.h
Overview
Related Modules:
Description:
Declares the standard GPIO interface functions.
Since:
1.0
Summary
Typedefs
GpioIrqFunc) (uint16_t gpio, void data) |
Defines the function type of a GPIO interrupt service routine (ISR). |
Enumerations
GpioValue { GPIO_VAL_LOW = 0, GPIO_VAL_HIGH = 1, GPIO_VAL_ERR } |
|
GpioDirType { GPIO_DIR_IN = 0, GPIO_DIR_OUT = 1, GPIO_DIR_ERR } |
Functions
GpioRead (uint16_t gpio, uint16_t val) |
|
GpioWrite (uint16_t gpio, uint16_t val) |
|
GpioSetDir (uint16_t gpio, uint16_t dir) |
|
GpioGetDir (uint16_t gpio, uint16_t dir) |
|
GpioSetIrq (uint16_t gpio, uint16_t mode, GpioIrqFunc func, void *arg) |
|
GpioUnSetIrq (uint16_t gpio) |
|
GpioEnableIrq (uint16_t gpio) |
|
GpioDisableIrq (uint16_t gpio) |