Macros
Collaboration diagram for GPIO_Alternate_function_selection_define:

Macros

#define GPIO_AF_0
 AF 0 selection. More...
 
#define GPIO_AF_1   ((uint8_t)0x01) /* OUT, TIM2, TIM15, TIM16, TIM17 */
 AF 1 selection. More...
 
#define GPIO_AF_10   ((uint8_t)0x0A) /* AOP1_OUT, AOP3_OUT, TIM2, TIM3, TIM4, TIM8, TIM17 */
 AF 10 selection. More...
 
#define GPIO_AF_11   ((uint8_t)0x0B) /* TIM1, TIM8 */
 AF 11 selection. More...
 
#define GPIO_AF_12   ((uint8_t)0x0C) /* TIM1, HRTIM1 */
 AF 12 selection. More...
 
#define GPIO_AF_13   ((uint8_t)0x0D) /* HRTIM1, AOP2_OUT */
 AF 13 selection. More...
 
#define GPIO_AF_14   ((uint8_t)0x0E) /* USBDM, USBDP */
 AF 14 selection. More...
 
#define GPIO_AF_15   ((uint8_t)0x0F) /* OUT */
 AF 15 selection. More...
 
#define GPIO_AF_2   ((uint8_t)0x02) /* COMP1_OUT, TIM1, TIM2, TIM3, TIM4, TIM8, TIM15, TIM16 */
 AF 2 selection. More...
 
#define GPIO_AF_3   ((uint8_t)0x03) /* COMP7_OUT, TIM8, TIM15, Touch, HRTIM1 */
 AF 3 selection. More...
 
#define GPIO_AF_4   ((uint8_t)0x04) /* I2C1, I2C2, TIM1, TIM8, TIM16, TIM17 */
 AF 4 selection. More...
 
#define GPIO_AF_5   ((uint8_t)0x05) /* IR_OUT, I2S2, I2S3, SPI1, SPI2, TIM8, USART4, USART5 */
 AF 5 selection. More...
 
#define GPIO_AF_6   ((uint8_t)0x06) /* IR_OUT, I2S2, I2S3, SPI2, SPI3, TIM1, TIM8 */
 AF 6 selection. More...
 
#define GPIO_AF_7
 AF 7 selection. More...
 
#define GPIO_AF_8
 AF 8 selection. More...
 
#define GPIO_AF_9   ((uint8_t)0x09) /* AOP4_OUT, CAN, TIM1, TIM8, TIM15 */
 AF 9 selection. More...
 
#define IS_GPIO_AF(AF)
 

Detailed Description

Macro Definition Documentation

#define GPIO_AF_0
Value:
((uint8_t)0x00) /* JTCK-SWCLK, JTDI, JTDO/TRACESW0, JTMS-SWDAT,
MCO, NJTRST, TRACED, TRACECK */

AF 0 selection.

Definition at line 256 of file stm32f30x_gpio.h.

#define GPIO_AF_1   ((uint8_t)0x01) /* OUT, TIM2, TIM15, TIM16, TIM17 */

AF 1 selection.

Definition at line 261 of file stm32f30x_gpio.h.

#define GPIO_AF_10   ((uint8_t)0x0A) /* AOP1_OUT, AOP3_OUT, TIM2, TIM3, TIM4, TIM8, TIM17 */

AF 10 selection.

Definition at line 308 of file stm32f30x_gpio.h.

#define GPIO_AF_11   ((uint8_t)0x0B) /* TIM1, TIM8 */

AF 11 selection.

Definition at line 313 of file stm32f30x_gpio.h.

#define GPIO_AF_12   ((uint8_t)0x0C) /* TIM1, HRTIM1 */

AF 12 selection.

Definition at line 318 of file stm32f30x_gpio.h.

#define GPIO_AF_13   ((uint8_t)0x0D) /* HRTIM1, AOP2_OUT */

AF 13 selection.

Definition at line 323 of file stm32f30x_gpio.h.

#define GPIO_AF_14   ((uint8_t)0x0E) /* USBDM, USBDP */

AF 14 selection.

Definition at line 328 of file stm32f30x_gpio.h.

#define GPIO_AF_15   ((uint8_t)0x0F) /* OUT */

AF 15 selection.

Definition at line 333 of file stm32f30x_gpio.h.

#define GPIO_AF_2   ((uint8_t)0x02) /* COMP1_OUT, TIM1, TIM2, TIM3, TIM4, TIM8, TIM15, TIM16 */

AF 2 selection.

Definition at line 266 of file stm32f30x_gpio.h.

#define GPIO_AF_3   ((uint8_t)0x03) /* COMP7_OUT, TIM8, TIM15, Touch, HRTIM1 */

AF 3 selection.

Definition at line 271 of file stm32f30x_gpio.h.

#define GPIO_AF_4   ((uint8_t)0x04) /* I2C1, I2C2, TIM1, TIM8, TIM16, TIM17 */

AF 4 selection.

Definition at line 276 of file stm32f30x_gpio.h.

#define GPIO_AF_5   ((uint8_t)0x05) /* IR_OUT, I2S2, I2S3, SPI1, SPI2, TIM8, USART4, USART5 */

AF 5 selection.

Definition at line 281 of file stm32f30x_gpio.h.

#define GPIO_AF_6   ((uint8_t)0x06) /* IR_OUT, I2S2, I2S3, SPI2, SPI3, TIM1, TIM8 */

AF 6 selection.

Definition at line 286 of file stm32f30x_gpio.h.

#define GPIO_AF_7
Value:
((uint8_t)0x07) /* AOP2_OUT, CAN, COMP3_OUT, COMP5_OUT, COMP6_OUT,
USART1, USART2, USART3 */

AF 7 selection.

Definition at line 291 of file stm32f30x_gpio.h.

#define GPIO_AF_8
Value:
((uint8_t)0x08) /* COMP1_OUT, COMP2_OUT, COMP3_OUT, COMP4_OUT,
COMP5_OUT, COMP6_OUT */

AF 8 selection.

Definition at line 297 of file stm32f30x_gpio.h.

#define GPIO_AF_9   ((uint8_t)0x09) /* AOP4_OUT, CAN, TIM1, TIM8, TIM15 */

AF 9 selection.

Definition at line 303 of file stm32f30x_gpio.h.

#define IS_GPIO_AF (   AF)
Value:
(((AF) == GPIO_AF_0)||((AF) == GPIO_AF_1)||\
((AF) == GPIO_AF_2)||((AF) == GPIO_AF_3)||\
((AF) == GPIO_AF_4)||((AF) == GPIO_AF_5)||\
((AF) == GPIO_AF_6)||((AF) == GPIO_AF_7)||\
((AF) == GPIO_AF_8)||((AF) == GPIO_AF_9)||\
((AF) == GPIO_AF_10)||((AF) == GPIO_AF_11)||\
((AF) == GPIO_AF_12)||((AF) == GPIO_AF_13)||\
((AF) == GPIO_AF_14)||((AF) == GPIO_AF_15))
#define GPIO_AF_7
AF 7 selection.
#define GPIO_AF_9
AF 9 selection.
#define GPIO_AF_6
AF 6 selection.
#define GPIO_AF_15
AF 15 selection.
#define GPIO_AF_8
AF 8 selection.
#define GPIO_AF_3
AF 3 selection.
#define GPIO_AF_5
AF 5 selection.
#define GPIO_AF_0
AF 0 selection.
#define GPIO_AF_11
AF 11 selection.
#define GPIO_AF_10
AF 10 selection.
#define GPIO_AF_13
AF 13 selection.
#define GPIO_AF_12
AF 12 selection.
#define GPIO_AF_4
AF 4 selection.
#define GPIO_AF_1
AF 1 selection.
#define GPIO_AF_2
AF 2 selection.
#define GPIO_AF_14
AF 14 selection.

Definition at line 335 of file stm32f30x_gpio.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:30