|
STM32L4xx_HAL_Driver
1.14.0
|
Header file of GPIO LL module. More...
Go to the source code of this file.
Data Structures | |
| struct | LL_GPIO_InitTypeDef |
| LL GPIO Init Structure definition. More... | |
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 uint32_t | LL_GPIO_ReadInputPort (GPIO_TypeDef *GPIOx) |
| Return full input data register value for a dedicated port. IDR IDy LL_GPIO_ReadInputPort. More... | |
| __STATIC_INLINE uint32_t | LL_GPIO_IsInputPinSet (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Return if input data level for several pins of dedicated port is high or low. IDR IDy LL_GPIO_IsInputPinSet. More... | |
| __STATIC_INLINE void | LL_GPIO_WriteOutputPort (GPIO_TypeDef *GPIOx, uint32_t PortValue) |
| Write output data register for the port. ODR ODy LL_GPIO_WriteOutputPort. More... | |
| __STATIC_INLINE uint32_t | LL_GPIO_ReadOutputPort (GPIO_TypeDef *GPIOx) |
| Return full output data register value for a dedicated port. ODR ODy LL_GPIO_ReadOutputPort. More... | |
| __STATIC_INLINE uint32_t | LL_GPIO_IsOutputPinSet (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Return if input data level for several pins of dedicated port is high or low. ODR ODy LL_GPIO_IsOutputPinSet. More... | |
| __STATIC_INLINE void | LL_GPIO_SetOutputPin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Set several pins to high level on dedicated gpio port. BSRR BSy LL_GPIO_SetOutputPin. More... | |
| __STATIC_INLINE void | LL_GPIO_ResetOutputPin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Set several pins to low level on dedicated gpio port. BRR BRy LL_GPIO_ResetOutputPin. More... | |
| __STATIC_INLINE void | LL_GPIO_TogglePin (GPIO_TypeDef *GPIOx, uint32_t PinMask) |
| Toggle data value for several pin of dedicated port. ODR ODy LL_GPIO_TogglePin. More... | |
| ErrorStatus | LL_GPIO_DeInit (GPIO_TypeDef *GPIOx) |
| De-initialize GPIO registers (Registers restored to their default values). More... | |
| ErrorStatus | LL_GPIO_Init (GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) |
| Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. More... | |
| void | LL_GPIO_StructInit (LL_GPIO_InitTypeDef *GPIO_InitStruct) |
| Set each LL_GPIO_InitTypeDef field to default value. More... | |
Header file of GPIO LL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32l4xx_ll_gpio.h.