HAL
LL_GPIO_LockPin()
is only used within HAL.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
LL_GPIO_LockPin()
LL_GPIO_LockPin() function
Lock configuration of several pins for a dedicated port.
Syntax
from
stm32f4xx_ll_gpio.h:707
__STATIC_INLINE
void
LL_GPIO_LockPin
(
GPIO_TypeDef
*
GPIOx
,
uint32_t
PinMask
)
;
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
Return value
None
Notes
When the lock sequence has been applied on a port bit, the value of this port bit can no longer be modified until the next reset. Each lock bit freezes a specific configuration register (control and alternate function registers).
References
Location
Text
stm32f4xx_ll_gpio.h:707
__STATIC_INLINE
void
LL_GPIO_LockPin
(
GPIO_TypeDef
*
GPIOx
,
uint32_t
PinMask
)
Data Use
Data read by
LL_GPIO_LockPin()
Data written by
LL_GPIO_LockPin()
GPIO_TypeDef::LCKR
LL_GPIO_LockPin()::GPIOx
LL_GPIO_LockPin()::PinMask
LL_GPIO_LockPin()::temp
all items filtered out
LL_GPIO_LockPin()
LL_GPIO_LockPin()::temp
all items filtered out
Type of
LL_GPIO_LockPin()
LL_GPIO_LockPin()
uint32_t
all items filtered out