Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures 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.

Functions

void gpio_setup_output (uint32_t port, uint16_t pin)
 Setup gpio pin as generic output. More...
 
void gpio_setup_input (uint32_t port, uint16_t pin)
 Setup a gpio pin as generic input. More...
 

Detailed Description

Some architecture independent helper functions for GPIOs.

Definition in file gpio.h.

Function Documentation

void gpio_setup_input ( uint32_t  port,
uint16_t  pin 
)

Setup a gpio pin as generic input.

Referenced by radio_control_spektrum_try_bind().

+ Here is the caller graph for this function:

void gpio_setup_output ( uint32_t  port,
uint16_t  pin 
)

Setup gpio pin as generic output.

Referenced by imu_impl_init(), radio_control_spektrum_try_bind(), and spi_init_slaves().

+ Here is the caller graph for this function: