|
STM32L4xx_HAL_Driver
1.14.0
|
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. 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_EnablePinAnalogControl (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Connect analog switch to ADC input of several pins for a dedicated port. More... | |
| __STATIC_INLINE void | LL_GPIO_DisablePinAnalogControl (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Disconnect analog switch to ADC input of several pins for a dedicated port. ASCR ASCy LL_GPIO_DisablePinAnalogControl. 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. 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. LCKR LCKK LL_GPIO_IsAnyPinLocked. More... | |
| __STATIC_INLINE void LL_GPIO_DisablePinAnalogControl | ( | GPIO_TypeDef * | GPIOx, |
| uint32_t | PinMask | ||
| ) |
Disconnect analog switch to ADC input of several pins for a dedicated port. ASCR ASCy LL_GPIO_DisablePinAnalogControl.
| GPIOx | GPIO Port |
| PinMask | This parameter can be a combination of the following values:
|
| None |
Definition at line 747 of file stm32l4xx_ll_gpio.h.
| __STATIC_INLINE void LL_GPIO_EnablePinAnalogControl | ( | GPIO_TypeDef * | GPIOx, |
| uint32_t | PinMask | ||
| ) |
Connect analog switch to ADC input 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 718 of file stm32l4xx_ll_gpio.h.
| __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. 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 606 of file stm32l4xx_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 684 of file stm32l4xx_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 320 of file stm32l4xx_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 389 of file stm32l4xx_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 529 of file stm32l4xx_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 463 of file stm32l4xx_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. LCKR LCKK LL_GPIO_IsAnyPinLocked.
| GPIOx | GPIO Port |
| State | of bit (1 or 0). |
Definition at line 828 of file stm32l4xx_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. 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 817 of file stm32l4xx_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 782 of file stm32l4xx_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 569 of file stm32l4xx_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 646 of file stm32l4xx_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 286 of file stm32l4xx_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 355 of file stm32l4xx_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 497 of file stm32l4xx_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 426 of file stm32l4xx_ll_gpio.h.