Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
gpio.h File Reference

Some architecture independent helper functions for GPIOs. More...

#include "std.h"
#include "mcu_periph/gpio_arch.h"
+ Include dependency graph for gpio.h:

Go to the source code of this file.

Detailed Description

Some architecture independent helper functions for GPIOs.

Functions which should be supported by each architecture implementation:

  • gpio_setup_output(port, gpios)
  • gpio_setup_input(port, gpios)
  • gpio_get(port, gpios)
  • gpio_set(port, gpios)
  • gpio_clear(port, gpios)
  • gpio_toggle(port, gpios)

This includes the architecture specific header where the actual functions are declared.

Definition in file gpio.h.