Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
#include "hal.h"
#include "stm32_gpio.h"
Go to the source code of this file.
Data Structures | |
struct | gpio_setup_t |
Type of STM32 GPIO port setup. More... | |
struct | gpio_config_t |
Type of STM32 GPIO initialization data. More... | |
Functions | |
static void | gpio_init (stm32_gpio_t *gpiop, const gpio_setup_t *config) |
static void | stm32_gpio_init (void) |
void | __early_init (void) |
Early initialization code. More... | |
void | boardInit (void) |
Board-specific initialization code. More... | |
void | mcu_periph_energy_save (void) |
Energy saving procedure for SD log closing. More... | |
Variables | |
static const gpio_config_t | gpio_default_config |
STM32 GPIO static initialization data. More... | |
struct gpio_setup_t |
void __early_init | ( | void | ) |
Early initialization code.
GPIO ports and system clocks are initialized before everything else.
Definition at line 210 of file board.c.
References stm32_gpio_init().
void boardInit | ( | void | ) |
|
static |
Definition at line 143 of file board.c.
References gpio_setup_t::afrh, gpio_setup_t::afrl, gpio_setup_t::moder, gpio_setup_t::odr, gpio_setup_t::ospeedr, gpio_setup_t::otyper, and gpio_setup_t::pupdr.
Referenced by stm32_gpio_init().
void mcu_periph_energy_save | ( | void | ) |
|
static |
|
static |