Lines Matching refs:PinMask
353 __STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t PinMask, uint32_t Outpu… in LL_GPIO_SetPinOutputType() argument
355 MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); in LL_GPIO_SetPinOutputType()
720 __STATIC_INLINE void LL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_LockPin() argument
723 WRITE_REG(GPIOx->LCKR, GPIO_LCKR_LCKK | PinMask); in LL_GPIO_LockPin()
724 WRITE_REG(GPIOx->LCKR, PinMask); in LL_GPIO_LockPin()
725 WRITE_REG(GPIOx->LCKR, GPIO_LCKR_LCKK | PinMask); in LL_GPIO_LockPin()
755 __STATIC_INLINE uint32_t LL_GPIO_IsPinLocked(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsPinLocked() argument
757 return ((READ_BIT(GPIOx->LCKR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsPinLocked()
814 __STATIC_INLINE uint32_t LL_GPIO_IsInputPinSet(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsInputPinSet() argument
816 return ((READ_BIT(GPIOx->IDR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsInputPinSet()
867 __STATIC_INLINE uint32_t LL_GPIO_IsOutputPinSet(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsOutputPinSet() argument
869 return ((READ_BIT(GPIOx->ODR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsOutputPinSet()
896 __STATIC_INLINE void LL_GPIO_SetOutputPin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_SetOutputPin() argument
898 WRITE_REG(GPIOx->BSRR, PinMask); in LL_GPIO_SetOutputPin()
925 __STATIC_INLINE void LL_GPIO_ResetOutputPin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_ResetOutputPin() argument
927 WRITE_REG(GPIOx->BRR, PinMask); in LL_GPIO_ResetOutputPin()
954 __STATIC_INLINE void LL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_TogglePin() argument
957 WRITE_REG(GPIOx->BSRR, ((odr & PinMask) << 16u) | (~odr & PinMask)); in LL_GPIO_TogglePin()
986 __STATIC_INLINE void LL_GPIO_EnableHighSPeedLowVoltage(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_EnableHighSPeedLowVoltage() argument
988 SET_BIT(GPIOx->HSLVR, PinMask); in LL_GPIO_EnableHighSPeedLowVoltage()
1018 __STATIC_INLINE void LL_GPIO_DisableHighSPeedLowVoltage(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_DisableHighSPeedLowVoltage() argument
1020 CLEAR_BIT(GPIOx->HSLVR, PinMask); in LL_GPIO_DisableHighSPeedLowVoltage()
1049 …C_INLINE uint32_t LL_GPIO_IsEnabledHighSPeedLowVoltage(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsEnabledHighSPeedLowVoltage() argument
1051 return ((READ_BIT(GPIOx->HSLVR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsEnabledHighSPeedLowVoltage()
1080 __STATIC_INLINE void LL_GPIO_EnablePinSecure(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_EnablePinSecure() argument
1082 SET_BIT(GPIOx->SECCFGR, PinMask); in LL_GPIO_EnablePinSecure()
1110 __STATIC_INLINE void LL_GPIO_DisablePinSecure(GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_DisablePinSecure() argument
1112 CLEAR_BIT(GPIOx->SECCFGR, PinMask); in LL_GPIO_DisablePinSecure()
1141 __STATIC_INLINE uint32_t LL_GPIO_IsEnabledPinSecure(const GPIO_TypeDef *GPIOx, uint32_t PinMask) in LL_GPIO_IsEnabledPinSecure() argument
1143 return ((READ_BIT(GPIOx->SECCFGR, PinMask) == (PinMask)) ? 1UL : 0UL); in LL_GPIO_IsEnabledPinSecure()