Paparazzi UAS  v5.15_devel-110-g5cf27ee
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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:
+ This graph shows which files directly or indirectly include this file:

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.