STM32F10x Standard Peripherals Library
3.5.0
|
Defines | |
#define | GPIO_Pin_0 ((uint16_t)0x0001) |
#define | GPIO_Pin_1 ((uint16_t)0x0002) |
#define | GPIO_Pin_2 ((uint16_t)0x0004) |
#define | GPIO_Pin_3 ((uint16_t)0x0008) |
#define | GPIO_Pin_4 ((uint16_t)0x0010) |
#define | GPIO_Pin_5 ((uint16_t)0x0020) |
#define | GPIO_Pin_6 ((uint16_t)0x0040) |
#define | GPIO_Pin_7 ((uint16_t)0x0080) |
#define | GPIO_Pin_8 ((uint16_t)0x0100) |
#define | GPIO_Pin_9 ((uint16_t)0x0200) |
#define | GPIO_Pin_10 ((uint16_t)0x0400) |
#define | GPIO_Pin_11 ((uint16_t)0x0800) |
#define | GPIO_Pin_12 ((uint16_t)0x1000) |
#define | GPIO_Pin_13 ((uint16_t)0x2000) |
#define | GPIO_Pin_14 ((uint16_t)0x4000) |
#define | GPIO_Pin_15 ((uint16_t)0x8000) |
#define | GPIO_Pin_All ((uint16_t)0xFFFF) |
#define | IS_GPIO_PIN(PIN) ((((PIN) & (uint16_t)0x00) == 0x00) && ((PIN) != (uint16_t)0x00)) |
#define | IS_GET_GPIO_PIN(PIN) |
#define GPIO_Pin_0 ((uint16_t)0x0001) |
Pin 0 selected
Definition at line 127 of file stm32f10x_gpio.h.
#define GPIO_Pin_1 ((uint16_t)0x0002) |
Pin 1 selected
Definition at line 128 of file stm32f10x_gpio.h.
#define GPIO_Pin_10 ((uint16_t)0x0400) |
Pin 10 selected
Definition at line 137 of file stm32f10x_gpio.h.
#define GPIO_Pin_11 ((uint16_t)0x0800) |
Pin 11 selected
Definition at line 138 of file stm32f10x_gpio.h.
#define GPIO_Pin_12 ((uint16_t)0x1000) |
Pin 12 selected
Definition at line 139 of file stm32f10x_gpio.h.
#define GPIO_Pin_13 ((uint16_t)0x2000) |
Pin 13 selected
Definition at line 140 of file stm32f10x_gpio.h.
#define GPIO_Pin_14 ((uint16_t)0x4000) |
Pin 14 selected
Definition at line 141 of file stm32f10x_gpio.h.
#define GPIO_Pin_15 ((uint16_t)0x8000) |
Pin 15 selected
Definition at line 142 of file stm32f10x_gpio.h.
#define GPIO_Pin_2 ((uint16_t)0x0004) |
Pin 2 selected
Definition at line 129 of file stm32f10x_gpio.h.
#define GPIO_Pin_3 ((uint16_t)0x0008) |
Pin 3 selected
Definition at line 130 of file stm32f10x_gpio.h.
#define GPIO_Pin_4 ((uint16_t)0x0010) |
Pin 4 selected
Definition at line 131 of file stm32f10x_gpio.h.
#define GPIO_Pin_5 ((uint16_t)0x0020) |
Pin 5 selected
Definition at line 132 of file stm32f10x_gpio.h.
#define GPIO_Pin_6 ((uint16_t)0x0040) |
Pin 6 selected
Definition at line 133 of file stm32f10x_gpio.h.
#define GPIO_Pin_7 ((uint16_t)0x0080) |
Pin 7 selected
Definition at line 134 of file stm32f10x_gpio.h.
#define GPIO_Pin_8 ((uint16_t)0x0100) |
Pin 8 selected
Definition at line 135 of file stm32f10x_gpio.h.
#define GPIO_Pin_9 ((uint16_t)0x0200) |
Pin 9 selected
Definition at line 136 of file stm32f10x_gpio.h.
#define GPIO_Pin_All ((uint16_t)0xFFFF) |
All pins selected
Definition at line 143 of file stm32f10x_gpio.h.
#define IS_GET_GPIO_PIN | ( | PIN | ) |
(((PIN) == GPIO_Pin_0) || \ ((PIN) == GPIO_Pin_1) || \ ((PIN) == GPIO_Pin_2) || \ ((PIN) == GPIO_Pin_3) || \ ((PIN) == GPIO_Pin_4) || \ ((PIN) == GPIO_Pin_5) || \ ((PIN) == GPIO_Pin_6) || \ ((PIN) == GPIO_Pin_7) || \ ((PIN) == GPIO_Pin_8) || \ ((PIN) == GPIO_Pin_9) || \ ((PIN) == GPIO_Pin_10) || \ ((PIN) == GPIO_Pin_11) || \ ((PIN) == GPIO_Pin_12) || \ ((PIN) == GPIO_Pin_13) || \ ((PIN) == GPIO_Pin_14) || \ ((PIN) == GPIO_Pin_15))
Definition at line 147 of file stm32f10x_gpio.h.
#define IS_GPIO_PIN | ( | PIN | ) | ((((PIN) & (uint16_t)0x00) == 0x00) && ((PIN) != (uint16_t)0x00)) |
Definition at line 145 of file stm32f10x_gpio.h.