libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
#include <libopencm3/stm32/common/gpio_common_f24.h>
Go to the source code of this file.
Macros | |
#define | GPIO_BRR(port) MMIO32((port) + 0x28) |
#define | GPIOA_BRR GPIO_BRR(GPIOA) |
#define | GPIOB_BRR GPIO_BRR(GPIOB) |
#define | GPIOC_BRR GPIO_BRR(GPIOC) |
#define | GPIOD_BRR GPIO_BRR(GPIOD) |
#define | GPIOE_BRR GPIO_BRR(GPIOE) |
#define | GPIOF_BRR GPIO_BRR(GPIOF) |
#define | GPIOG_BRR GPIO_BRR(GPIOG) |
#define | GPIOH_BRR GPIO_BRR(GPIOH) |
#define | GPIO_ASCR(port) MMIO32((port) + 0x2c) |
#define | GPIOA_ASCR GPIO_ASCR(GPIOA) |
#define | GPIOB_ASCR GPIO_ASCR(GPIOB) |
#define | GPIOC_ASCR GPIO_ASCR(GPIOC) |
#define | GPIOD_ASCR GPIO_ASCR(GPIOD) |
#define | GPIOE_ASCR GPIO_ASCR(GPIOE) |
#define | GPIOF_ASCR GPIO_ASCR(GPIOF) |
#define | GPIOG_ASCR GPIO_ASCR(GPIOG) |
#define | GPIOH_ASCR GPIO_ASCR(GPIOH) |
#define | GPIO_OSPEED_LOW 0x0 |
#define | GPIO_OSPEED_MED 0x1 |
#define | GPIO_OSPEED_HIGH 0x2 |
#define | GPIO_OSPEED_VERYHIGH 0x3 |