Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_GPIO_SetPinOutputType()

LL_GPIO_SetPinOutputType() function

Configure gpio output type for several pins on dedicated port.

Syntax

__STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx,     uint32_t PinMask,     uint32_t OutputType);

Arguments

GPIOx

GPIO Port

PinMask

This parameter can be a combination 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

OutputType

This parameter can be one of the following values: @arg LL_GPIO_OUTPUT_PUSHPULL @arg LL_GPIO_OUTPUT_OPENDRAIN

Return value

None

Notes

Output type as to be set when gpio pin is in output or alternate modes. Possible type are Push-pull or Open-drain.

Examples

LL_GPIO_SetPinOutputType() is referenced by 20 libraries and example projects.

References

LocationReferrerText
stm32f4xx_ll_gpio.h:342
__STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t PinMask, uint32_t OutputType)
stm32f4xx_ll_gpio.c:235LL_GPIO_Init()
LL_GPIO_SetPinOutputType(GPIOx, currentpin, GPIO_InitStruct->OutputType);

Call Tree

Functions calling LL_GPIO_SetPinOutputType()
all items filtered out
LL_GPIO_SetPinOutputType()
Data read by LL_GPIO_SetPinOutputType()
LL_GPIO_SetPinOutputType()