|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
23 #include "stm32_gpio.h"
54 #if STM32_HAS_GPIOA || defined(__DOXYGEN__)
57 #if STM32_HAS_GPIOB || defined(__DOXYGEN__)
60 #if STM32_HAS_GPIOC || defined(__DOXYGEN__)
63 #if STM32_HAS_GPIOD || defined(__DOXYGEN__)
66 #if STM32_HAS_GPIOE || defined(__DOXYGEN__)
69 #if STM32_HAS_GPIOF || defined(__DOXYGEN__)
72 #if STM32_HAS_GPIOG || defined(__DOXYGEN__)
75 #if STM32_HAS_GPIOH || defined(__DOXYGEN__)
78 #if STM32_HAS_GPIOI || defined(__DOXYGEN__)
81 #if STM32_HAS_GPIOJ || defined(__DOXYGEN__)
84 #if STM32_HAS_GPIOK || defined(__DOXYGEN__)
145 gpiop->OTYPER =
config->otyper;
146 gpiop->OSPEEDR =
config->ospeedr;
147 gpiop->PUPDR =
config->pupdr;
149 gpiop->AFRL =
config->afrl;
150 gpiop->AFRH =
config->afrh;
151 gpiop->MODER =
config->moder;
158 rccResetAHB1(STM32_GPIO_EN_MASK);
159 rccEnableAHB1(STM32_GPIO_EN_MASK,
true);
216 #if HAL_USE_SDC || defined(__DOXYGEN__)
220 bool sdc_lld_is_card_inserted(SDCDriver *sdcp) {
228 bool sdc_lld_is_write_protected(SDCDriver *sdcp) {
235 #if HAL_USE_MMC_SPI || defined(__DOXYGEN__)
239 bool mmc_lld_is_card_inserted(MMCDriver *mmcp) {
249 bool mmc_lld_is_write_protected(MMCDriver *mmcp) {
#define VAL_GPIOA_OSPEEDR
void boardInit(void)
Board-specific initialization code.
static void stm32_gpio_init(void)
#define VAL_GPIOD_OSPEEDR
static const gpio_config_t gpio_default_config
STM32 GPIO static initialization data.
Type of STM32 GPIO initialization data.
#define VAL_GPIOE_OSPEEDR
#define VAL_GPIOK_OSPEEDR
#define VAL_GPIOI_OSPEEDR
#define VAL_GPIOJ_OSPEEDR
#define VAL_GPIOC_OSPEEDR
static const struct usb_config_descriptor config
#define VAL_GPIOG_OSPEEDR
#define VAL_GPIOH_OSPEEDR
#define VAL_GPIOB_OSPEEDR
Type of STM32 GPIO port setup.
static void gpio_init(stm32_gpio_t *gpiop, const gpio_setup_t *config)
#define VAL_GPIOF_OSPEEDR
void __early_init(void)
Early initialization code.