STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for Data Access:

Functions

__STATIC_INLINE uint32_t LL_GPIO_ReadInputPort (GPIO_TypeDef *GPIOx)
 Return full input data register value for a dedicated port. @rmtoll IDR IDy LL_GPIO_ReadInputPort. More...
 
__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. @rmtoll IDR IDy LL_GPIO_IsInputPinSet. More...
 
__STATIC_INLINE void LL_GPIO_WriteOutputPort (GPIO_TypeDef *GPIOx, uint32_t PortValue)
 Write output data register for the port. @rmtoll ODR ODy LL_GPIO_WriteOutputPort. More...
 
__STATIC_INLINE uint32_t LL_GPIO_ReadOutputPort (GPIO_TypeDef *GPIOx)
 Return full output data register value for a dedicated port. @rmtoll ODR ODy LL_GPIO_ReadOutputPort. More...
 
__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. @rmtoll ODR ODy LL_GPIO_IsOutputPinSet. More...
 
__STATIC_INLINE void LL_GPIO_SetOutputPin (GPIO_TypeDef *GPIOx, uint32_t PinMask)
 Set several pins to high level on dedicated gpio port. @rmtoll BSRR BSy LL_GPIO_SetOutputPin. More...
 
__STATIC_INLINE void LL_GPIO_ResetOutputPin (GPIO_TypeDef *GPIOx, uint32_t PinMask)
 Set several pins to low level on dedicated gpio port. @rmtoll BSRR BRy LL_GPIO_ResetOutputPin. More...
 
__STATIC_INLINE void LL_GPIO_TogglePin (GPIO_TypeDef *GPIOx, uint32_t PinMask)
 Toggle data value for several pin of dedicated port. @rmtoll ODR ODy LL_GPIO_TogglePin. More...
 

Detailed Description

Function Documentation

◆ LL_GPIO_IsInputPinSet()

__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. @rmtoll IDR IDy LL_GPIO_IsInputPinSet.

Parameters
GPIOxGPIO Port
PinMaskThis 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
Stateof bit (1 or 0).

Definition at line 800 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_IsOutputPinSet()

__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. @rmtoll ODR ODy LL_GPIO_IsOutputPinSet.

Parameters
GPIOxGPIO Port
PinMaskThis 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
Stateof bit (1 or 0).

Definition at line 852 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_ReadInputPort()

__STATIC_INLINE uint32_t LL_GPIO_ReadInputPort ( GPIO_TypeDef *  GPIOx)

Return full input data register value for a dedicated port. @rmtoll IDR IDy LL_GPIO_ReadInputPort.

Parameters
GPIOxGPIO Port
Return values
Inputdata register value of port

Definition at line 771 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_ReadOutputPort()

__STATIC_INLINE uint32_t LL_GPIO_ReadOutputPort ( GPIO_TypeDef *  GPIOx)

Return full output data register value for a dedicated port. @rmtoll ODR ODy LL_GPIO_ReadOutputPort.

Parameters
GPIOxGPIO Port
Return values
Outputdata register value of port

Definition at line 823 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_ResetOutputPin()

__STATIC_INLINE void LL_GPIO_ResetOutputPin ( GPIO_TypeDef *  GPIOx,
uint32_t  PinMask 
)

Set several pins to low level on dedicated gpio port. @rmtoll BSRR BRy LL_GPIO_ResetOutputPin.

Parameters
GPIOxGPIO Port
PinMaskThis 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 910 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_SetOutputPin()

__STATIC_INLINE void LL_GPIO_SetOutputPin ( GPIO_TypeDef *  GPIOx,
uint32_t  PinMask 
)

Set several pins to high level on dedicated gpio port. @rmtoll BSRR BSy LL_GPIO_SetOutputPin.

Parameters
GPIOxGPIO Port
PinMaskThis 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 881 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_TogglePin()

__STATIC_INLINE void LL_GPIO_TogglePin ( GPIO_TypeDef *  GPIOx,
uint32_t  PinMask 
)

Toggle data value for several pin of dedicated port. @rmtoll ODR ODy LL_GPIO_TogglePin.

Parameters
GPIOxGPIO Port
PinMaskThis 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 939 of file stm32f4xx_ll_gpio.h.

◆ LL_GPIO_WriteOutputPort()

__STATIC_INLINE void LL_GPIO_WriteOutputPort ( GPIO_TypeDef *  GPIOx,
uint32_t  PortValue 
)

Write output data register for the port. @rmtoll ODR ODy LL_GPIO_WriteOutputPort.

Parameters
GPIOxGPIO Port
PortValueLevel value for each pin of the port
Return values
None

Definition at line 812 of file stm32f4xx_ll_gpio.h.