WIZlib Library API
ver 1.0
WIZlib Library API User Menual
|
Platform independent GPIO driver. More...
Enumerations | |
enum | wizpf_gpio_mode { WIZ_GPIO_IN_FLOAT, WIZ_GPIO_IN_PULLUP, WIZ_GPIO_IN_PULLDOWN, WIZ_GPIO_OUT_PUSHPULL, WIZ_GPIO_OUT_OPENDRAIN } |
Indicate the GPIO mode. More... | |
Functions | |
int8 | wizpf_gpio_init (GPIO_TypeDef *GPIOx, uint16 GPIO_Pin, wizpf_gpio_mode mode) |
GPIO configuration. More... | |
int8 | wizpf_gpio_set (GPIO_TypeDef *GPIOx, uint16 GPIO_Pin, int8 value) |
GPIO Set. More... | |
int8 | wizpf_gpio_get (GPIO_TypeDef *GPIOx, uint16 GPIO_Pin) |
GPIO Get. More... | |
Platform independent GPIO driver.
enum wizpf_gpio_mode |
Indicate the GPIO mode.
Definition at line 43 of file wizplatform.h.
int8 wizpf_gpio_get | ( | GPIO_TypeDef * | GPIOx, |
uint16 | GPIO_Pin | ||
) |
GPIO Get.
GPIOx | GPIO The GPIO struct to get (Ref. platform specific header file) |
GPIO_Pin | The Pin number to get (Ref. platform specific header file) |
Definition at line 178 of file WIZ_W5200/wizplatform.c.
int8 wizpf_gpio_init | ( | GPIO_TypeDef * | GPIOx, |
uint16 | GPIO_Pin, | ||
wizpf_gpio_mode | mode | ||
) |
GPIO configuration.
GPIOx | GPIO The GPIO struct to configure (Ref. platform specific header file) |
GPIO_Pin | The Pin number to configure (Ref. platform specific header file) |
mode | The mode to configure (wizpf_gpio_mode) |
Definition at line 141 of file WIZ_W5200/wizplatform.c.
int8 wizpf_gpio_set | ( | GPIO_TypeDef * | GPIOx, |
uint16 | GPIO_Pin, | ||
int8 | value | ||
) |
GPIO Set.
GPIOx | GPIO The GPIO struct to set (Ref. platform specific header file) |
GPIO_Pin | The Pin number to set (Ref. platform specific header file) |
value | The value to set |
Definition at line 173 of file WIZ_W5200/wizplatform.c.