Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Data Access
[GPIO Exported Functions]
Functions | |
__STATIC_INLINE uint32_t | LL_GPIO_ReadInputPort (GPIO_TypeDef *GPIOx) |
Return full input data register value for a dedicated port. | |
__STATIC_INLINE uint32_t | LL_GPIO_IsInputPinSet (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Return if input data level for several pins of dedicated port is high or low. | |
__STATIC_INLINE void | LL_GPIO_WriteOutputPort (GPIO_TypeDef *GPIOx, uint32_t PortValue) |
Write output data register for the port. | |
__STATIC_INLINE uint32_t | LL_GPIO_ReadOutputPort (GPIO_TypeDef *GPIOx) |
Return full output data register value for a dedicated port. | |
__STATIC_INLINE uint32_t | LL_GPIO_IsOutputPinSet (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Return if input data level for several pins of dedicated port is high or low. | |
__STATIC_INLINE void | LL_GPIO_SetOutputPin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Set several pins to high level on dedicated gpio port. | |
__STATIC_INLINE void | LL_GPIO_ResetOutputPin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Set several pins to low level on dedicated gpio port. | |
__STATIC_INLINE void | LL_GPIO_TogglePin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Toggle data value for several pin of dedicated port. |
Function Documentation
__STATIC_INLINE uint32_t LL_GPIO_IsInputPinSet | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Return if input data level for several pins of dedicated port is high or low.
IDR IDy LL_GPIO_IsInputPinSet
- Parameters:
-
GPIOx GPIO Port PinMask This parameter can be a combination of the following values: - LL_GPIO_PIN_0
- LL_GPIO_PIN_1
- LL_GPIO_PIN_2
- LL_GPIO_PIN_3
- LL_GPIO_PIN_4
- LL_GPIO_PIN_5
- LL_GPIO_PIN_6
- LL_GPIO_PIN_7
- LL_GPIO_PIN_8
- LL_GPIO_PIN_9
- LL_GPIO_PIN_10
- LL_GPIO_PIN_11
- LL_GPIO_PIN_12
- LL_GPIO_PIN_13
- LL_GPIO_PIN_14
- LL_GPIO_PIN_15
- LL_GPIO_PIN_ALL
- Return values:
-
State of bit (1 or 0).
Definition at line 886 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_IsOutputPinSet | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Return if input data level for several pins of dedicated port is high or low.
ODR ODy LL_GPIO_IsOutputPinSet
- Parameters:
-
GPIOx GPIO Port PinMask This parameter can be a combination of the following values: - LL_GPIO_PIN_0
- LL_GPIO_PIN_1
- LL_GPIO_PIN_2
- LL_GPIO_PIN_3
- LL_GPIO_PIN_4
- LL_GPIO_PIN_5
- LL_GPIO_PIN_6
- LL_GPIO_PIN_7
- LL_GPIO_PIN_8
- LL_GPIO_PIN_9
- LL_GPIO_PIN_10
- LL_GPIO_PIN_11
- LL_GPIO_PIN_12
- LL_GPIO_PIN_13
- LL_GPIO_PIN_14
- LL_GPIO_PIN_15
- LL_GPIO_PIN_ALL
- Return values:
-
State of bit (1 or 0).
Definition at line 938 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_ReadInputPort | ( | GPIO_TypeDef * | GPIOx ) |
Return full input data register value for a dedicated port.
IDR IDy LL_GPIO_ReadInputPort
- Parameters:
-
GPIOx GPIO Port
- Return values:
-
Input data register value of port
Definition at line 857 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_ReadOutputPort | ( | GPIO_TypeDef * | GPIOx ) |
Return full output data register value for a dedicated port.
ODR ODy LL_GPIO_ReadOutputPort
- Parameters:
-
GPIOx GPIO Port
- Return values:
-
Output data register value of port
Definition at line 909 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_ResetOutputPin | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Set several pins to low level on dedicated gpio port.
BRR BRy LL_GPIO_ResetOutputPin
- Parameters:
-
GPIOx GPIO Port PinMask This parameter can be a combination of the following values: - LL_GPIO_PIN_0
- LL_GPIO_PIN_1
- LL_GPIO_PIN_2
- LL_GPIO_PIN_3
- LL_GPIO_PIN_4
- LL_GPIO_PIN_5
- LL_GPIO_PIN_6
- LL_GPIO_PIN_7
- LL_GPIO_PIN_8
- LL_GPIO_PIN_9
- LL_GPIO_PIN_10
- LL_GPIO_PIN_11
- LL_GPIO_PIN_12
- LL_GPIO_PIN_13
- LL_GPIO_PIN_14
- LL_GPIO_PIN_15
- LL_GPIO_PIN_ALL
- Return values:
-
None
Definition at line 996 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetOutputPin | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Set several pins to high level on dedicated gpio port.
BSRR BSy LL_GPIO_SetOutputPin
- Parameters:
-
GPIOx GPIO Port PinMask This parameter can be a combination of the following values: - LL_GPIO_PIN_0
- LL_GPIO_PIN_1
- LL_GPIO_PIN_2
- LL_GPIO_PIN_3
- LL_GPIO_PIN_4
- LL_GPIO_PIN_5
- LL_GPIO_PIN_6
- LL_GPIO_PIN_7
- LL_GPIO_PIN_8
- LL_GPIO_PIN_9
- LL_GPIO_PIN_10
- LL_GPIO_PIN_11
- LL_GPIO_PIN_12
- LL_GPIO_PIN_13
- LL_GPIO_PIN_14
- LL_GPIO_PIN_15
- LL_GPIO_PIN_ALL
- Return values:
-
None
Definition at line 967 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_TogglePin | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Toggle data value for several pin of dedicated port.
ODR ODy LL_GPIO_TogglePin
- Parameters:
-
GPIOx GPIO Port PinMask This parameter can be a combination of the following values: - LL_GPIO_PIN_0
- LL_GPIO_PIN_1
- LL_GPIO_PIN_2
- LL_GPIO_PIN_3
- LL_GPIO_PIN_4
- LL_GPIO_PIN_5
- LL_GPIO_PIN_6
- LL_GPIO_PIN_7
- LL_GPIO_PIN_8
- LL_GPIO_PIN_9
- LL_GPIO_PIN_10
- LL_GPIO_PIN_11
- LL_GPIO_PIN_12
- LL_GPIO_PIN_13
- LL_GPIO_PIN_14
- LL_GPIO_PIN_15
- LL_GPIO_PIN_ALL
- Return values:
-
None
Definition at line 1025 of file stm32l4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_WriteOutputPort | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PortValue | ||
) |
Write output data register for the port.
ODR ODy LL_GPIO_WriteOutputPort
- Parameters:
-
GPIOx GPIO Port PortValue Level value for each pin of the port
- Return values:
-
None
Definition at line 898 of file stm32l4xx_ll_gpio.h.
Generated on Tue Jul 12 2022 11:00:13 by
