HAL + 0/58 examples
CodeScope will show references to LL_GPIO_SetPinPull() from the following samples and libraries:
Examples
STM32F410xx-Nucleo
Examples_LL
LPTIM
STM32F411RE-Nucleo
Examples_LL
ADC
EXTI
I2C
IWDG
PWR
RCC
RTC
SPI
TIM
USART
UTILS
WWDG
STM32F429ZI-Nucleo
Examples_LL
CORTEX
DAC
RNG
 
Symbols
loading...
Files
loading...

LL_GPIO_SetPinPull() function

Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port.

Syntax

__STATIC_INLINE void LL_GPIO_SetPinPull(GPIO_TypeDef *GPIOx,     uint32_t Pin,     uint32_t Pull);

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

Pull

This parameter can be one of the following values: @arg LL_GPIO_PULL_NO @arg LL_GPIO_PULL_UP @arg LL_GPIO_PULL_DOWN

Return value

None

Notes

Warning: only one pin can be passed as parameter.

Examples

LL_GPIO_SetPinPull() is referenced by 58 libraries and example projects.

References

LocationReferrerText
stm32f4xx_ll_gpio.h:484
__STATIC_INLINE void LL_GPIO_SetPinPull(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Pull)
stm32f4xx_ll_gpio.c:239LL_GPIO_Init()
LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull);

Call Tree

Functions calling LL_GPIO_SetPinPull()
Functions called by LL_GPIO_SetPinPull()
all items filtered out
LL_GPIO_SetPinPull()
all items filtered out
Data read by LL_GPIO_SetPinPull()
LL_GPIO_SetPinPull()