Lines Matching refs:Periphs
211 __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) in LL_AHB1_GRP1_EnableClock() argument
214 SET_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_EnableClock()
216 tmpreg = READ_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_EnableClock()
242 __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) in LL_AHB1_GRP1_IsEnabledClock() argument
244 return (READ_BIT(RCC->AHBENR, Periphs) == Periphs); in LL_AHB1_GRP1_IsEnabledClock()
269 __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) in LL_AHB1_GRP1_DisableClock() argument
271 CLEAR_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_DisableClock()
297 __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) in LL_AHB1_GRP1_ForceReset() argument
299 SET_BIT(RCC->AHBRSTR, Periphs); in LL_AHB1_GRP1_ForceReset()
326 __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) in LL_AHB1_GRP1_ReleaseReset() argument
328 CLEAR_BIT(RCC->AHBRSTR, Periphs); in LL_AHB1_GRP1_ReleaseReset()
355 __STATIC_INLINE void LL_AHB1_GRP1_EnableClockStopSleep(uint32_t Periphs) in LL_AHB1_GRP1_EnableClockStopSleep() argument
358 SET_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_EnableClockStopSleep()
360 tmpreg = READ_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_EnableClockStopSleep()
388 __STATIC_INLINE void LL_AHB1_GRP1_DisableClockStopSleep(uint32_t Periphs) in LL_AHB1_GRP1_DisableClockStopSleep() argument
390 CLEAR_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_DisableClockStopSleep()
461 __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs) in LL_APB1_GRP1_EnableClock() argument
464 SET_BIT(RCC->APBENR1, Periphs); in LL_APB1_GRP1_EnableClock()
466 tmpreg = READ_BIT(RCC->APBENR1, Periphs); in LL_APB1_GRP1_EnableClock()
531 __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs) in LL_APB1_GRP1_IsEnabledClock() argument
533 return (READ_BIT(RCC->APBENR1, Periphs) == Periphs); in LL_APB1_GRP1_IsEnabledClock()
596 __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs) in LL_APB1_GRP1_DisableClock() argument
598 CLEAR_BIT(RCC->APBENR1, Periphs); in LL_APB1_GRP1_DisableClock()
661 __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs) in LL_APB1_GRP1_ForceReset() argument
663 SET_BIT(RCC->APBRSTR1, Periphs); in LL_APB1_GRP1_ForceReset()
726 __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs) in LL_APB1_GRP1_ReleaseReset() argument
728 CLEAR_BIT(RCC->APBRSTR1, Periphs); in LL_APB1_GRP1_ReleaseReset()
792 __STATIC_INLINE void LL_APB1_GRP1_EnableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP1_EnableClockStopSleep() argument
795 SET_BIT(RCC->APBSMENR1, Periphs); in LL_APB1_GRP1_EnableClockStopSleep()
797 tmpreg = READ_BIT(RCC->APBSMENR1, Periphs); in LL_APB1_GRP1_EnableClockStopSleep()
861 __STATIC_INLINE void LL_APB1_GRP1_DisableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP1_DisableClockStopSleep() argument
863 CLEAR_BIT(RCC->APBSMENR1, Periphs); in LL_APB1_GRP1_DisableClockStopSleep()
896 __STATIC_INLINE void LL_APB1_GRP2_EnableClock(uint32_t Periphs) in LL_APB1_GRP2_EnableClock() argument
899 SET_BIT(RCC->APBENR2, Periphs); in LL_APB1_GRP2_EnableClock()
901 tmpreg = READ_BIT(RCC->APBENR2, Periphs); in LL_APB1_GRP2_EnableClock()
926 __STATIC_INLINE uint32_t LL_APB1_GRP2_IsEnabledClock(uint32_t Periphs) in LL_APB1_GRP2_IsEnabledClock() argument
928 return ((READ_BIT(RCC->APBENR2, Periphs) == (Periphs)) ? 1UL : 0UL); in LL_APB1_GRP2_IsEnabledClock()
953 __STATIC_INLINE void LL_APB1_GRP2_DisableClock(uint32_t Periphs) in LL_APB1_GRP2_DisableClock() argument
955 CLEAR_BIT(RCC->APBENR2, Periphs); in LL_APB1_GRP2_DisableClock()
981 __STATIC_INLINE void LL_APB1_GRP2_ForceReset(uint32_t Periphs) in LL_APB1_GRP2_ForceReset() argument
983 SET_BIT(RCC->APBRSTR2, Periphs); in LL_APB1_GRP2_ForceReset()
1009 __STATIC_INLINE void LL_APB1_GRP2_ReleaseReset(uint32_t Periphs) in LL_APB1_GRP2_ReleaseReset() argument
1011 CLEAR_BIT(RCC->APBRSTR2, Periphs); in LL_APB1_GRP2_ReleaseReset()
1037 __STATIC_INLINE void LL_APB1_GRP2_EnableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP2_EnableClockStopSleep() argument
1040 SET_BIT(RCC->APBSMENR2, Periphs); in LL_APB1_GRP2_EnableClockStopSleep()
1042 tmpreg = READ_BIT(RCC->APBSMENR2, Periphs); in LL_APB1_GRP2_EnableClockStopSleep()
1069 __STATIC_INLINE void LL_APB1_GRP2_DisableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP2_DisableClockStopSleep() argument
1071 CLEAR_BIT(RCC->APBSMENR2, Periphs); in LL_APB1_GRP2_DisableClockStopSleep()
1158 __STATIC_INLINE void LL_IOP_GRP1_EnableClock(uint32_t Periphs) in LL_IOP_GRP1_EnableClock() argument
1161 SET_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_EnableClock()
1163 tmpreg = READ_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_EnableClock()
1182 __STATIC_INLINE uint32_t LL_IOP_GRP1_IsEnabledClock(uint32_t Periphs) in LL_IOP_GRP1_IsEnabledClock() argument
1184 return ((READ_BIT(RCC->IOPENR, Periphs) == Periphs) ? 1UL : 0UL); in LL_IOP_GRP1_IsEnabledClock()
1202 __STATIC_INLINE void LL_IOP_GRP1_DisableClock(uint32_t Periphs) in LL_IOP_GRP1_DisableClock() argument
1204 CLEAR_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_DisableClock()
1223 __STATIC_INLINE void LL_IOP_GRP1_ForceReset(uint32_t Periphs) in LL_IOP_GRP1_ForceReset() argument
1225 SET_BIT(RCC->IOPRSTR, Periphs); in LL_IOP_GRP1_ForceReset()
1244 __STATIC_INLINE void LL_IOP_GRP1_ReleaseReset(uint32_t Periphs) in LL_IOP_GRP1_ReleaseReset() argument
1246 CLEAR_BIT(RCC->IOPRSTR, Periphs); in LL_IOP_GRP1_ReleaseReset()
1264 __STATIC_INLINE void LL_IOP_GRP1_EnableClockStopSleep(uint32_t Periphs) in LL_IOP_GRP1_EnableClockStopSleep() argument
1267 SET_BIT(RCC->IOPSMENR, Periphs); in LL_IOP_GRP1_EnableClockStopSleep()
1269 tmpreg = READ_BIT(RCC->IOPSMENR, Periphs); in LL_IOP_GRP1_EnableClockStopSleep()
1288 __STATIC_INLINE void LL_IOP_GRP1_DisableClockStopSleep(uint32_t Periphs) in LL_IOP_GRP1_DisableClockStopSleep() argument
1290 CLEAR_BIT(RCC->IOPSMENR, Periphs); in LL_IOP_GRP1_DisableClockStopSleep()