Home
last modified time | relevance | path

Searched refs:Pin (Results 1 – 25 of 137) sorted by relevance

123456

/hal_stm32-latest/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
278 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
281 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
283 …IFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
316 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
319 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
322 … (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
389 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
392 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
394 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_ll_gpio.h71 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
288 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
290 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
322 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
324 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
390 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
392 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
427 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
429 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
463 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
269 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
271 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
303 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
305 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
371 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
373 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
408 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
410 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDER_OSPEED0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
444 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
267 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
269 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODER0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
301 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
303 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODER0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
369 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
371 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
405 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
407 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEEDR0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
440 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
282 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
284 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
316 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
318 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
384 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
386 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
421 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
423 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
457 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_gpio.h73 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
283 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
285 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
317 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
319 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
385 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
387 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
422 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
424 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
458 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_gpio.h73 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
273 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
275 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
307 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
309 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
375 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
377 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
412 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
414 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
448 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32mp1xx/drivers/include/
Dstm32mp1xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
278 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
280 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODER0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
312 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
314 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODER0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
380 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
382 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
417 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
419 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEEDR0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
453 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
278 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
280 MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); in LL_GPIO_SetPinMode()
312 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
314 return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); in LL_GPIO_GetPinMode()
380 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
382 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); in LL_GPIO_GetPinOutputType()
417 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
419 MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDR_OSPEED0), ((Pin * Pin) * Speed)); in LL_GPIO_SetPinSpeed()
453 __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_ll_gpio.h72 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
311 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
313 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)), in LL_GPIO_SetPinMode()
314 (Mode << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos))); in LL_GPIO_SetPinMode()
346 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
348 …return (uint32_t)(READ_BIT(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE… in LL_GPIO_GetPinMode()
349 >> (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)); in LL_GPIO_GetPinMode()
415 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
417 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
452 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
273 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
275 …FY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
307 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
310 … (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
376 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
378 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
413 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
415 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
416 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
273 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
275 …FY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
307 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
310 … (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
376 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
378 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
413 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
415 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
416 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/include/
Dstm32h7rsxx_ll_gpio.h74 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
282 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
284 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)), in LL_GPIO_SetPinMode()
285 (Mode << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos))); in LL_GPIO_SetPinMode()
317 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
319 …return (uint32_t)(READ_BIT(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE… in LL_GPIO_GetPinMode()
320 >> (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)); in LL_GPIO_GetPinMode()
386 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
388 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
423 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
272 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
274 …FY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
306 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
309 … (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
375 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
377 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
411 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
413 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
414 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_gpio.h73 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
281 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
283 …IFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
315 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
318 … (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
384 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
386 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
421 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
423 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDR_OSPEED0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
424 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
273 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
275 …FY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
307 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
310 … (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
376 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
378 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
413 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
415 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
416 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
273 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
275 …FY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
307 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
310 … (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
376 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
378 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
413 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
415 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
416 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
Dstm32l1xx_ll_system.h504 __STATIC_INLINE void LL_SYSCFG_EnableLCDCapacitanceConnection(uint32_t Pin) in LL_SYSCFG_EnableLCDCapacitanceConnection() argument
506 SET_BIT(SYSCFG->PMC, Pin); in LL_SYSCFG_EnableLCDCapacitanceConnection()
520 __STATIC_INLINE void LL_SYSCFG_DisableLCDCapacitanceConnection(uint32_t Pin) in LL_SYSCFG_DisableLCDCapacitanceConnection() argument
522 CLEAR_BIT(SYSCFG->PMC, Pin); in LL_SYSCFG_DisableLCDCapacitanceConnection()
1377 __STATIC_INLINE void LL_RI_EnableHysteresis(uint32_t Port, uint32_t Pin) in LL_RI_EnableHysteresis() argument
1380 CLEAR_BIT(*reg, Pin << (16U * (Port & 1U))); in LL_RI_EnableHysteresis()
1443 __STATIC_INLINE void LL_RI_DisableHysteresis(uint32_t Port, uint32_t Pin) in LL_RI_DisableHysteresis() argument
1446 SET_BIT(*reg, Pin << (16U * (Port & 1U))); in LL_RI_DisableHysteresis()
1505 __STATIC_INLINE void LL_RI_ControlSwitchByADC(uint32_t Port, uint32_t Pin) in LL_RI_ControlSwitchByADC() argument
1508 CLEAR_BIT(*reg, Pin); in LL_RI_ControlSwitchByADC()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_gpio.h73 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
285 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
287 …IFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
319 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
322 … (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
388 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
390 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
425 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
427 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDR_OSPEED0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
428 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_gpio.h73 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
285 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
287 …IFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
319 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
322 … (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
388 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
390 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
425 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
427 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDR_OSPEED0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
428 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_gpio.h65 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
277 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
279 …IFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
311 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
314 … (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) * 2U)); in LL_GPIO_GetPinMode()
380 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
382 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
417 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
419 MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDR_OSPEED0 << (POSITION_VAL(Pin) * 2U)), in LL_GPIO_SetPinSpeed()
420 (Speed << (POSITION_VAL(Pin) * 2U))); in LL_GPIO_SetPinSpeed()
[all …]
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_gpio.h73 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
284 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
286 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)), in LL_GPIO_SetPinMode()
287 (Mode << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos))); in LL_GPIO_SetPinMode()
319 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
321 …return (uint32_t)(READ_BIT(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE… in LL_GPIO_GetPinMode()
322 >> (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)); in LL_GPIO_GetPinMode()
388 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
390 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
424 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_gpio.h66 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
283 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
285 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)), in LL_GPIO_SetPinMode()
286 (Mode << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos))); in LL_GPIO_SetPinMode()
318 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
320 …return (uint32_t)(READ_BIT(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE… in LL_GPIO_GetPinMode()
321 (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)); in LL_GPIO_GetPinMode()
387 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
389 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
424 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_gpio.h66 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
283 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
285 MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)), in LL_GPIO_SetPinMode()
286 (Mode << (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos))); in LL_GPIO_SetPinMode()
318 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
320 …return (uint32_t)(READ_BIT(GPIOx->MODER, (GPIO_MODER_MODE0 << (POSITION_VAL(Pin) * GPIO_MODER_MODE… in LL_GPIO_GetPinMode()
321 (POSITION_VAL(Pin) * GPIO_MODER_MODE1_Pos)); in LL_GPIO_GetPinMode()
387 __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(const GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinOutputType() argument
389 return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); in LL_GPIO_GetPinOutputType()
424 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
[all …]
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_ll_gpio.h76 uint32_t Pin; /*!< Specifies the GPIO pins to be configured. member
341 __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) in LL_GPIO_SetPinMode() argument
343 register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); in LL_GPIO_SetPinMode()
344 …pReg, ((GPIO_CRL_CNF0 | GPIO_CRL_MODE0) << (POSITION_VAL(Pin) * 4U)), (Mode << (POSITION_VAL(Pin) … in LL_GPIO_SetPinMode()
381 __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) in LL_GPIO_GetPinMode() argument
383 register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); in LL_GPIO_GetPinMode()
384 …T(*pReg, ((GPIO_CRL_CNF0 | GPIO_CRL_MODE0) << (POSITION_VAL(Pin) * 4U))) >> (POSITION_VAL(Pin) * 4… in LL_GPIO_GetPinMode()
419 __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) in LL_GPIO_SetPinSpeed() argument
421 register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); in LL_GPIO_SetPinSpeed()
422 MODIFY_REG(*pReg, (GPIO_CRL_MODE0 << (POSITION_VAL(Pin) * 4U)), in LL_GPIO_SetPinSpeed()
[all …]

123456