void gpio_reset(void)
Reset all GPIO pins.
gpio_direction_t gpio_get_direction(const gpio_t pin)
Returns the direction the set pin is initialized in.
gpio_level_t gpio_get_level(const gpio_t pin)
Return the level of the GPIO pin.
void gpio_set_level(const gpio_t pin, const gpio_level_t level)
Set the level of the output GPIO pin. If the pin is configured as input, this function does nothing.
void gpio_reset_pin(const gpio_t pin)
Function is currently a no-op placeholder for arduino compatibility.
void gpio_set_direction(const gpio_t pin, const gpio_direction_t direction)
Set the GPIO pin as in input or output.