libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
l0/gpio.h File Reference
Include dependency graph for l0/gpio.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 GPIOH_BRR   GPIO_BRR(GPIOH)
 
#define GPIO_OSPEED_LOW   0x0
 
#define GPIO_OSPEED_MED   0x1
 
#define GPIO_OSPEED_HIGH   0x2
 
#define GPIO_OSPEED_VERYHIGH   0x3
 

Macro Definition Documentation

◆ GPIO_BRR

#define GPIO_BRR (   port)    MMIO32((port) + 0x28)

Definition at line 44 of file l0/gpio.h.

◆ GPIOA_BRR

#define GPIOA_BRR   GPIO_BRR(GPIOA)

Definition at line 45 of file l0/gpio.h.

◆ GPIOB_BRR

#define GPIOB_BRR   GPIO_BRR(GPIOB)

Definition at line 46 of file l0/gpio.h.

◆ GPIOC_BRR

#define GPIOC_BRR   GPIO_BRR(GPIOC)

Definition at line 47 of file l0/gpio.h.

◆ GPIOD_BRR

#define GPIOD_BRR   GPIO_BRR(GPIOD)

Definition at line 48 of file l0/gpio.h.

◆ GPIOE_BRR

#define GPIOE_BRR   GPIO_BRR(GPIOE)

Definition at line 49 of file l0/gpio.h.

◆ GPIOH_BRR

#define GPIOH_BRR   GPIO_BRR(GPIOH)

Definition at line 50 of file l0/gpio.h.