Lines Matching refs:Periphs
183 __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) in LL_AHB1_GRP1_EnableClock() argument
186 SET_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_EnableClock()
188 tmpreg = READ_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_EnableClock()
203 __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) in LL_AHB1_GRP1_IsEnabledClock() argument
205 return ((READ_BIT(RCC->AHBENR, Periphs) == Periphs) ? 1UL : 0UL); in LL_AHB1_GRP1_IsEnabledClock()
219 __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) in LL_AHB1_GRP1_DisableClock() argument
221 CLEAR_BIT(RCC->AHBENR, Periphs); in LL_AHB1_GRP1_DisableClock()
236 __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) in LL_AHB1_GRP1_ForceReset() argument
238 SET_BIT(RCC->AHBRSTR, Periphs); in LL_AHB1_GRP1_ForceReset()
253 __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) in LL_AHB1_GRP1_ReleaseReset() argument
255 CLEAR_BIT(RCC->AHBRSTR, Periphs); in LL_AHB1_GRP1_ReleaseReset()
271 __STATIC_INLINE void LL_AHB1_GRP1_EnableClockStopSleep(uint32_t Periphs) in LL_AHB1_GRP1_EnableClockStopSleep() argument
274 SET_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_EnableClockStopSleep()
276 tmpreg = READ_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_EnableClockStopSleep()
293 __STATIC_INLINE void LL_AHB1_GRP1_DisableClockStopSleep(uint32_t Periphs) in LL_AHB1_GRP1_DisableClockStopSleep() argument
295 CLEAR_BIT(RCC->AHBSMENR, Periphs); in LL_AHB1_GRP1_DisableClockStopSleep()
332 __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs) in LL_APB1_GRP1_EnableClock() argument
335 SET_BIT(RCC->APBENR1, Periphs); in LL_APB1_GRP1_EnableClock()
337 tmpreg = READ_BIT(RCC->APBENR1, Periphs); in LL_APB1_GRP1_EnableClock()
369 __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs) in LL_APB1_GRP1_IsEnabledClock() argument
371 return ((READ_BIT(RCC->APBENR1, Periphs) == (Periphs)) ? 1UL : 0UL); in LL_APB1_GRP1_IsEnabledClock()
402 __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs) in LL_APB1_GRP1_DisableClock() argument
404 CLEAR_BIT(RCC->APBENR1, Periphs); in LL_APB1_GRP1_DisableClock()
434 __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs) in LL_APB1_GRP1_ForceReset() argument
436 SET_BIT(RCC->APBRSTR1, Periphs); in LL_APB1_GRP1_ForceReset()
466 __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs) in LL_APB1_GRP1_ReleaseReset() argument
468 CLEAR_BIT(RCC->APBRSTR1, Periphs); in LL_APB1_GRP1_ReleaseReset()
497 __STATIC_INLINE void LL_APB1_GRP1_EnableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP1_EnableClockStopSleep() argument
500 SET_BIT(RCC->APBSMENR1, Periphs); in LL_APB1_GRP1_EnableClockStopSleep()
502 tmpreg = READ_BIT(RCC->APBSMENR1, Periphs); in LL_APB1_GRP1_EnableClockStopSleep()
532 __STATIC_INLINE void LL_APB1_GRP1_DisableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP1_DisableClockStopSleep() argument
534 CLEAR_BIT(RCC->APBSMENR1, Periphs); in LL_APB1_GRP1_DisableClockStopSleep()
566 __STATIC_INLINE void LL_APB1_GRP2_EnableClock(uint32_t Periphs) in LL_APB1_GRP2_EnableClock() argument
569 SET_BIT(RCC->APBENR2, Periphs); in LL_APB1_GRP2_EnableClock()
571 tmpreg = READ_BIT(RCC->APBENR2, Periphs); in LL_APB1_GRP2_EnableClock()
597 __STATIC_INLINE uint32_t LL_APB1_GRP2_IsEnabledClock(uint32_t Periphs) in LL_APB1_GRP2_IsEnabledClock() argument
599 return ((READ_BIT(RCC->APBENR2, Periphs) == (Periphs)) ? 1UL : 0UL); in LL_APB1_GRP2_IsEnabledClock()
624 __STATIC_INLINE void LL_APB1_GRP2_DisableClock(uint32_t Periphs) in LL_APB1_GRP2_DisableClock() argument
626 CLEAR_BIT(RCC->APBENR2, Periphs); in LL_APB1_GRP2_DisableClock()
652 __STATIC_INLINE void LL_APB1_GRP2_ForceReset(uint32_t Periphs) in LL_APB1_GRP2_ForceReset() argument
654 SET_BIT(RCC->APBRSTR2, Periphs); in LL_APB1_GRP2_ForceReset()
680 __STATIC_INLINE void LL_APB1_GRP2_ReleaseReset(uint32_t Periphs) in LL_APB1_GRP2_ReleaseReset() argument
682 CLEAR_BIT(RCC->APBRSTR2, Periphs); in LL_APB1_GRP2_ReleaseReset()
707 __STATIC_INLINE void LL_APB1_GRP2_EnableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP2_EnableClockStopSleep() argument
710 SET_BIT(RCC->APBSMENR2, Periphs); in LL_APB1_GRP2_EnableClockStopSleep()
712 tmpreg = READ_BIT(RCC->APBSMENR2, Periphs); in LL_APB1_GRP2_EnableClockStopSleep()
738 __STATIC_INLINE void LL_APB1_GRP2_DisableClockStopSleep(uint32_t Periphs) in LL_APB1_GRP2_DisableClockStopSleep() argument
740 CLEAR_BIT(RCC->APBSMENR2, Periphs); in LL_APB1_GRP2_DisableClockStopSleep()
767 __STATIC_INLINE void LL_IOP_GRP1_EnableClock(uint32_t Periphs) in LL_IOP_GRP1_EnableClock() argument
770 SET_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_EnableClock()
772 tmpreg = READ_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_EnableClock()
791 __STATIC_INLINE uint32_t LL_IOP_GRP1_IsEnabledClock(uint32_t Periphs) in LL_IOP_GRP1_IsEnabledClock() argument
793 return ((READ_BIT(RCC->IOPENR, Periphs) == Periphs) ? 1UL : 0UL); in LL_IOP_GRP1_IsEnabledClock()
811 __STATIC_INLINE void LL_IOP_GRP1_DisableClock(uint32_t Periphs) in LL_IOP_GRP1_DisableClock() argument
813 CLEAR_BIT(RCC->IOPENR, Periphs); in LL_IOP_GRP1_DisableClock()
832 __STATIC_INLINE void LL_IOP_GRP1_ForceReset(uint32_t Periphs) in LL_IOP_GRP1_ForceReset() argument
834 SET_BIT(RCC->IOPRSTR, Periphs); in LL_IOP_GRP1_ForceReset()
853 __STATIC_INLINE void LL_IOP_GRP1_ReleaseReset(uint32_t Periphs) in LL_IOP_GRP1_ReleaseReset() argument
855 CLEAR_BIT(RCC->IOPRSTR, Periphs); in LL_IOP_GRP1_ReleaseReset()
873 __STATIC_INLINE void LL_IOP_GRP1_EnableClockStopSleep(uint32_t Periphs) in LL_IOP_GRP1_EnableClockStopSleep() argument
876 SET_BIT(RCC->IOPSMENR, Periphs); in LL_IOP_GRP1_EnableClockStopSleep()
878 tmpreg = READ_BIT(RCC->IOPSMENR, Periphs); in LL_IOP_GRP1_EnableClockStopSleep()
897 __STATIC_INLINE void LL_IOP_GRP1_DisableClockStopSleep(uint32_t Periphs) in LL_IOP_GRP1_DisableClockStopSleep() argument
899 CLEAR_BIT(RCC->IOPSMENR, Periphs); in LL_IOP_GRP1_DisableClockStopSleep()