HAL
LL_GPIO_GetPinOutputType() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_GPIO_GetPinOutputType()

LL_GPIO_GetPinOutputType() function

Return gpio output type for several pins on dedicated port.

Syntax

__STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx,     uint32_t Pin);

Arguments

GPIOx

GPIO Port

Pin

This parameter can be one of the following values: @arg LL_GPIO_PIN_0 @arg LL_GPIO_PIN_1 @arg LL_GPIO_PIN_2 @arg LL_GPIO_PIN_3 @arg LL_GPIO_PIN_4 @arg LL_GPIO_PIN_5 @arg LL_GPIO_PIN_6 @arg LL_GPIO_PIN_7 @arg LL_GPIO_PIN_8 @arg LL_GPIO_PIN_9 @arg LL_GPIO_PIN_10 @arg LL_GPIO_PIN_11 @arg LL_GPIO_PIN_12 @arg LL_GPIO_PIN_13 @arg LL_GPIO_PIN_14 @arg LL_GPIO_PIN_15 @arg LL_GPIO_PIN_ALL

Return value

Returned value can be one of the following values: @arg LL_GPIO_OUTPUT_PUSHPULL @arg LL_GPIO_OUTPUT_OPENDRAIN

Notes

Output type as to be set when gpio pin is in output or alternate modes. Possible type are Push-pull or Open-drain. Warning: only one pin can be passed as parameter.

References

LocationText
stm32f4xx_ll_gpio.h:376
__STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin)

Call Tree

Functions called by LL_GPIO_GetPinOutputType()
LL_GPIO_GetPinOutputType()
all items filtered out
Data read by LL_GPIO_GetPinOutputType()
LL_GPIO_GetPinOutputType()
Type of LL_GPIO_GetPinOutputType()
LL_GPIO_GetPinOutputType()
uint32_t
all items filtered out