Lines Matching refs:PinMask
352 __STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t PinMask, uint32_t Outpu… in LL_GPIO_SetPinOutputType() argument
354 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); in LL_GPIO_SetPinOutputType()
717 __STATIC_INLINE void LL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_LockPin() argument
720 WRITE_REG(GPIOx->LCKR, GPIO_LCKR_LCKK | PinMask); in LL_GPIO_LockPin()
721 WRITE_REG(GPIOx->LCKR, PinMask); in LL_GPIO_LockPin()
722 WRITE_REG(GPIOx->LCKR, GPIO_LCKR_LCKK | PinMask); in LL_GPIO_LockPin()
752 __STATIC_INLINE uint32_t LL_GPIO_IsPinLocked(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsPinLocked() argument
754 return ((READ_BIT(GPIOx->LCKR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsPinLocked()
811 __STATIC_INLINE uint32_t LL_GPIO_IsInputPinSet(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsInputPinSet() argument
813 return ((READ_BIT(GPIOx->IDR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsInputPinSet()
863 __STATIC_INLINE uint32_t LL_GPIO_IsOutputPinSet(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsOutputPinSet() argument
865 return ((READ_BIT(GPIOx->ODR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsOutputPinSet()
892 __STATIC_INLINE void LL_GPIO_SetOutputPin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_SetOutputPin() argument
894 WRITE_REG(GPIOx->BSRR, PinMask); in LL_GPIO_SetOutputPin()
921 __STATIC_INLINE void LL_GPIO_ResetOutputPin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_ResetOutputPin() argument
923 WRITE_REG(GPIOx->BRR, PinMask); in LL_GPIO_ResetOutputPin()
950 __STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_TogglePin() argument
953 WRITE_REG(GPIOx->BSRR, ((odr & PinMask) << 16u) | (~odr & PinMask)); in LL_GPIO_TogglePin()