Home
last modified time | relevance | path

Searched refs:GPIO_InitStruct (Results 1 – 8 of 8) sorted by relevance

/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_ll_gpio.c173 ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) in LL_GPIO_Init() argument
180 assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); in LL_GPIO_Init()
181 assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); in LL_GPIO_Init()
182 assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); in LL_GPIO_Init()
189 while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00000000U) in LL_GPIO_Init()
192 currentpin = (GPIO_InitStruct->Pin) & (0x00000001U << pinpos); in LL_GPIO_Init()
197 LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); in LL_GPIO_Init()
199 …if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTER… in LL_GPIO_Init()
202 assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); in LL_GPIO_Init()
205 LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); in LL_GPIO_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_ll_gpio.c195 ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) in LL_GPIO_Init() argument
202 assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); in LL_GPIO_Init()
203 assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); in LL_GPIO_Init()
204 assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); in LL_GPIO_Init()
208 pinpos = POSITION_VAL(GPIO_InitStruct->Pin); in LL_GPIO_Init()
211 while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00000000U) in LL_GPIO_Init()
214 currentpin = (GPIO_InitStruct->Pin) & (0x00000001U << pinpos); in LL_GPIO_Init()
219 LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); in LL_GPIO_Init()
221 …if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTER… in LL_GPIO_Init()
224 assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); in LL_GPIO_Init()
[all …]
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_ll_gpio.c207 ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) in LL_GPIO_Init() argument
214 assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); in LL_GPIO_Init()
215 assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); in LL_GPIO_Init()
216 assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); in LL_GPIO_Init()
220 pinpos = POSITION_VAL(GPIO_InitStruct->Pin); in LL_GPIO_Init()
223 while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00u) in LL_GPIO_Init()
226 currentpin = (GPIO_InitStruct->Pin) & (0x00000001uL << pinpos); in LL_GPIO_Init()
231 LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); in LL_GPIO_Init()
233 …if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTER… in LL_GPIO_Init()
236 assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); in LL_GPIO_Init()
[all …]
Dstm32l4xx_hal_rcc.c1278 GPIO_InitTypeDef GPIO_InitStruct; in HAL_RCC_MCOConfig() local
1292 GPIO_InitStruct.Pin = MCO1_PIN; in HAL_RCC_MCOConfig()
1293 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_RCC_MCOConfig()
1294 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; in HAL_RCC_MCOConfig()
1295 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_RCC_MCOConfig()
1296 GPIO_InitStruct.Alternate = GPIO_AF0_MCO; in HAL_RCC_MCOConfig()
1297 HAL_GPIO_Init(MCO1_GPIO_PORT, &GPIO_InitStruct); in HAL_RCC_MCOConfig()
Dstm32l4xx_hal_rcc_ex.c2396 GPIO_InitTypeDef GPIO_InitStruct; in HAL_RCCEx_EnableLSCO() local
2407 GPIO_InitStruct.Pin = LSCO_PIN; in HAL_RCCEx_EnableLSCO()
2408 GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; in HAL_RCCEx_EnableLSCO()
2409 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; in HAL_RCCEx_EnableLSCO()
2410 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_RCCEx_EnableLSCO()
2411 HAL_GPIO_Init(LSCO_GPIO_PORT, &GPIO_InitStruct); in HAL_RCCEx_EnableLSCO()
/loramac-node-latest/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Inc/
Dstm32l1xx_ll_gpio.h976 ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct);
977 void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct);
/loramac-node-latest/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Inc/
Dstm32l0xx_ll_gpio.h932 ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct);
933 void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct);
/loramac-node-latest/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Inc/
Dstm32l4xx_ll_gpio.h1045 ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct);
1046 void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct);