Paparazzi UAS
v5.18.0_stable
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 config.
Referenced by stm32_gpio_init().
void mcu_periph_energy_save | ( | void | ) |
Energy saving procedure for SD log closing.
Call board specific energy saving Can be necessary for closing on power off.
Definition at line 270 of file board.c.
References LINE_AUX_A1, LINE_AUX_A2, LINE_AUX_A3, LINE_AUX_A4, LINE_AUX_B1, LINE_AUX_B2, LINE_AUX_B3, LINE_AUX_B4, LINE_LED1, LINE_LED2, LINE_LED3, LINE_LED4, LINE_SPI2_EXTERNAL_CS, and LINE_SPI4_INTERNAL_CS.
|
static |
Definition at line 154 of file board.c.
References gpio_default_config, gpio_init(), GPIOA, GPIOB, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, and GPIOH.
Referenced by __early_init().
|
static |
STM32 GPIO static initialization data.
Definition at line 92 of file board.c.
Referenced by stm32_gpio_init().