STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_GPIO_SetPinMode (GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) |
Configure gpio mode for a dedicated pin on dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_GetPinMode (GPIO_TypeDef *GPIOx, uint32_t Pin) |
Return gpio mode for a dedicated pin on dedicated port. More... | |
__STATIC_INLINE void | LL_GPIO_SetPinOutputType (GPIO_TypeDef *GPIOx, uint32_t PinMask, uint32_t OutputType) |
Configure gpio output type for several pins on dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_GetPinOutputType (GPIO_TypeDef *GPIOx, uint32_t Pin) |
Return gpio output type for several pins on dedicated port. More... | |
__STATIC_INLINE void | LL_GPIO_SetPinSpeed (GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) |
Configure gpio speed for a dedicated pin on dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_GetPinSpeed (GPIO_TypeDef *GPIOx, uint32_t Pin) |
Return gpio speed for a dedicated pin on dedicated port. More... | |
__STATIC_INLINE void | LL_GPIO_SetPinPull (GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Pull) |
Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_GetPinPull (GPIO_TypeDef *GPIOx, uint32_t Pin) |
Return gpio pull-up or pull-down for a dedicated pin on a dedicated port. More... | |
__STATIC_INLINE void | LL_GPIO_SetAFPin_0_7 (GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Alternate) |
Configure gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_GetAFPin_0_7 (GPIO_TypeDef *GPIOx, uint32_t Pin) |
Return gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. @rmtoll AFRL AFSELy LL_GPIO_GetAFPin_0_7. More... | |
__STATIC_INLINE void | LL_GPIO_SetAFPin_8_15 (GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Alternate) |
Configure gpio alternate function of a dedicated pin from 8 to 15 for a dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_GetAFPin_8_15 (GPIO_TypeDef *GPIOx, uint32_t Pin) |
Return gpio alternate function of a dedicated pin from 8 to 15 for a dedicated port. More... | |
__STATIC_INLINE void | LL_GPIO_LockPin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Lock configuration of several pins for a dedicated port. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_IsPinLocked (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
Return 1 if all pins passed as parameter, of a dedicated port, are locked. else Return 0. @rmtoll LCKR LCKy LL_GPIO_IsPinLocked. More... | |
__STATIC_INLINE uint32_t | LL_GPIO_IsAnyPinLocked (GPIO_TypeDef *GPIOx) |
Return 1 if one of the pin of a dedicated port is locked. else return 0. @rmtoll LCKR LCKK LL_GPIO_IsAnyPinLocked. More... | |
__STATIC_INLINE uint32_t LL_GPIO_GetAFPin_0_7 | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin | ||
) |
Return gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. @rmtoll AFRL AFSELy LL_GPIO_GetAFPin_0_7.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 593 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_GetAFPin_8_15 | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin | ||
) |
Return gpio alternate function of a dedicated pin from 8 to 15 for a dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 671 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_GetPinMode | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin | ||
) |
Return gpio mode for a dedicated pin on dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 307 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin | ||
) |
Return gpio output type for several pins on dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 376 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_GetPinPull | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin | ||
) |
Return gpio pull-up or pull-down for a dedicated pin on a dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 516 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin | ||
) |
Return gpio speed for a dedicated pin on dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Returned | value can be one of the following values:
|
Definition at line 450 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_IsAnyPinLocked | ( | GPIO_TypeDef * | GPIOx | ) |
Return 1 if one of the pin of a dedicated port is locked. else return 0. @rmtoll LCKR LCKK LL_GPIO_IsAnyPinLocked.
GPIOx | GPIO Port |
State | of bit (1 or 0). |
Definition at line 752 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE uint32_t LL_GPIO_IsPinLocked | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Return 1 if all pins passed as parameter, of a dedicated port, are locked. else Return 0. @rmtoll LCKR LCKy LL_GPIO_IsPinLocked.
GPIOx | GPIO Port |
PinMask | This parameter can be a combination of the following values:
|
State | of bit (1 or 0). |
Definition at line 741 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_LockPin | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask | ||
) |
Lock configuration of several pins for a dedicated port.
GPIOx | GPIO Port |
PinMask | This parameter can be a combination of the following values:
|
None |
Definition at line 707 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetAFPin_0_7 | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin, | ||
uint32_t | Alternate | ||
) |
Configure gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Alternate | This parameter can be one of the following values:
|
None |
Definition at line 556 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetAFPin_8_15 | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin, | ||
uint32_t | Alternate | ||
) |
Configure gpio alternate function of a dedicated pin from 8 to 15 for a dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Alternate | This parameter can be one of the following values:
|
None |
Definition at line 633 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetPinMode | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin, | ||
uint32_t | Mode | ||
) |
Configure gpio mode for a dedicated pin on dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Mode | This parameter can be one of the following values:
|
None |
Definition at line 273 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetPinOutputType | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | PinMask, | ||
uint32_t | OutputType | ||
) |
Configure gpio output type for several pins on dedicated port.
GPIOx | GPIO Port |
PinMask | This parameter can be a combination of the following values:
|
OutputType | This parameter can be one of the following values:
|
None |
Definition at line 342 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetPinPull | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin, | ||
uint32_t | Pull | ||
) |
Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Pull | This parameter can be one of the following values:
|
None |
Definition at line 484 of file stm32f4xx_ll_gpio.h.
__STATIC_INLINE void LL_GPIO_SetPinSpeed | ( | GPIO_TypeDef * | GPIOx, |
uint32_t | Pin, | ||
uint32_t | Speed | ||
) |
Configure gpio speed for a dedicated pin on dedicated port.
GPIOx | GPIO Port |
Pin | This parameter can be one of the following values:
|
Speed | This parameter can be one of the following values:
|
None |
Definition at line 413 of file stm32f4xx_ll_gpio.h.