|
librfn
An ad-hoc utility library
|
#include <librfn/console.h>#include <string.h>#include <libopencm3/stm32/gpio.h>#include <libopencm3/stm32/rcc.h>#include <librfn/time.h>#include <librfn/util.h>Go to the source code of this file.
Enumerations | |
| enum | { on = 0, off, toggle, pulse, usage, read_state, hiz, pullup, opendrain, pushpull, detect } |
Functions | |
| pt_state_t | console_gpio_do_cmd (console_t *c) |
| int | console_gpio_register (const console_gpio_t *gpio) |
| Register a new GPIO command. More... | |
| anonymous enum |
| Enumerator | |
|---|---|
| on | |
| off | |
| toggle | |
| pulse | |
| usage | |
| read_state | |
| hiz | |
| pullup | |
| opendrain | |
| pushpull | |
| detect | |
Definition at line 28 of file console_cmd_gpio.c.
1.8.10