#include <stdbool.h>
#include <board/board.h>
|
| void | gpio_output_init (const OutputConfig *pin_config, GPIOOType_TypeDef otype) |
| | Initialize a pin as an output.
|
| |
| void | gpio_output_set (const OutputConfig *pin_config, bool asserted) |
| | Assert or deassert an output.
|
| |
| void | gpio_input_init (const InputConfig *input_cfg) |
| | Initialize a pin as an input without pull resistor.
|
| |
| void | gpio_input_init_pull_up_down (const InputConfig *input_cfg, GPIOPuPd_TypeDef pupd) |
| | Initialize a pin as an input with a pull resistor.
|
| |
| bool | gpio_input_read (const InputConfig *input_cfg) |
| | Read an input.
|
| |