Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gpio_arch.c File Reference

GPIO helper functions for STM32F1 and STM32F4. More...

#include "mcu_periph/gpio.h"
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/rcc.h>
+ Include dependency graph for gpio_arch.c:

Go to the source code of this file.

Functions

void gpio_enable_clock (uint32_t port)
 Enable the relevant clock. More...
 

Detailed Description

GPIO helper functions for STM32F1 and STM32F4.

Definition in file gpio_arch.c.

Function Documentation

void gpio_enable_clock ( uint32_t  port)

Enable the relevant clock.

This is an STM32 specific helper funtion and should only be used in stm32 arch code.

Definition at line 34 of file gpio_arch.c.

References GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, and GPIOH.

Referenced by SpektrumUartInit().

+ Here is the caller graph for this function: