Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
stm32-pinctrl-common.h File Reference

Go to the source code of this file.

Macros

#define STM32_PORTA   0 /* IO port A */
 numerical IDs for IO ports More...
 
#define STM32_PORTB   1 /* .. */
 
#define STM32_PORTC   2
 
#define STM32_PORTD   3
 
#define STM32_PORTE   4
 
#define STM32_PORTF   5
 
#define STM32_PORTG   6
 
#define STM32_PORTH   7
 
#define STM32_PORTI   8
 
#define STM32_PORTJ   9
 
#define STM32_PORTK   10 /* IO port K */
 
#define STM32_PORTS_MAX   (STM32_PORTK + 1)
 
#define STM32_PINMUX_FUNC_GPIO   0
 
#define STM32_PINMUX_FUNC_ANALOG   (STM32_PINMUX_FUNC_ALT_MAX)
 
#define STM32PIN(_port, _pin)    (_port << 4 | _pin)
 helper macro to encode an IO port pin in a numerical format More...
 
#define STM32_PIN_PA0   STM32PIN(STM32_PORTA, 0)
 
#define STM32_PIN_PA1   STM32PIN(STM32_PORTA, 1)
 
#define STM32_PIN_PA2   STM32PIN(STM32_PORTA, 2)
 
#define STM32_PIN_PA3   STM32PIN(STM32_PORTA, 3)
 
#define STM32_PIN_PA4   STM32PIN(STM32_PORTA, 4)
 
#define STM32_PIN_PA5   STM32PIN(STM32_PORTA, 5)
 
#define STM32_PIN_PA6   STM32PIN(STM32_PORTA, 6)
 
#define STM32_PIN_PA7   STM32PIN(STM32_PORTA, 7)
 
#define STM32_PIN_PA8   STM32PIN(STM32_PORTA, 8)
 
#define STM32_PIN_PA9   STM32PIN(STM32_PORTA, 9)
 
#define STM32_PIN_PA10   STM32PIN(STM32_PORTA, 10)
 
#define STM32_PIN_PA11   STM32PIN(STM32_PORTA, 11)
 
#define STM32_PIN_PA12   STM32PIN(STM32_PORTA, 12)
 
#define STM32_PIN_PA13   STM32PIN(STM32_PORTA, 13)
 
#define STM32_PIN_PA14   STM32PIN(STM32_PORTA, 14)
 
#define STM32_PIN_PA15   STM32PIN(STM32_PORTA, 15)
 
#define STM32_PIN_PB0   STM32PIN(STM32_PORTB, 0)
 
#define STM32_PIN_PB1   STM32PIN(STM32_PORTB, 1)
 
#define STM32_PIN_PB2   STM32PIN(STM32_PORTB, 2)
 
#define STM32_PIN_PB3   STM32PIN(STM32_PORTB, 3)
 
#define STM32_PIN_PB4   STM32PIN(STM32_PORTB, 4)
 
#define STM32_PIN_PB5   STM32PIN(STM32_PORTB, 5)
 
#define STM32_PIN_PB6   STM32PIN(STM32_PORTB, 6)
 
#define STM32_PIN_PB7   STM32PIN(STM32_PORTB, 7)
 
#define STM32_PIN_PB8   STM32PIN(STM32_PORTB, 8)
 
#define STM32_PIN_PB9   STM32PIN(STM32_PORTB, 9)
 
#define STM32_PIN_PB10   STM32PIN(STM32_PORTB, 10)
 
#define STM32_PIN_PB11   STM32PIN(STM32_PORTB, 11)
 
#define STM32_PIN_PB12   STM32PIN(STM32_PORTB, 12)
 
#define STM32_PIN_PB13   STM32PIN(STM32_PORTB, 13)
 
#define STM32_PIN_PB14   STM32PIN(STM32_PORTB, 14)
 
#define STM32_PIN_PB15   STM32PIN(STM32_PORTB, 15)
 
#define STM32_PIN_PC0   STM32PIN(STM32_PORTC, 0)
 
#define STM32_PIN_PC1   STM32PIN(STM32_PORTC, 1)
 
#define STM32_PIN_PC2   STM32PIN(STM32_PORTC, 2)
 
#define STM32_PIN_PC3   STM32PIN(STM32_PORTC, 3)
 
#define STM32_PIN_PC4   STM32PIN(STM32_PORTC, 4)
 
#define STM32_PIN_PC5   STM32PIN(STM32_PORTC, 5)
 
#define STM32_PIN_PC6   STM32PIN(STM32_PORTC, 6)
 
#define STM32_PIN_PC7   STM32PIN(STM32_PORTC, 7)
 
#define STM32_PIN_PC8   STM32PIN(STM32_PORTC, 8)
 
#define STM32_PIN_PC9   STM32PIN(STM32_PORTC, 9)
 
#define STM32_PIN_PC10   STM32PIN(STM32_PORTC, 10)
 
#define STM32_PIN_PC11   STM32PIN(STM32_PORTC, 11)
 
#define STM32_PIN_PC12   STM32PIN(STM32_PORTC, 12)
 
#define STM32_PIN_PC13   STM32PIN(STM32_PORTC, 13)
 
#define STM32_PIN_PC14   STM32PIN(STM32_PORTC, 14)
 
#define STM32_PIN_PC15   STM32PIN(STM32_PORTC, 15)
 
#define STM32_PIN_PD0   STM32PIN(STM32_PORTD, 0)
 
#define STM32_PIN_PD1   STM32PIN(STM32_PORTD, 1)
 
#define STM32_PIN_PD2   STM32PIN(STM32_PORTD, 2)
 
#define STM32_PIN_PD3   STM32PIN(STM32_PORTD, 3)
 
#define STM32_PIN_PD4   STM32PIN(STM32_PORTD, 4)
 
#define STM32_PIN_PD5   STM32PIN(STM32_PORTD, 5)
 
#define STM32_PIN_PD6   STM32PIN(STM32_PORTD, 6)
 
#define STM32_PIN_PD7   STM32PIN(STM32_PORTD, 7)
 
#define STM32_PIN_PD8   STM32PIN(STM32_PORTD, 8)
 
#define STM32_PIN_PD9   STM32PIN(STM32_PORTD, 9)
 
#define STM32_PIN_PD10   STM32PIN(STM32_PORTD, 10)
 
#define STM32_PIN_PD11   STM32PIN(STM32_PORTD, 11)
 
#define STM32_PIN_PD12   STM32PIN(STM32_PORTD, 12)
 
#define STM32_PIN_PD13   STM32PIN(STM32_PORTD, 13)
 
#define STM32_PIN_PD14   STM32PIN(STM32_PORTD, 14)
 
#define STM32_PIN_PD15   STM32PIN(STM32_PORTD, 15)
 
#define STM32_PIN_PE0   STM32PIN(STM32_PORTE, 0)
 
#define STM32_PIN_PE1   STM32PIN(STM32_PORTE, 1)
 
#define STM32_PIN_PE2   STM32PIN(STM32_PORTE, 2)
 
#define STM32_PIN_PE3   STM32PIN(STM32_PORTE, 3)
 
#define STM32_PIN_PE4   STM32PIN(STM32_PORTE, 4)
 
#define STM32_PIN_PE5   STM32PIN(STM32_PORTE, 5)
 
#define STM32_PIN_PE6   STM32PIN(STM32_PORTE, 6)
 
#define STM32_PIN_PE7   STM32PIN(STM32_PORTE, 7)
 
#define STM32_PIN_PE8   STM32PIN(STM32_PORTE, 8)
 
#define STM32_PIN_PE9   STM32PIN(STM32_PORTE, 9)
 
#define STM32_PIN_PE10   STM32PIN(STM32_PORTE, 10)
 
#define STM32_PIN_PE11   STM32PIN(STM32_PORTE, 11)
 
#define STM32_PIN_PE12   STM32PIN(STM32_PORTE, 12)
 
#define STM32_PIN_PE13   STM32PIN(STM32_PORTE, 13)
 
#define STM32_PIN_PE14   STM32PIN(STM32_PORTE, 14)
 
#define STM32_PIN_PE15   STM32PIN(STM32_PORTE, 15)
 
#define STM32_PIN_PF0   STM32PIN(STM32_PORTF, 0)
 
#define STM32_PIN_PF1   STM32PIN(STM32_PORTF, 1)
 
#define STM32_PIN_PF2   STM32PIN(STM32_PORTF, 2)
 
#define STM32_PIN_PF3   STM32PIN(STM32_PORTF, 3)
 
#define STM32_PIN_PF4   STM32PIN(STM32_PORTF, 4)
 
#define STM32_PIN_PF5   STM32PIN(STM32_PORTF, 5)
 
#define STM32_PIN_PF6   STM32PIN(STM32_PORTF, 6)
 
#define STM32_PIN_PF7   STM32PIN(STM32_PORTF, 7)
 
#define STM32_PIN_PF8   STM32PIN(STM32_PORTF, 8)
 
#define STM32_PIN_PF9   STM32PIN(STM32_PORTF, 9)
 
#define STM32_PIN_PF10   STM32PIN(STM32_PORTF, 10)
 
#define STM32_PIN_PF11   STM32PIN(STM32_PORTF, 11)
 
#define STM32_PIN_PF12   STM32PIN(STM32_PORTF, 12)
 
#define STM32_PIN_PF13   STM32PIN(STM32_PORTF, 13)
 
#define STM32_PIN_PF14   STM32PIN(STM32_PORTF, 14)
 
#define STM32_PIN_PF15   STM32PIN(STM32_PORTF, 15)
 
#define STM32_PIN_PG0   STM32PIN(STM32_PORTG, 0)
 
#define STM32_PIN_PG1   STM32PIN(STM32_PORTG, 1)
 
#define STM32_PIN_PG2   STM32PIN(STM32_PORTG, 2)
 
#define STM32_PIN_PG3   STM32PIN(STM32_PORTG, 3)
 
#define STM32_PIN_PG4   STM32PIN(STM32_PORTG, 4)
 
#define STM32_PIN_PG5   STM32PIN(STM32_PORTG, 5)
 
#define STM32_PIN_PG6   STM32PIN(STM32_PORTG, 6)
 
#define STM32_PIN_PG7   STM32PIN(STM32_PORTG, 7)
 
#define STM32_PIN_PG8   STM32PIN(STM32_PORTG, 8)
 
#define STM32_PIN_PG9   STM32PIN(STM32_PORTG, 9)
 
#define STM32_PIN_PG10   STM32PIN(STM32_PORTG, 10)
 
#define STM32_PIN_PG11   STM32PIN(STM32_PORTG, 11)
 
#define STM32_PIN_PG12   STM32PIN(STM32_PORTG, 12)
 
#define STM32_PIN_PG13   STM32PIN(STM32_PORTG, 13)
 
#define STM32_PIN_PG14   STM32PIN(STM32_PORTG, 14)
 
#define STM32_PIN_PG15   STM32PIN(STM32_PORTG, 15)
 
#define STM32_PIN_PH0   STM32PIN(STM32_PORTH, 0)
 
#define STM32_PIN_PH1   STM32PIN(STM32_PORTH, 1)
 
#define STM32_PIN_PH2   STM32PIN(STM32_PORTH, 2)
 
#define STM32_PIN_PH3   STM32PIN(STM32_PORTH, 3)
 
#define STM32_PIN_PH4   STM32PIN(STM32_PORTH, 4)
 
#define STM32_PIN_PH5   STM32PIN(STM32_PORTH, 5)
 
#define STM32_PIN_PH6   STM32PIN(STM32_PORTH, 6)
 
#define STM32_PIN_PH7   STM32PIN(STM32_PORTH, 7)
 
#define STM32_PIN_PH8   STM32PIN(STM32_PORTH, 8)
 
#define STM32_PIN_PH9   STM32PIN(STM32_PORTH, 9)
 
#define STM32_PIN_PH10   STM32PIN(STM32_PORTH, 10)
 
#define STM32_PIN_PH11   STM32PIN(STM32_PORTH, 11)
 
#define STM32_PIN_PH12   STM32PIN(STM32_PORTH, 12)
 
#define STM32_PIN_PH13   STM32PIN(STM32_PORTH, 13)
 
#define STM32_PIN_PH14   STM32PIN(STM32_PORTH, 14)
 
#define STM32_PIN_PH15   STM32PIN(STM32_PORTH, 15)
 
#define STM32_PIN_PI0   STM32PIN(STM32_PORTI, 0)
 
#define STM32_PIN_PI1   STM32PIN(STM32_PORTI, 1)
 
#define STM32_PIN_PI2   STM32PIN(STM32_PORTI, 2)
 
#define STM32_PIN_PI3   STM32PIN(STM32_PORTI, 3)
 
#define STM32_PIN_PI4   STM32PIN(STM32_PORTI, 4)
 
#define STM32_PIN_PI5   STM32PIN(STM32_PORTI, 5)
 
#define STM32_PIN_PI6   STM32PIN(STM32_PORTI, 6)
 
#define STM32_PIN_PI7   STM32PIN(STM32_PORTI, 7)
 
#define STM32_PIN_PI8   STM32PIN(STM32_PORTI, 8)
 
#define STM32_PIN_PI9   STM32PIN(STM32_PORTI, 9)
 
#define STM32_PIN_PI10   STM32PIN(STM32_PORTI, 10)
 
#define STM32_PIN_PI11   STM32PIN(STM32_PORTI, 11)
 
#define STM32_PIN_PI12   STM32PIN(STM32_PORTI, 12)
 
#define STM32_PIN_PI13   STM32PIN(STM32_PORTI, 13)
 
#define STM32_PIN_PI14   STM32PIN(STM32_PORTI, 14)
 
#define STM32_PIN_PI15   STM32PIN(STM32_PORTI, 15)
 
#define STM32_PIN_PJ0   STM32PIN(STM32_PORTJ, 0)
 
#define STM32_PIN_PJ1   STM32PIN(STM32_PORTJ, 1)
 
#define STM32_PIN_PJ2   STM32PIN(STM32_PORTJ, 2)
 
#define STM32_PIN_PJ3   STM32PIN(STM32_PORTJ, 3)
 
#define STM32_PIN_PJ4   STM32PIN(STM32_PORTJ, 4)
 
#define STM32_PIN_PJ5   STM32PIN(STM32_PORTJ, 5)
 
#define STM32_PIN_PJ6   STM32PIN(STM32_PORTJ, 6)
 
#define STM32_PIN_PJ7   STM32PIN(STM32_PORTJ, 7)
 
#define STM32_PIN_PJ8   STM32PIN(STM32_PORTJ, 8)
 
#define STM32_PIN_PJ9   STM32PIN(STM32_PORTJ, 9)
 
#define STM32_PIN_PJ10   STM32PIN(STM32_PORTJ, 10)
 
#define STM32_PIN_PJ11   STM32PIN(STM32_PORTJ, 11)
 
#define STM32_PIN_PJ12   STM32PIN(STM32_PORTJ, 12)
 
#define STM32_PIN_PJ13   STM32PIN(STM32_PORTJ, 13)
 
#define STM32_PIN_PJ14   STM32PIN(STM32_PORTJ, 14)
 
#define STM32_PIN_PJ15   STM32PIN(STM32_PORTJ, 15)
 
#define STM32_PIN_PK0   STM32PIN(STM32_PORTK, 0)
 
#define STM32_PIN_PK1   STM32PIN(STM32_PORTK, 1)
 
#define STM32_PIN_PK2   STM32PIN(STM32_PORTK, 2)
 
#define STM32_PIN_PK3   STM32PIN(STM32_PORTK, 3)
 
#define STM32_PIN_PK4   STM32PIN(STM32_PORTK, 4)
 
#define STM32_PIN_PK5   STM32PIN(STM32_PORTK, 5)
 
#define STM32_PIN_PK6   STM32PIN(STM32_PORTK, 6)
 
#define STM32_PIN_PK7   STM32PIN(STM32_PORTK, 7)
 
#define STM32_PIN_PK8   STM32PIN(STM32_PORTK, 8)
 
#define STM32_PIN_PK9   STM32PIN(STM32_PORTK, 9)
 
#define STM32_PIN_PK10   STM32PIN(STM32_PORTK, 10)
 
#define STM32_PIN_PK11   STM32PIN(STM32_PORTK, 11)
 
#define STM32_PIN_PK12   STM32PIN(STM32_PORTK, 12)
 
#define STM32_PIN_PK13   STM32PIN(STM32_PORTK, 13)
 
#define STM32_PIN_PK14   STM32PIN(STM32_PORTK, 14)
 
#define STM32_PIN_PK15   STM32PIN(STM32_PORTK, 15)
 

Macro Definition Documentation

◆ STM32_PIN_PA0

#define STM32_PIN_PA0   STM32PIN(STM32_PORTA, 0)

◆ STM32_PIN_PA1

#define STM32_PIN_PA1   STM32PIN(STM32_PORTA, 1)

◆ STM32_PIN_PA10

#define STM32_PIN_PA10   STM32PIN(STM32_PORTA, 10)

◆ STM32_PIN_PA11

#define STM32_PIN_PA11   STM32PIN(STM32_PORTA, 11)

◆ STM32_PIN_PA12

#define STM32_PIN_PA12   STM32PIN(STM32_PORTA, 12)

◆ STM32_PIN_PA13

#define STM32_PIN_PA13   STM32PIN(STM32_PORTA, 13)

◆ STM32_PIN_PA14

#define STM32_PIN_PA14   STM32PIN(STM32_PORTA, 14)

◆ STM32_PIN_PA15

#define STM32_PIN_PA15   STM32PIN(STM32_PORTA, 15)

◆ STM32_PIN_PA2

#define STM32_PIN_PA2   STM32PIN(STM32_PORTA, 2)

◆ STM32_PIN_PA3

#define STM32_PIN_PA3   STM32PIN(STM32_PORTA, 3)

◆ STM32_PIN_PA4

#define STM32_PIN_PA4   STM32PIN(STM32_PORTA, 4)

◆ STM32_PIN_PA5

#define STM32_PIN_PA5   STM32PIN(STM32_PORTA, 5)

◆ STM32_PIN_PA6

#define STM32_PIN_PA6   STM32PIN(STM32_PORTA, 6)

◆ STM32_PIN_PA7

#define STM32_PIN_PA7   STM32PIN(STM32_PORTA, 7)

◆ STM32_PIN_PA8

#define STM32_PIN_PA8   STM32PIN(STM32_PORTA, 8)

◆ STM32_PIN_PA9

#define STM32_PIN_PA9   STM32PIN(STM32_PORTA, 9)

◆ STM32_PIN_PB0

#define STM32_PIN_PB0   STM32PIN(STM32_PORTB, 0)

◆ STM32_PIN_PB1

#define STM32_PIN_PB1   STM32PIN(STM32_PORTB, 1)

◆ STM32_PIN_PB10

#define STM32_PIN_PB10   STM32PIN(STM32_PORTB, 10)

◆ STM32_PIN_PB11

#define STM32_PIN_PB11   STM32PIN(STM32_PORTB, 11)

◆ STM32_PIN_PB12

#define STM32_PIN_PB12   STM32PIN(STM32_PORTB, 12)

◆ STM32_PIN_PB13

#define STM32_PIN_PB13   STM32PIN(STM32_PORTB, 13)

◆ STM32_PIN_PB14

#define STM32_PIN_PB14   STM32PIN(STM32_PORTB, 14)

◆ STM32_PIN_PB15

#define STM32_PIN_PB15   STM32PIN(STM32_PORTB, 15)

◆ STM32_PIN_PB2

#define STM32_PIN_PB2   STM32PIN(STM32_PORTB, 2)

◆ STM32_PIN_PB3

#define STM32_PIN_PB3   STM32PIN(STM32_PORTB, 3)

◆ STM32_PIN_PB4

#define STM32_PIN_PB4   STM32PIN(STM32_PORTB, 4)

◆ STM32_PIN_PB5

#define STM32_PIN_PB5   STM32PIN(STM32_PORTB, 5)

◆ STM32_PIN_PB6

#define STM32_PIN_PB6   STM32PIN(STM32_PORTB, 6)

◆ STM32_PIN_PB7

#define STM32_PIN_PB7   STM32PIN(STM32_PORTB, 7)

◆ STM32_PIN_PB8

#define STM32_PIN_PB8   STM32PIN(STM32_PORTB, 8)

◆ STM32_PIN_PB9

#define STM32_PIN_PB9   STM32PIN(STM32_PORTB, 9)

◆ STM32_PIN_PC0

#define STM32_PIN_PC0   STM32PIN(STM32_PORTC, 0)

◆ STM32_PIN_PC1

#define STM32_PIN_PC1   STM32PIN(STM32_PORTC, 1)

◆ STM32_PIN_PC10

#define STM32_PIN_PC10   STM32PIN(STM32_PORTC, 10)

◆ STM32_PIN_PC11

#define STM32_PIN_PC11   STM32PIN(STM32_PORTC, 11)

◆ STM32_PIN_PC12

#define STM32_PIN_PC12   STM32PIN(STM32_PORTC, 12)

◆ STM32_PIN_PC13

#define STM32_PIN_PC13   STM32PIN(STM32_PORTC, 13)

◆ STM32_PIN_PC14

#define STM32_PIN_PC14   STM32PIN(STM32_PORTC, 14)

◆ STM32_PIN_PC15

#define STM32_PIN_PC15   STM32PIN(STM32_PORTC, 15)

◆ STM32_PIN_PC2

#define STM32_PIN_PC2   STM32PIN(STM32_PORTC, 2)

◆ STM32_PIN_PC3

#define STM32_PIN_PC3   STM32PIN(STM32_PORTC, 3)

◆ STM32_PIN_PC4

#define STM32_PIN_PC4   STM32PIN(STM32_PORTC, 4)

◆ STM32_PIN_PC5

#define STM32_PIN_PC5   STM32PIN(STM32_PORTC, 5)

◆ STM32_PIN_PC6

#define STM32_PIN_PC6   STM32PIN(STM32_PORTC, 6)

◆ STM32_PIN_PC7

#define STM32_PIN_PC7   STM32PIN(STM32_PORTC, 7)

◆ STM32_PIN_PC8

#define STM32_PIN_PC8   STM32PIN(STM32_PORTC, 8)

◆ STM32_PIN_PC9

#define STM32_PIN_PC9   STM32PIN(STM32_PORTC, 9)

◆ STM32_PIN_PD0

#define STM32_PIN_PD0   STM32PIN(STM32_PORTD, 0)

◆ STM32_PIN_PD1

#define STM32_PIN_PD1   STM32PIN(STM32_PORTD, 1)

◆ STM32_PIN_PD10

#define STM32_PIN_PD10   STM32PIN(STM32_PORTD, 10)

◆ STM32_PIN_PD11

#define STM32_PIN_PD11   STM32PIN(STM32_PORTD, 11)

◆ STM32_PIN_PD12

#define STM32_PIN_PD12   STM32PIN(STM32_PORTD, 12)

◆ STM32_PIN_PD13

#define STM32_PIN_PD13   STM32PIN(STM32_PORTD, 13)

◆ STM32_PIN_PD14

#define STM32_PIN_PD14   STM32PIN(STM32_PORTD, 14)

◆ STM32_PIN_PD15

#define STM32_PIN_PD15   STM32PIN(STM32_PORTD, 15)

◆ STM32_PIN_PD2

#define STM32_PIN_PD2   STM32PIN(STM32_PORTD, 2)

◆ STM32_PIN_PD3

#define STM32_PIN_PD3   STM32PIN(STM32_PORTD, 3)

◆ STM32_PIN_PD4

#define STM32_PIN_PD4   STM32PIN(STM32_PORTD, 4)

◆ STM32_PIN_PD5

#define STM32_PIN_PD5   STM32PIN(STM32_PORTD, 5)

◆ STM32_PIN_PD6

#define STM32_PIN_PD6   STM32PIN(STM32_PORTD, 6)

◆ STM32_PIN_PD7

#define STM32_PIN_PD7   STM32PIN(STM32_PORTD, 7)

◆ STM32_PIN_PD8

#define STM32_PIN_PD8   STM32PIN(STM32_PORTD, 8)

◆ STM32_PIN_PD9

#define STM32_PIN_PD9   STM32PIN(STM32_PORTD, 9)

◆ STM32_PIN_PE0

#define STM32_PIN_PE0   STM32PIN(STM32_PORTE, 0)

◆ STM32_PIN_PE1

#define STM32_PIN_PE1   STM32PIN(STM32_PORTE, 1)

◆ STM32_PIN_PE10

#define STM32_PIN_PE10   STM32PIN(STM32_PORTE, 10)

◆ STM32_PIN_PE11

#define STM32_PIN_PE11   STM32PIN(STM32_PORTE, 11)

◆ STM32_PIN_PE12

#define STM32_PIN_PE12   STM32PIN(STM32_PORTE, 12)

◆ STM32_PIN_PE13

#define STM32_PIN_PE13   STM32PIN(STM32_PORTE, 13)

◆ STM32_PIN_PE14

#define STM32_PIN_PE14   STM32PIN(STM32_PORTE, 14)

◆ STM32_PIN_PE15

#define STM32_PIN_PE15   STM32PIN(STM32_PORTE, 15)

◆ STM32_PIN_PE2

#define STM32_PIN_PE2   STM32PIN(STM32_PORTE, 2)

◆ STM32_PIN_PE3

#define STM32_PIN_PE3   STM32PIN(STM32_PORTE, 3)

◆ STM32_PIN_PE4

#define STM32_PIN_PE4   STM32PIN(STM32_PORTE, 4)

◆ STM32_PIN_PE5

#define STM32_PIN_PE5   STM32PIN(STM32_PORTE, 5)

◆ STM32_PIN_PE6

#define STM32_PIN_PE6   STM32PIN(STM32_PORTE, 6)

◆ STM32_PIN_PE7

#define STM32_PIN_PE7   STM32PIN(STM32_PORTE, 7)

◆ STM32_PIN_PE8

#define STM32_PIN_PE8   STM32PIN(STM32_PORTE, 8)

◆ STM32_PIN_PE9

#define STM32_PIN_PE9   STM32PIN(STM32_PORTE, 9)

◆ STM32_PIN_PF0

#define STM32_PIN_PF0   STM32PIN(STM32_PORTF, 0)

◆ STM32_PIN_PF1

#define STM32_PIN_PF1   STM32PIN(STM32_PORTF, 1)

◆ STM32_PIN_PF10

#define STM32_PIN_PF10   STM32PIN(STM32_PORTF, 10)

◆ STM32_PIN_PF11

#define STM32_PIN_PF11   STM32PIN(STM32_PORTF, 11)

◆ STM32_PIN_PF12

#define STM32_PIN_PF12   STM32PIN(STM32_PORTF, 12)

◆ STM32_PIN_PF13

#define STM32_PIN_PF13   STM32PIN(STM32_PORTF, 13)

◆ STM32_PIN_PF14

#define STM32_PIN_PF14   STM32PIN(STM32_PORTF, 14)

◆ STM32_PIN_PF15

#define STM32_PIN_PF15   STM32PIN(STM32_PORTF, 15)

◆ STM32_PIN_PF2

#define STM32_PIN_PF2   STM32PIN(STM32_PORTF, 2)

◆ STM32_PIN_PF3

#define STM32_PIN_PF3   STM32PIN(STM32_PORTF, 3)

◆ STM32_PIN_PF4

#define STM32_PIN_PF4   STM32PIN(STM32_PORTF, 4)

◆ STM32_PIN_PF5

#define STM32_PIN_PF5   STM32PIN(STM32_PORTF, 5)

◆ STM32_PIN_PF6

#define STM32_PIN_PF6   STM32PIN(STM32_PORTF, 6)

◆ STM32_PIN_PF7

#define STM32_PIN_PF7   STM32PIN(STM32_PORTF, 7)

◆ STM32_PIN_PF8

#define STM32_PIN_PF8   STM32PIN(STM32_PORTF, 8)

◆ STM32_PIN_PF9

#define STM32_PIN_PF9   STM32PIN(STM32_PORTF, 9)

◆ STM32_PIN_PG0

#define STM32_PIN_PG0   STM32PIN(STM32_PORTG, 0)

◆ STM32_PIN_PG1

#define STM32_PIN_PG1   STM32PIN(STM32_PORTG, 1)

◆ STM32_PIN_PG10

#define STM32_PIN_PG10   STM32PIN(STM32_PORTG, 10)

◆ STM32_PIN_PG11

#define STM32_PIN_PG11   STM32PIN(STM32_PORTG, 11)

◆ STM32_PIN_PG12

#define STM32_PIN_PG12   STM32PIN(STM32_PORTG, 12)

◆ STM32_PIN_PG13

#define STM32_PIN_PG13   STM32PIN(STM32_PORTG, 13)

◆ STM32_PIN_PG14

#define STM32_PIN_PG14   STM32PIN(STM32_PORTG, 14)

◆ STM32_PIN_PG15

#define STM32_PIN_PG15   STM32PIN(STM32_PORTG, 15)

◆ STM32_PIN_PG2

#define STM32_PIN_PG2   STM32PIN(STM32_PORTG, 2)

◆ STM32_PIN_PG3

#define STM32_PIN_PG3   STM32PIN(STM32_PORTG, 3)

◆ STM32_PIN_PG4

#define STM32_PIN_PG4   STM32PIN(STM32_PORTG, 4)

◆ STM32_PIN_PG5

#define STM32_PIN_PG5   STM32PIN(STM32_PORTG, 5)

◆ STM32_PIN_PG6

#define STM32_PIN_PG6   STM32PIN(STM32_PORTG, 6)

◆ STM32_PIN_PG7

#define STM32_PIN_PG7   STM32PIN(STM32_PORTG, 7)

◆ STM32_PIN_PG8

#define STM32_PIN_PG8   STM32PIN(STM32_PORTG, 8)

◆ STM32_PIN_PG9

#define STM32_PIN_PG9   STM32PIN(STM32_PORTG, 9)

◆ STM32_PIN_PH0

#define STM32_PIN_PH0   STM32PIN(STM32_PORTH, 0)

◆ STM32_PIN_PH1

#define STM32_PIN_PH1   STM32PIN(STM32_PORTH, 1)

◆ STM32_PIN_PH10

#define STM32_PIN_PH10   STM32PIN(STM32_PORTH, 10)

◆ STM32_PIN_PH11

#define STM32_PIN_PH11   STM32PIN(STM32_PORTH, 11)

◆ STM32_PIN_PH12

#define STM32_PIN_PH12   STM32PIN(STM32_PORTH, 12)

◆ STM32_PIN_PH13

#define STM32_PIN_PH13   STM32PIN(STM32_PORTH, 13)

◆ STM32_PIN_PH14

#define STM32_PIN_PH14   STM32PIN(STM32_PORTH, 14)

◆ STM32_PIN_PH15

#define STM32_PIN_PH15   STM32PIN(STM32_PORTH, 15)

◆ STM32_PIN_PH2

#define STM32_PIN_PH2   STM32PIN(STM32_PORTH, 2)

◆ STM32_PIN_PH3

#define STM32_PIN_PH3   STM32PIN(STM32_PORTH, 3)

◆ STM32_PIN_PH4

#define STM32_PIN_PH4   STM32PIN(STM32_PORTH, 4)

◆ STM32_PIN_PH5

#define STM32_PIN_PH5   STM32PIN(STM32_PORTH, 5)

◆ STM32_PIN_PH6

#define STM32_PIN_PH6   STM32PIN(STM32_PORTH, 6)

◆ STM32_PIN_PH7

#define STM32_PIN_PH7   STM32PIN(STM32_PORTH, 7)

◆ STM32_PIN_PH8

#define STM32_PIN_PH8   STM32PIN(STM32_PORTH, 8)

◆ STM32_PIN_PH9

#define STM32_PIN_PH9   STM32PIN(STM32_PORTH, 9)

◆ STM32_PIN_PI0

#define STM32_PIN_PI0   STM32PIN(STM32_PORTI, 0)

◆ STM32_PIN_PI1

#define STM32_PIN_PI1   STM32PIN(STM32_PORTI, 1)

◆ STM32_PIN_PI10

#define STM32_PIN_PI10   STM32PIN(STM32_PORTI, 10)

◆ STM32_PIN_PI11

#define STM32_PIN_PI11   STM32PIN(STM32_PORTI, 11)

◆ STM32_PIN_PI12

#define STM32_PIN_PI12   STM32PIN(STM32_PORTI, 12)

◆ STM32_PIN_PI13

#define STM32_PIN_PI13   STM32PIN(STM32_PORTI, 13)

◆ STM32_PIN_PI14

#define STM32_PIN_PI14   STM32PIN(STM32_PORTI, 14)

◆ STM32_PIN_PI15

#define STM32_PIN_PI15   STM32PIN(STM32_PORTI, 15)

◆ STM32_PIN_PI2

#define STM32_PIN_PI2   STM32PIN(STM32_PORTI, 2)

◆ STM32_PIN_PI3

#define STM32_PIN_PI3   STM32PIN(STM32_PORTI, 3)

◆ STM32_PIN_PI4

#define STM32_PIN_PI4   STM32PIN(STM32_PORTI, 4)

◆ STM32_PIN_PI5

#define STM32_PIN_PI5   STM32PIN(STM32_PORTI, 5)

◆ STM32_PIN_PI6

#define STM32_PIN_PI6   STM32PIN(STM32_PORTI, 6)

◆ STM32_PIN_PI7

#define STM32_PIN_PI7   STM32PIN(STM32_PORTI, 7)

◆ STM32_PIN_PI8

#define STM32_PIN_PI8   STM32PIN(STM32_PORTI, 8)

◆ STM32_PIN_PI9

#define STM32_PIN_PI9   STM32PIN(STM32_PORTI, 9)

◆ STM32_PIN_PJ0

#define STM32_PIN_PJ0   STM32PIN(STM32_PORTJ, 0)

◆ STM32_PIN_PJ1

#define STM32_PIN_PJ1   STM32PIN(STM32_PORTJ, 1)

◆ STM32_PIN_PJ10

#define STM32_PIN_PJ10   STM32PIN(STM32_PORTJ, 10)

◆ STM32_PIN_PJ11

#define STM32_PIN_PJ11   STM32PIN(STM32_PORTJ, 11)

◆ STM32_PIN_PJ12

#define STM32_PIN_PJ12   STM32PIN(STM32_PORTJ, 12)

◆ STM32_PIN_PJ13

#define STM32_PIN_PJ13   STM32PIN(STM32_PORTJ, 13)

◆ STM32_PIN_PJ14

#define STM32_PIN_PJ14   STM32PIN(STM32_PORTJ, 14)

◆ STM32_PIN_PJ15

#define STM32_PIN_PJ15   STM32PIN(STM32_PORTJ, 15)

◆ STM32_PIN_PJ2

#define STM32_PIN_PJ2   STM32PIN(STM32_PORTJ, 2)

◆ STM32_PIN_PJ3

#define STM32_PIN_PJ3   STM32PIN(STM32_PORTJ, 3)

◆ STM32_PIN_PJ4

#define STM32_PIN_PJ4   STM32PIN(STM32_PORTJ, 4)

◆ STM32_PIN_PJ5

#define STM32_PIN_PJ5   STM32PIN(STM32_PORTJ, 5)

◆ STM32_PIN_PJ6

#define STM32_PIN_PJ6   STM32PIN(STM32_PORTJ, 6)

◆ STM32_PIN_PJ7

#define STM32_PIN_PJ7   STM32PIN(STM32_PORTJ, 7)

◆ STM32_PIN_PJ8

#define STM32_PIN_PJ8   STM32PIN(STM32_PORTJ, 8)

◆ STM32_PIN_PJ9

#define STM32_PIN_PJ9   STM32PIN(STM32_PORTJ, 9)

◆ STM32_PIN_PK0

#define STM32_PIN_PK0   STM32PIN(STM32_PORTK, 0)

◆ STM32_PIN_PK1

#define STM32_PIN_PK1   STM32PIN(STM32_PORTK, 1)

◆ STM32_PIN_PK10

#define STM32_PIN_PK10   STM32PIN(STM32_PORTK, 10)

◆ STM32_PIN_PK11

#define STM32_PIN_PK11   STM32PIN(STM32_PORTK, 11)

◆ STM32_PIN_PK12

#define STM32_PIN_PK12   STM32PIN(STM32_PORTK, 12)

◆ STM32_PIN_PK13

#define STM32_PIN_PK13   STM32PIN(STM32_PORTK, 13)

◆ STM32_PIN_PK14

#define STM32_PIN_PK14   STM32PIN(STM32_PORTK, 14)

◆ STM32_PIN_PK15

#define STM32_PIN_PK15   STM32PIN(STM32_PORTK, 15)

◆ STM32_PIN_PK2

#define STM32_PIN_PK2   STM32PIN(STM32_PORTK, 2)

◆ STM32_PIN_PK3

#define STM32_PIN_PK3   STM32PIN(STM32_PORTK, 3)

◆ STM32_PIN_PK4

#define STM32_PIN_PK4   STM32PIN(STM32_PORTK, 4)

◆ STM32_PIN_PK5

#define STM32_PIN_PK5   STM32PIN(STM32_PORTK, 5)

◆ STM32_PIN_PK6

#define STM32_PIN_PK6   STM32PIN(STM32_PORTK, 6)

◆ STM32_PIN_PK7

#define STM32_PIN_PK7   STM32PIN(STM32_PORTK, 7)

◆ STM32_PIN_PK8

#define STM32_PIN_PK8   STM32PIN(STM32_PORTK, 8)

◆ STM32_PIN_PK9

#define STM32_PIN_PK9   STM32PIN(STM32_PORTK, 9)

◆ STM32_PINMUX_FUNC_ANALOG

#define STM32_PINMUX_FUNC_ANALOG   (STM32_PINMUX_FUNC_ALT_MAX)

◆ STM32_PINMUX_FUNC_GPIO

#define STM32_PINMUX_FUNC_GPIO   0

◆ STM32_PORTA

#define STM32_PORTA   0 /* IO port A */

numerical IDs for IO ports

◆ STM32_PORTB

#define STM32_PORTB   1 /* .. */

◆ STM32_PORTC

#define STM32_PORTC   2

◆ STM32_PORTD

#define STM32_PORTD   3

◆ STM32_PORTE

#define STM32_PORTE   4

◆ STM32_PORTF

#define STM32_PORTF   5

◆ STM32_PORTG

#define STM32_PORTG   6

◆ STM32_PORTH

#define STM32_PORTH   7

◆ STM32_PORTI

#define STM32_PORTI   8

◆ STM32_PORTJ

#define STM32_PORTJ   9

◆ STM32_PORTK

#define STM32_PORTK   10 /* IO port K */

◆ STM32_PORTS_MAX

#define STM32_PORTS_MAX   (STM32_PORTK + 1)

◆ STM32PIN

#define STM32PIN (   _port,
  _pin 
)     (_port << 4 | _pin)

helper macro to encode an IO port pin in a numerical format