LL GPIO Constants ¶
LL GPIO Constants ¶
- group GPIO_LL_Exported_Constants
-
Defines
-
LL_GPIO_SPEED_LOW
LL_GPIO_SPEED_FREQ_LOW
¶
-
LL_GPIO_SPEED_MEDIUM
LL_GPIO_SPEED_FREQ_MEDIUM
¶
-
LL_GPIO_SPEED_FAST
LL_GPIO_SPEED_FREQ_HIGH
¶
-
LL_GPIO_SPEED_HIGH
LL_GPIO_SPEED_FREQ_VERY_HIGH
¶
-
LL_GPIO_SPEED_LOW
LL_GPIO_SPEED_FREQ_LOW
¶
- group GPIO_LL_Exported_Constants
-
Defines
-
LL_GPIO_SPEED_LOW
LL_GPIO_SPEED_FREQ_LOW
-
LL_GPIO_SPEED_MEDIUM
LL_GPIO_SPEED_FREQ_MEDIUM
-
LL_GPIO_SPEED_FAST
LL_GPIO_SPEED_FREQ_HIGH
-
LL_GPIO_SPEED_HIGH
LL_GPIO_SPEED_FREQ_VERY_HIGH
-
LL_GPIO_SPEED_LOW
LL_GPIO_SPEED_FREQ_LOW
- group GPIO_LL_Exported_Constants
-
Defines
-
LL_GPIO_SPEED_LOW
LL_GPIO_SPEED_FREQ_LOW
-
LL_GPIO_SPEED_MEDIUM
LL_GPIO_SPEED_FREQ_MEDIUM
-
LL_GPIO_SPEED_FAST
LL_GPIO_SPEED_FREQ_HIGH
-
LL_GPIO_SPEED_HIGH
LL_GPIO_SPEED_FREQ_VERY_HIGH
-
LL_GPIO_SPEED_LOW
LL_GPIO_SPEED_FREQ_LOW
PIN ¶
- group GPIO_LL_EC_PIN
-
Defines
-
LL_GPIO_PIN_0
GPIO_BSRR_BS0
¶
-
Select pin 0
-
LL_GPIO_PIN_1
GPIO_BSRR_BS1
¶
-
Select pin 1
-
LL_GPIO_PIN_2
GPIO_BSRR_BS2
¶
-
Select pin 2
-
LL_GPIO_PIN_3
GPIO_BSRR_BS3
¶
-
Select pin 3
-
LL_GPIO_PIN_4
GPIO_BSRR_BS4
¶
-
Select pin 4
-
LL_GPIO_PIN_5
GPIO_BSRR_BS5
¶
-
Select pin 5
-
LL_GPIO_PIN_6
GPIO_BSRR_BS6
¶
-
Select pin 6
-
LL_GPIO_PIN_7
GPIO_BSRR_BS7
¶
-
Select pin 7
-
LL_GPIO_PIN_8
GPIO_BSRR_BS8
¶
-
Select pin 8
-
LL_GPIO_PIN_9
GPIO_BSRR_BS9
¶
-
Select pin 9
-
LL_GPIO_PIN_10
GPIO_BSRR_BS10
¶
-
Select pin 10
-
LL_GPIO_PIN_11
GPIO_BSRR_BS11
¶
-
Select pin 11
-
LL_GPIO_PIN_12
GPIO_BSRR_BS12
¶
-
Select pin 12
-
LL_GPIO_PIN_13
GPIO_BSRR_BS13
¶
-
Select pin 13
-
LL_GPIO_PIN_14
GPIO_BSRR_BS14
¶
-
Select pin 14
-
LL_GPIO_PIN_15
GPIO_BSRR_BS15
¶
-
Select pin 15
-
LL_GPIO_PIN_ALL
(GPIO_BSRR_BS0 | GPIO_BSRR_BS1 | GPIO_BSRR_BS2 \
| GPIO_BSRR_BS3 | GPIO_BSRR_BS4 | GPIO_BSRR_BS5 \
| GPIO_BSRR_BS6 | GPIO_BSRR_BS7 | GPIO_BSRR_BS8 \
| GPIO_BSRR_BS9 | GPIO_BSRR_BS10 | GPIO_BSRR_BS11 \
| GPIO_BSRR_BS12 | GPIO_BSRR_BS13 | GPIO_BSRR_BS14 \
| GPIO_BSRR_BS15)
¶
-
Select all pins
-
LL_GPIO_PIN_0
GPIO_BSRR_BS0
¶
- group GPIO_LL_EC_PIN
-
Defines
-
LL_GPIO_PIN_0
GPIO_BSRR_BS0
-
Select pin 0
-
LL_GPIO_PIN_1
GPIO_BSRR_BS1
-
Select pin 1
-
LL_GPIO_PIN_2
GPIO_BSRR_BS2
-
Select pin 2
-
LL_GPIO_PIN_3
GPIO_BSRR_BS3
-
Select pin 3
-
LL_GPIO_PIN_4
GPIO_BSRR_BS4
-
Select pin 4
-
LL_GPIO_PIN_5
GPIO_BSRR_BS5
-
Select pin 5
-
LL_GPIO_PIN_6
GPIO_BSRR_BS6
-
Select pin 6
-
LL_GPIO_PIN_7
GPIO_BSRR_BS7
-
Select pin 7
-
LL_GPIO_PIN_8
GPIO_BSRR_BS8
-
Select pin 8
-
LL_GPIO_PIN_9
GPIO_BSRR_BS9
-
Select pin 9
-
LL_GPIO_PIN_10
GPIO_BSRR_BS10
-
Select pin 10
-
LL_GPIO_PIN_11
GPIO_BSRR_BS11
-
Select pin 11
-
LL_GPIO_PIN_12
GPIO_BSRR_BS12
-
Select pin 12
-
LL_GPIO_PIN_13
GPIO_BSRR_BS13
-
Select pin 13
-
LL_GPIO_PIN_14
GPIO_BSRR_BS14
-
Select pin 14
-
LL_GPIO_PIN_15
GPIO_BSRR_BS15
-
Select pin 15
-
LL_GPIO_PIN_ALL
(GPIO_BSRR_BS0 | GPIO_BSRR_BS1 | GPIO_BSRR_BS2 \
| GPIO_BSRR_BS3 | GPIO_BSRR_BS4 | GPIO_BSRR_BS5 \
| GPIO_BSRR_BS6 | GPIO_BSRR_BS7 | GPIO_BSRR_BS8 \
| GPIO_BSRR_BS9 | GPIO_BSRR_BS10 | GPIO_BSRR_BS11 \
| GPIO_BSRR_BS12 | GPIO_BSRR_BS13 | GPIO_BSRR_BS14 \
| GPIO_BSRR_BS15)
-
Select all pins
-
LL_GPIO_PIN_0
GPIO_BSRR_BS0
- group GPIO_LL_EC_PIN
-
Defines
-
LL_GPIO_PIN_0
GPIO_BSRR_BS0
-
Select pin 0
-
LL_GPIO_PIN_1
GPIO_BSRR_BS1
-
Select pin 1
-
LL_GPIO_PIN_2
GPIO_BSRR_BS2
-
Select pin 2
-
LL_GPIO_PIN_3
GPIO_BSRR_BS3
-
Select pin 3
-
LL_GPIO_PIN_4
GPIO_BSRR_BS4
-
Select pin 4
-
LL_GPIO_PIN_5
GPIO_BSRR_BS5
-
Select pin 5
-
LL_GPIO_PIN_6
GPIO_BSRR_BS6
-
Select pin 6
-
LL_GPIO_PIN_7
GPIO_BSRR_BS7
-
Select pin 7
-
LL_GPIO_PIN_8
GPIO_BSRR_BS8
-
Select pin 8
-
LL_GPIO_PIN_9
GPIO_BSRR_BS9
-
Select pin 9
-
LL_GPIO_PIN_10
GPIO_BSRR_BS10
-
Select pin 10
-
LL_GPIO_PIN_11
GPIO_BSRR_BS11
-
Select pin 11
-
LL_GPIO_PIN_12
GPIO_BSRR_BS12
-
Select pin 12
-
LL_GPIO_PIN_13
GPIO_BSRR_BS13
-
Select pin 13
-
LL_GPIO_PIN_14
GPIO_BSRR_BS14
-
Select pin 14
-
LL_GPIO_PIN_15
GPIO_BSRR_BS15
-
Select pin 15
-
LL_GPIO_PIN_ALL
(GPIO_BSRR_BS0 | GPIO_BSRR_BS1 | GPIO_BSRR_BS2 \
| GPIO_BSRR_BS3 | GPIO_BSRR_BS4 | GPIO_BSRR_BS5 \
| GPIO_BSRR_BS6 | GPIO_BSRR_BS7 | GPIO_BSRR_BS8 \
| GPIO_BSRR_BS9 | GPIO_BSRR_BS10 | GPIO_BSRR_BS11 \
| GPIO_BSRR_BS12 | GPIO_BSRR_BS13 | GPIO_BSRR_BS14 \
| GPIO_BSRR_BS15)
-
Select all pins
-
LL_GPIO_PIN_0
GPIO_BSRR_BS0
Mode ¶
- group GPIO_LL_EC_MODE
- group GPIO_LL_EC_MODE
-
Defines
-
LL_GPIO_MODE_INPUT
0x00000000U
-
Select input mode
-
LL_GPIO_MODE_OUTPUT
GPIO_MODER_MODE0_0
-
Select output mode
-
LL_GPIO_MODE_ALTERNATE
GPIO_MODER_MODE0_1
-
Select alternate function mode
-
LL_GPIO_MODE_ANALOG
GPIO_MODER_MODE0
-
Select analog mode
-
LL_GPIO_MODE_INPUT
0x00000000U
- group GPIO_LL_EC_MODE
-
Defines
-
LL_GPIO_MODE_INPUT
0x00000000U
-
Select input mode
-
LL_GPIO_MODE_OUTPUT
GPIO_MODER_MODE0_0
-
Select output mode
-
LL_GPIO_MODE_ALTERNATE
GPIO_MODER_MODE0_1
-
Select alternate function mode
-
LL_GPIO_MODE_ANALOG
GPIO_MODER_MODE0
-
Select analog mode
-
LL_GPIO_MODE_INPUT
0x00000000U
Output Type ¶
- group GPIO_LL_EC_OUTPUT
- group GPIO_LL_EC_OUTPUT
-
Defines
-
LL_GPIO_OUTPUT_PUSHPULL
0x00000000U
-
Select push-pull as output type
-
LL_GPIO_OUTPUT_OPENDRAIN
GPIO_OTYPER_OT0
-
Select open-drain as output type
-
LL_GPIO_OUTPUT_PUSHPULL
0x00000000U
- group GPIO_LL_EC_OUTPUT
-
Defines
-
LL_GPIO_OUTPUT_PUSHPULL
0x00000000U
-
Select push-pull as output type
-
LL_GPIO_OUTPUT_OPENDRAIN
GPIO_OTYPER_OT0
-
Select open-drain as output type
-
LL_GPIO_OUTPUT_PUSHPULL
0x00000000U
Output Speed ¶
- group GPIO_LL_EC_SPEED
-
Defines
-
LL_GPIO_SPEED_FREQ_LOW
0x00000000U
¶
-
Select I/O low output speed
-
LL_GPIO_SPEED_FREQ_MEDIUM
GPIO_OSPEEDR_OSPEED0_0
¶
-
Select I/O medium output speed
-
LL_GPIO_SPEED_FREQ_HIGH
GPIO_OSPEEDR_OSPEED0_1
¶
-
Select I/O fast output speed
-
LL_GPIO_SPEED_FREQ_VERY_HIGH
GPIO_OSPEEDR_OSPEED0
¶
-
Select I/O high output speed
-
LL_GPIO_SPEED_FREQ_LOW
0x00000000U
¶
- group GPIO_LL_EC_SPEED
-
Defines
-
LL_GPIO_SPEED_FREQ_LOW
0x00000000U
-
Select I/O low output speed
-
LL_GPIO_SPEED_FREQ_MEDIUM
GPIO_OSPEEDR_OSPEED0_0
-
Select I/O medium output speed
-
LL_GPIO_SPEED_FREQ_HIGH
GPIO_OSPEEDR_OSPEED0_1
-
Select I/O fast output speed
-
LL_GPIO_SPEED_FREQ_VERY_HIGH
GPIO_OSPEEDR_OSPEED0
-
Select I/O high output speed
-
LL_GPIO_SPEED_FREQ_LOW
0x00000000U
- group GPIO_LL_EC_SPEED
-
Defines
-
LL_GPIO_SPEED_FREQ_LOW
0x00000000U
-
Select I/O low output speed
-
LL_GPIO_SPEED_FREQ_MEDIUM
GPIO_OSPEEDR_OSPEED0_0
-
Select I/O medium output speed
-
LL_GPIO_SPEED_FREQ_HIGH
GPIO_OSPEEDR_OSPEED0_1
-
Select I/O fast output speed
-
LL_GPIO_SPEED_FREQ_VERY_HIGH
GPIO_OSPEEDR_OSPEED0
-
Select I/O high output speed
-
LL_GPIO_SPEED_FREQ_LOW
0x00000000U
Pull Up Pull Down ¶
- group GPIO_LL_EC_PULL
- group GPIO_LL_EC_PULL
-
Defines
-
LL_GPIO_PULL_NO
0x00000000U
-
Select I/O no pull
-
LL_GPIO_PULL_UP
GPIO_PUPDR_PUPD0_0
-
Select I/O pull up
-
LL_GPIO_PULL_DOWN
GPIO_PUPDR_PUPD0_1
-
Select I/O pull down
-
LL_GPIO_PULL_NO
0x00000000U
- group GPIO_LL_EC_PULL
-
Defines
-
LL_GPIO_PULL_NO
0x00000000U
-
Select I/O no pull
-
LL_GPIO_PULL_UP
GPIO_PUPDR_PUPD0_0
-
Select I/O pull up
-
LL_GPIO_PULL_DOWN
GPIO_PUPDR_PUPD0_1
-
Select I/O pull down
-
LL_GPIO_PULL_NO
0x00000000U
Alternate Function ¶
- group GPIO_LL_EC_AF
-
Defines
-
LL_GPIO_AF_0
0x0000000U
¶
-
Select alternate function 0
-
LL_GPIO_AF_1
0x0000001U
¶
-
Select alternate function 1
-
LL_GPIO_AF_2
0x0000002U
¶
-
Select alternate function 2
-
LL_GPIO_AF_3
0x0000003U
¶
-
Select alternate function 3
-
LL_GPIO_AF_4
0x0000004U
¶
-
Select alternate function 4
-
LL_GPIO_AF_5
0x0000005U
¶
-
Select alternate function 5
-
LL_GPIO_AF_6
0x0000006U
¶
-
Select alternate function 6
-
LL_GPIO_AF_7
0x0000007U
¶
-
Select alternate function 7
-
LL_GPIO_AF_8
0x0000008U
¶
-
Select alternate function 8
-
LL_GPIO_AF_9
0x0000009U
¶
-
Select alternate function 9
-
LL_GPIO_AF_10
0x000000AU
¶
-
Select alternate function 10
-
LL_GPIO_AF_11
0x000000BU
¶
-
Select alternate function 11
-
LL_GPIO_AF_12
0x000000CU
¶
-
Select alternate function 12
-
LL_GPIO_AF_13
0x000000DU
¶
-
Select alternate function 13
-
LL_GPIO_AF_14
0x000000EU
¶
-
Select alternate function 14
-
LL_GPIO_AF_15
0x000000FU
¶
-
Select alternate function 15
-
LL_GPIO_AF_0
0x0000000U
¶
- group GPIO_LL_EC_AF
-
Defines
-
LL_GPIO_AF_0
0x0000000U
-
Select alternate function 0
-
LL_GPIO_AF_1
0x0000001U
-
Select alternate function 1
-
LL_GPIO_AF_2
0x0000002U
-
Select alternate function 2
-
LL_GPIO_AF_3
0x0000003U
-
Select alternate function 3
-
LL_GPIO_AF_4
0x0000004U
-
Select alternate function 4
-
LL_GPIO_AF_5
0x0000005U
-
Select alternate function 5
-
LL_GPIO_AF_6
0x0000006U
-
Select alternate function 6
-
LL_GPIO_AF_7
0x0000007U
-
Select alternate function 7
-
LL_GPIO_AF_8
0x0000008U
-
Select alternate function 8
-
LL_GPIO_AF_9
0x0000009U
-
Select alternate function 9
-
LL_GPIO_AF_10
0x000000AU
-
Select alternate function 10
-
LL_GPIO_AF_11
0x000000BU
-
Select alternate function 11
-
LL_GPIO_AF_12
0x000000CU
-
Select alternate function 12
-
LL_GPIO_AF_13
0x000000DU
-
Select alternate function 13
-
LL_GPIO_AF_14
0x000000EU
-
Select alternate function 14
-
LL_GPIO_AF_15
0x000000FU
-
Select alternate function 15
-
LL_GPIO_AF_0
0x0000000U
- group GPIO_LL_EC_AF
-
Defines
-
LL_GPIO_AF_0
0x0000000U
-
Select alternate function 0
-
LL_GPIO_AF_1
0x0000001U
-
Select alternate function 1
-
LL_GPIO_AF_2
0x0000002U
-
Select alternate function 2
-
LL_GPIO_AF_3
0x0000003U
-
Select alternate function 3
-
LL_GPIO_AF_4
0x0000004U
-
Select alternate function 4
-
LL_GPIO_AF_5
0x0000005U
-
Select alternate function 5
-
LL_GPIO_AF_6
0x0000006U
-
Select alternate function 6
-
LL_GPIO_AF_7
0x0000007U
-
Select alternate function 7
-
LL_GPIO_AF_8
0x0000008U
-
Select alternate function 8
-
LL_GPIO_AF_9
0x0000009U
-
Select alternate function 9
-
LL_GPIO_AF_10
0x000000AU
-
Select alternate function 10
-
LL_GPIO_AF_11
0x000000BU
-
Select alternate function 11
-
LL_GPIO_AF_12
0x000000CU
-
Select alternate function 12
-
LL_GPIO_AF_13
0x000000DU
-
Select alternate function 13
-
LL_GPIO_AF_14
0x000000EU
-
Select alternate function 14
-
LL_GPIO_AF_15
0x000000FU
-
Select alternate function 15
-
LL_GPIO_AF_0
0x0000000U