Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ gpio_enable_clock()

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 softi2c_setup_gpio().

+ Here is the caller graph for this function: