36#ifndef STM32H7xx_LL_BUS_H
37#define STM32H7xx_LL_BUS_H
75#define LL_AHB3_GRP1_PERIPH_MDMA RCC_AHB3ENR_MDMAEN
76#define LL_AHB3_GRP1_PERIPH_DMA2D RCC_AHB3ENR_DMA2DEN
79#define LL_AHB3_GRP1_PERIPH_JPGDEC RCC_AHB3ENR_JPGDECEN
82#define LL_AHB3_GRP1_PERIPH_FMC RCC_AHB3ENR_FMCEN
84#define LL_AHB3_GRP1_PERIPH_QSPI RCC_AHB3ENR_QSPIEN
86#if defined(OCTOSPI1) || defined(OCTOSPI2)
87#define LL_AHB3_GRP1_PERIPH_OSPI1 RCC_AHB3ENR_OSPI1EN
88#define LL_AHB3_GRP1_PERIPH_OSPI2 RCC_AHB3ENR_OSPI2EN
91#define LL_AHB3_GRP1_PERIPH_OCTOSPIM RCC_AHB3ENR_IOMNGREN
93#if defined(OTFDEC1) || defined(OTFDEC2)
94#define LL_AHB3_GRP1_PERIPH_OTFDEC1 RCC_AHB3ENR_OTFDEC1EN
95#define LL_AHB3_GRP1_PERIPH_OTFDEC2 RCC_AHB3ENR_OTFDEC2EN
98#define LL_AHB3_GRP1_PERIPH_GFXMMU RCC_AHB3ENR_GFXMMUEN
100#define LL_AHB3_GRP1_PERIPH_SDMMC1 RCC_AHB3ENR_SDMMC1EN
101#define LL_AHB3_GRP1_PERIPH_FLASH RCC_AHB3LPENR_FLASHLPEN
102#define LL_AHB3_GRP1_PERIPH_DTCM1 RCC_AHB3LPENR_DTCM1LPEN
103#define LL_AHB3_GRP1_PERIPH_DTCM2 RCC_AHB3LPENR_DTCM2LPEN
104#define LL_AHB3_GRP1_PERIPH_ITCM RCC_AHB3LPENR_ITCMLPEN
105#if defined(RCC_AHB3LPENR_AXISRAMLPEN)
106#define LL_AHB3_GRP1_PERIPH_AXISRAM RCC_AHB3LPENR_AXISRAMLPEN
108#define LL_AHB3_GRP1_PERIPH_AXISRAM1 RCC_AHB3LPENR_AXISRAM1LPEN
109#define LL_AHB3_GRP1_PERIPH_AXISRAM LL_AHB3_GRP1_PERIPH_AXISRAM1
111#if defined(CD_AXISRAM2_BASE)
112#define LL_AHB3_GRP1_PERIPH_AXISRAM2 RCC_AHB3LPENR_AXISRAM2LPEN
114#if defined(CD_AXISRAM3_BASE)
115#define LL_AHB3_GRP1_PERIPH_AXISRAM3 RCC_AHB3LPENR_AXISRAM3LPEN
126#define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHB1ENR_DMA1EN
127#define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHB1ENR_DMA2EN
128#define LL_AHB1_GRP1_PERIPH_ADC12 RCC_AHB1ENR_ADC12EN
129#if defined(DUAL_CORE)
130#define LL_AHB1_GRP1_PERIPH_ART RCC_AHB1ENR_ARTEN
132#if defined(RCC_AHB1ENR_CRCEN)
133#define LL_AHB1_GRP1_PERIPH_CRC RCC_AHB1ENR_CRCEN
136#define LL_AHB1_GRP1_PERIPH_ETH1MAC RCC_AHB1ENR_ETH1MACEN
137#define LL_AHB1_GRP1_PERIPH_ETH1TX RCC_AHB1ENR_ETH1TXEN
138#define LL_AHB1_GRP1_PERIPH_ETH1RX RCC_AHB1ENR_ETH1RXEN
140#define LL_AHB1_GRP1_PERIPH_USB1OTGHS RCC_AHB1ENR_USB1OTGHSEN
141#define LL_AHB1_GRP1_PERIPH_USB1OTGHSULPI RCC_AHB1ENR_USB1OTGHSULPIEN
142#if defined(USB2_OTG_FS)
143#define LL_AHB1_GRP1_PERIPH_USB2OTGHS RCC_AHB1ENR_USB2OTGHSEN
144#define LL_AHB1_GRP1_PERIPH_USB2OTGHSULPI RCC_AHB1ENR_USB2OTGHSULPIEN
155#define LL_AHB2_GRP1_PERIPH_DCMI RCC_AHB2ENR_DCMIEN
156#if defined(HSEM) && defined(RCC_AHB2ENR_HSEMEN)
157#define LL_AHB2_GRP1_PERIPH_HSEM RCC_AHB2ENR_HSEMEN
160#define LL_AHB2_GRP1_PERIPH_CRYP RCC_AHB2ENR_CRYPEN
163#define LL_AHB2_GRP1_PERIPH_HASH RCC_AHB2ENR_HASHEN
165#define LL_AHB2_GRP1_PERIPH_RNG RCC_AHB2ENR_RNGEN
166#define LL_AHB2_GRP1_PERIPH_SDMMC2 RCC_AHB2ENR_SDMMC2EN
168#define LL_AHB2_GRP1_PERIPH_FMAC RCC_AHB2ENR_FMACEN
171#define LL_AHB2_GRP1_PERIPH_CORDIC RCC_AHB2ENR_CORDICEN
174#define LL_AHB2_GRP1_PERIPH_BDMA1 RCC_AHB2ENR_BDMA1EN
176#if defined(RCC_AHB2ENR_D2SRAM1EN)
177#define LL_AHB2_GRP1_PERIPH_D2SRAM1 RCC_AHB2ENR_D2SRAM1EN
179#define LL_AHB2_GRP1_PERIPH_AHBSRAM1 RCC_AHB2ENR_AHBSRAM1EN
180#define LL_AHB2_GRP1_PERIPH_D2SRAM1 LL_AHB2_GRP1_PERIPH_AHBSRAM1
182#if defined(RCC_AHB2ENR_D2SRAM2EN)
183#define LL_AHB2_GRP1_PERIPH_D2SRAM2 RCC_AHB2ENR_D2SRAM2EN
185#define LL_AHB2_GRP1_PERIPH_AHBSRAM2 RCC_AHB2ENR_AHBSRAM2EN
186#define LL_AHB2_GRP1_PERIPH_D2SRAM2 LL_AHB2_GRP1_PERIPH_AHBSRAM2
188#if defined(RCC_AHB2ENR_D2SRAM3EN)
189#define LL_AHB2_GRP1_PERIPH_D2SRAM3 RCC_AHB2ENR_D2SRAM3EN
200#define LL_AHB4_GRP1_PERIPH_GPIOA RCC_AHB4ENR_GPIOAEN
201#define LL_AHB4_GRP1_PERIPH_GPIOB RCC_AHB4ENR_GPIOBEN
202#define LL_AHB4_GRP1_PERIPH_GPIOC RCC_AHB4ENR_GPIOCEN
203#define LL_AHB4_GRP1_PERIPH_GPIOD RCC_AHB4ENR_GPIODEN
204#define LL_AHB4_GRP1_PERIPH_GPIOE RCC_AHB4ENR_GPIOEEN
205#define LL_AHB4_GRP1_PERIPH_GPIOF RCC_AHB4ENR_GPIOFEN
206#define LL_AHB4_GRP1_PERIPH_GPIOG RCC_AHB4ENR_GPIOGEN
207#define LL_AHB4_GRP1_PERIPH_GPIOH RCC_AHB4ENR_GPIOHEN
209#define LL_AHB4_GRP1_PERIPH_GPIOI RCC_AHB4ENR_GPIOIEN
211#define LL_AHB4_GRP1_PERIPH_GPIOJ RCC_AHB4ENR_GPIOJEN
212#define LL_AHB4_GRP1_PERIPH_GPIOK RCC_AHB4ENR_GPIOKEN
213#if defined(RCC_AHB4ENR_CRCEN)
214#define LL_AHB4_GRP1_PERIPH_CRC RCC_AHB4ENR_CRCEN
217#define LL_AHB4_GRP1_PERIPH_BDMA2 RCC_AHB4ENR_BDMA2EN
218#define LL_AHB4_GRP1_PERIPH_BDMA LL_AHB4_GRP1_PERIPH_BDMA2
220#define LL_AHB4_GRP1_PERIPH_BDMA RCC_AHB4ENR_BDMAEN
223#define LL_AHB4_GRP1_PERIPH_ADC3 RCC_AHB4ENR_ADC3EN
225#if defined(HSEM) && defined(RCC_AHB4ENR_HSEMEN)
226#define LL_AHB4_GRP1_PERIPH_HSEM RCC_AHB4ENR_HSEMEN
228#define LL_AHB4_GRP1_PERIPH_BKPRAM RCC_AHB4ENR_BKPRAMEN
229#if defined(RCC_AHB4LPENR_SRAM4LPEN)
230#define LL_AHB4_GRP1_PERIPH_SRAM4 RCC_AHB4LPENR_SRAM4LPEN
231#define LL_AHB4_GRP1_PERIPH_D3SRAM1 LL_AHB4_GRP1_PERIPH_SRAM4
233#define LL_AHB4_GRP1_PERIPH_SRDSRAM RCC_AHB4ENR_SRDSRAMEN
234#define LL_AHB4_GRP1_PERIPH_SRAM4 LL_AHB4_GRP1_PERIPH_SRDSRAM
235#define LL_AHB4_GRP1_PERIPH_D3SRAM1 LL_AHB4_GRP1_PERIPH_SRDSRAM
247#define LL_APB3_GRP1_PERIPH_LTDC RCC_APB3ENR_LTDCEN
250#define LL_APB3_GRP1_PERIPH_DSI RCC_APB3ENR_DSIEN
252#define LL_APB3_GRP1_PERIPH_WWDG1 RCC_APB3ENR_WWDG1EN
253#if defined(RCC_APB3ENR_WWDGEN)
254#define LL_APB3_GRP1_PERIPH_WWDG LL_APB3_GRP1_PERIPH_WWDG1
265#define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1LENR_TIM2EN
266#define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1LENR_TIM3EN
267#define LL_APB1_GRP1_PERIPH_TIM4 RCC_APB1LENR_TIM4EN
268#define LL_APB1_GRP1_PERIPH_TIM5 RCC_APB1LENR_TIM5EN
269#define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1LENR_TIM6EN
270#define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1LENR_TIM7EN
271#define LL_APB1_GRP1_PERIPH_TIM12 RCC_APB1LENR_TIM12EN
272#define LL_APB1_GRP1_PERIPH_TIM13 RCC_APB1LENR_TIM13EN
273#define LL_APB1_GRP1_PERIPH_TIM14 RCC_APB1LENR_TIM14EN
274#define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APB1LENR_LPTIM1EN
275#if defined(DUAL_CORE)
276#define LL_APB1_GRP1_PERIPH_WWDG2 RCC_APB1LENR_WWDG2EN
278#define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1LENR_SPI2EN
279#define LL_APB1_GRP1_PERIPH_SPI3 RCC_APB1LENR_SPI3EN
280#define LL_APB1_GRP1_PERIPH_SPDIFRX RCC_APB1LENR_SPDIFRXEN
281#define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1LENR_USART2EN
282#define LL_APB1_GRP1_PERIPH_USART3 RCC_APB1LENR_USART3EN
283#define LL_APB1_GRP1_PERIPH_UART4 RCC_APB1LENR_UART4EN
284#define LL_APB1_GRP1_PERIPH_UART5 RCC_APB1LENR_UART5EN
285#define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1LENR_I2C1EN
286#define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1LENR_I2C2EN
287#define LL_APB1_GRP1_PERIPH_I2C3 RCC_APB1LENR_I2C3EN
289#define LL_APB1_GRP1_PERIPH_I2C5 RCC_APB1LENR_I2C5EN
291#if defined(RCC_APB1LENR_CECEN)
292#define LL_APB1_GRP1_PERIPH_CEC RCC_APB1LENR_CECEN
294#define LL_APB1_GRP1_PERIPH_HDMICEC RCC_APB1LENR_HDMICECEN
295#define LL_APB1_GRP1_PERIPH_CEC LL_APB1_GRP1_PERIPH_HDMICEC
297#define LL_APB1_GRP1_PERIPH_DAC12 RCC_APB1LENR_DAC12EN
298#define LL_APB1_GRP1_PERIPH_UART7 RCC_APB1LENR_UART7EN
299#define LL_APB1_GRP1_PERIPH_UART8 RCC_APB1LENR_UART8EN
309#define LL_APB1_GRP2_PERIPH_CRS RCC_APB1HENR_CRSEN
310#define LL_APB1_GRP2_PERIPH_SWPMI1 RCC_APB1HENR_SWPMIEN
311#define LL_APB1_GRP2_PERIPH_OPAMP RCC_APB1HENR_OPAMPEN
312#define LL_APB1_GRP2_PERIPH_MDIOS RCC_APB1HENR_MDIOSEN
313#define LL_APB1_GRP2_PERIPH_FDCAN RCC_APB1HENR_FDCANEN
315#define LL_APB1_GRP2_PERIPH_TIM23 RCC_APB1HENR_TIM23EN
318#define LL_APB1_GRP2_PERIPH_TIM24 RCC_APB1HENR_TIM24EN
329#define LL_APB2_GRP1_PERIPH_TIM1 RCC_APB2ENR_TIM1EN
330#define LL_APB2_GRP1_PERIPH_TIM8 RCC_APB2ENR_TIM8EN
331#define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN
332#define LL_APB2_GRP1_PERIPH_USART6 RCC_APB2ENR_USART6EN
334#define LL_APB2_GRP1_PERIPH_UART9 RCC_APB2ENR_UART9EN
337#define LL_APB2_GRP1_PERIPH_USART10 RCC_APB2ENR_USART10EN
339#define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN
340#define LL_APB2_GRP1_PERIPH_SPI4 RCC_APB2ENR_SPI4EN
341#define LL_APB2_GRP1_PERIPH_TIM15 RCC_APB2ENR_TIM15EN
342#define LL_APB2_GRP1_PERIPH_TIM16 RCC_APB2ENR_TIM16EN
343#define LL_APB2_GRP1_PERIPH_TIM17 RCC_APB2ENR_TIM17EN
344#define LL_APB2_GRP1_PERIPH_SPI5 RCC_APB2ENR_SPI5EN
345#define LL_APB2_GRP1_PERIPH_SAI1 RCC_APB2ENR_SAI1EN
347#define LL_APB2_GRP1_PERIPH_SAI2 RCC_APB2ENR_SAI2EN
350#define LL_APB2_GRP1_PERIPH_SAI3 RCC_APB2ENR_SAI3EN
352#define LL_APB2_GRP1_PERIPH_DFSDM1 RCC_APB2ENR_DFSDM1EN
354#define LL_APB2_GRP1_PERIPH_HRTIM RCC_APB2ENR_HRTIMEN
365#define LL_APB4_GRP1_PERIPH_SYSCFG RCC_APB4ENR_SYSCFGEN
366#define LL_APB4_GRP1_PERIPH_LPUART1 RCC_APB4ENR_LPUART1EN
367#define LL_APB4_GRP1_PERIPH_SPI6 RCC_APB4ENR_SPI6EN
368#define LL_APB4_GRP1_PERIPH_I2C4 RCC_APB4ENR_I2C4EN
369#define LL_APB4_GRP1_PERIPH_LPTIM2 RCC_APB4ENR_LPTIM2EN
370#define LL_APB4_GRP1_PERIPH_LPTIM3 RCC_APB4ENR_LPTIM3EN
372#define LL_APB4_GRP1_PERIPH_LPTIM4 RCC_APB4ENR_LPTIM4EN
375#define LL_APB4_GRP1_PERIPH_LPTIM5 RCC_APB4ENR_LPTIM5EN
378#define LL_APB4_GRP1_PERIPH_DAC2 RCC_APB4ENR_DAC2EN
380#define LL_APB4_GRP1_PERIPH_COMP12 RCC_APB4ENR_COMP12EN
381#define LL_APB4_GRP1_PERIPH_VREF RCC_APB4ENR_VREFEN
382#define LL_APB4_GRP1_PERIPH_RTCAPB RCC_APB4ENR_RTCAPBEN
384#define LL_APB4_GRP1_PERIPH_SAI4 RCC_APB4ENR_SAI4EN
387#define LL_APB4_GRP1_PERIPH_DTS RCC_APB4ENR_DTSEN
389#if defined(DFSDM2_BASE)
390#define LL_APB4_GRP1_PERIPH_DFSDM2 RCC_APB4ENR_DFSDM2EN
400#if defined(RCC_D3AMR_BDMAAMEN)
401#define LL_CLKAM_PERIPH_BDMA RCC_D3AMR_BDMAAMEN
403#define LL_CLKAM_PERIPH_BDMA2 RCC_SRDAMR_BDMA2AMEN
404#define LL_CLKAM_PERIPH_BDMA LL_CLKAM_PERIPH_BDMA2
406#if defined(RCC_SRDAMR_GPIOAMEN)
407#define LL_CLKAM_PERIPH_GPIO RCC_SRDAMR_GPIOAMEN
409#if defined(RCC_D3AMR_LPUART1AMEN)
410#define LL_CLKAM_PERIPH_LPUART1 RCC_D3AMR_LPUART1AMEN
412#define LL_CLKAM_PERIPH_LPUART1 RCC_SRDAMR_LPUART1AMEN
414#if defined(RCC_D3AMR_SPI6AMEN)
415#define LL_CLKAM_PERIPH_SPI6 RCC_D3AMR_SPI6AMEN
417#define LL_CLKAM_PERIPH_SPI6 RCC_SRDAMR_SPI6AMEN
419#if defined(RCC_D3AMR_I2C4AMEN)
420#define LL_CLKAM_PERIPH_I2C4 RCC_D3AMR_I2C4AMEN
422#define LL_CLKAM_PERIPH_I2C4 RCC_SRDAMR_I2C4AMEN
424#if defined(RCC_D3AMR_LPTIM2AMEN)
425#define LL_CLKAM_PERIPH_LPTIM2 RCC_D3AMR_LPTIM2AMEN
427#define LL_CLKAM_PERIPH_LPTIM2 RCC_SRDAMR_LPTIM2AMEN
429#if defined(RCC_D3AMR_LPTIM3AMEN)
430#define LL_CLKAM_PERIPH_LPTIM3 RCC_D3AMR_LPTIM3AMEN
432#define LL_CLKAM_PERIPH_LPTIM3 RCC_SRDAMR_LPTIM3AMEN
434#if defined(RCC_D3AMR_LPTIM4AMEN)
435#define LL_CLKAM_PERIPH_LPTIM4 RCC_D3AMR_LPTIM4AMEN
437#if defined(RCC_D3AMR_LPTIM5AMEN)
438#define LL_CLKAM_PERIPH_LPTIM5 RCC_D3AMR_LPTIM5AMEN
441#define LL_CLKAM_PERIPH_DAC2 RCC_SRDAMR_DAC2AMEN
443#if defined(RCC_D3AMR_COMP12AMEN)
444#define LL_CLKAM_PERIPH_COMP12 RCC_D3AMR_COMP12AMEN
446#define LL_CLKAM_PERIPH_COMP12 RCC_SRDAMR_COMP12AMEN
448#if defined(RCC_D3AMR_VREFAMEN)
449#define LL_CLKAM_PERIPH_VREF RCC_D3AMR_VREFAMEN
451#define LL_CLKAM_PERIPH_VREF RCC_SRDAMR_VREFAMEN
453#if defined(RCC_D3AMR_RTCAMEN)
454#define LL_CLKAM_PERIPH_RTC RCC_D3AMR_RTCAMEN
456#define LL_CLKAM_PERIPH_RTC RCC_SRDAMR_RTCAMEN
458#if defined(RCC_D3AMR_CRCAMEN)
459#define LL_CLKAM_PERIPH_CRC RCC_D3AMR_CRCAMEN
462#define LL_CLKAM_PERIPH_SAI4 RCC_D3AMR_SAI4AMEN
465#define LL_CLKAM_PERIPH_ADC3 RCC_D3AMR_ADC3AMEN
467#if defined(RCC_SRDAMR_DTSAMEN)
468#define LL_CLKAM_PERIPH_DTS RCC_SRDAMR_DTSAMEN
470#if defined(RCC_D3AMR_DTSAMEN)
471#define LL_CLKAM_PERIPH_DTS RCC_D3AMR_DTSAMEN
473#if defined(DFSDM2_BASE)
474#define LL_CLKAM_PERIPH_DFSDM2 RCC_SRDAMR_DFSDM2AMEN
476#if defined(RCC_D3AMR_BKPRAMAMEN)
477#define LL_CLKAM_PERIPH_BKPRAM RCC_D3AMR_BKPRAMAMEN
479#define LL_CLKAM_PERIPH_BKPRAM RCC_SRDAMR_BKPRAMAMEN
481#if defined(RCC_D3AMR_SRAM4AMEN)
482#define LL_CLKAM_PERIPH_SRAM4 RCC_D3AMR_SRAM4AMEN
484#define LL_CLKAM_PERIPH_SRDSRAM RCC_SRDAMR_SRDSRAMAMEN
485#define LL_CLKAM_PERIPH_SRAM4 LL_CLKAM_PERIPH_SRDSRAM
491#if defined(RCC_CKGAENR_AXICKG)
496#define LL_CKGA_PERIPH_AXI RCC_CKGAENR_AXICKG
497#define LL_CKGA_PERIPH_AHB RCC_CKGAENR_AHBCKG
498#define LL_CKGA_PERIPH_CPU RCC_CKGAENR_CPUCKG
499#define LL_CKGA_PERIPH_SDMMC RCC_CKGAENR_SDMMCCKG
500#define LL_CKGA_PERIPH_MDMA RCC_CKGAENR_MDMACKG
501#define LL_CKGA_PERIPH_DMA2D RCC_CKGAENR_DMA2DCKG
502#define LL_CKGA_PERIPH_LTDC RCC_CKGAENR_LTDCCKG
503#define LL_CKGA_PERIPH_GFXMMUM RCC_CKGAENR_GFXMMUMCKG
504#define LL_CKGA_PERIPH_AHB12 RCC_CKGAENR_AHB12CKG
505#define LL_CKGA_PERIPH_AHB34 RCC_CKGAENR_AHB34CKG
506#define LL_CKGA_PERIPH_FLIFT RCC_CKGAENR_FLIFTCKG
507#define LL_CKGA_PERIPH_OCTOSPI2 RCC_CKGAENR_OCTOSPI2CKG
508#define LL_CKGA_PERIPH_FMC RCC_CKGAENR_FMCCKG
509#define LL_CKGA_PERIPH_OCTOSPI1 RCC_CKGAENR_OCTOSPI1CKG
510#define LL_CKGA_PERIPH_AXIRAM1 RCC_CKGAENR_AXIRAM1CKG
511#define LL_CKGA_PERIPH_AXIRAM2 RCC_CKGAENR_AXIRAM2CKG
512#define LL_CKGA_PERIPH_AXIRAM3 RCC_CKGAENR_AXIRAM3CKG
513#define LL_CKGA_PERIPH_GFXMMUS RCC_CKGAENR_GFXMMUSCKG
514#define LL_CKGA_PERIPH_ECCRAM RCC_CKGAENR_ECCRAMCKG
515#define LL_CKGA_PERIPH_EXTI RCC_CKGAENR_EXTICKG
516#define LL_CKGA_PERIPH_JTAG RCC_CKGAENR_JTAGCKG
581__STATIC_INLINE
void LL_AHB3_GRP1_EnableClock(uint32_t Periphs)
583 __IO uint32_t tmpreg;
584 SET_BIT(RCC->AHB3ENR, Periphs);
586 tmpreg = READ_BIT(RCC->AHB3ENR, Periphs);
631__STATIC_INLINE uint32_t LL_AHB3_GRP1_IsEnabledClock(uint32_t Periphs)
633 return ((READ_BIT(RCC->AHB3ENR, Periphs) == Periphs) ? 1U : 0U);
677__STATIC_INLINE
void LL_AHB3_GRP1_DisableClock(uint32_t Periphs)
679 CLEAR_BIT(RCC->AHB3ENR, Periphs);
713__STATIC_INLINE
void LL_AHB3_GRP1_ForceReset(uint32_t Periphs)
715 SET_BIT(RCC->AHB3RSTR, Periphs);
749__STATIC_INLINE
void LL_AHB3_GRP1_ReleaseReset(uint32_t Periphs)
751 CLEAR_BIT(RCC->AHB3RSTR, Periphs);
794__STATIC_INLINE
void LL_AHB3_GRP1_EnableClockSleep(uint32_t Periphs)
796 __IO uint32_t tmpreg;
797 SET_BIT(RCC->AHB3LPENR, Periphs);
799 tmpreg = READ_BIT(RCC->AHB3LPENR, Periphs);
843__STATIC_INLINE
void LL_AHB3_GRP1_DisableClockSleep(uint32_t Periphs)
845 CLEAR_BIT(RCC->AHB3LPENR, Periphs);
888__STATIC_INLINE
void LL_AHB1_GRP1_EnableClock(uint32_t Periphs)
890 __IO uint32_t tmpreg;
891 SET_BIT(RCC->AHB1ENR, Periphs);
893 tmpreg = READ_BIT(RCC->AHB1ENR, Periphs);
928__STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
930 return ((READ_BIT(RCC->AHB1ENR, Periphs) == Periphs) ? 1U : 0U);
964__STATIC_INLINE
void LL_AHB1_GRP1_DisableClock(uint32_t Periphs)
966 CLEAR_BIT(RCC->AHB1ENR, Periphs);
992__STATIC_INLINE
void LL_AHB1_GRP1_ForceReset(uint32_t Periphs)
994 SET_BIT(RCC->AHB1RSTR, Periphs);
1020__STATIC_INLINE
void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs)
1022 CLEAR_BIT(RCC->AHB1RSTR, Periphs);
1056__STATIC_INLINE
void LL_AHB1_GRP1_EnableClockSleep(uint32_t Periphs)
1058 __IO uint32_t tmpreg;
1059 SET_BIT(RCC->AHB1LPENR, Periphs);
1061 tmpreg = READ_BIT(RCC->AHB1LPENR, Periphs);
1096__STATIC_INLINE
void LL_AHB1_GRP1_DisableClockSleep(uint32_t Periphs)
1098 CLEAR_BIT(RCC->AHB1LPENR, Periphs);
1141__STATIC_INLINE
void LL_AHB2_GRP1_EnableClock(uint32_t Periphs)
1143 __IO uint32_t tmpreg;
1144 SET_BIT(RCC->AHB2ENR, Periphs);
1146 tmpreg = READ_BIT(RCC->AHB2ENR, Periphs);
1181__STATIC_INLINE uint32_t LL_AHB2_GRP1_IsEnabledClock(uint32_t Periphs)
1183 return ((READ_BIT(RCC->AHB2ENR, Periphs) == Periphs) ? 1U : 0U);
1217__STATIC_INLINE
void LL_AHB2_GRP1_DisableClock(uint32_t Periphs)
1219 CLEAR_BIT(RCC->AHB2ENR, Periphs);
1247__STATIC_INLINE
void LL_AHB2_GRP1_ForceReset(uint32_t Periphs)
1249 SET_BIT(RCC->AHB2RSTR, Periphs);
1277__STATIC_INLINE
void LL_AHB2_GRP1_ReleaseReset(uint32_t Periphs)
1279 CLEAR_BIT(RCC->AHB2RSTR, Periphs);
1311__STATIC_INLINE
void LL_AHB2_GRP1_EnableClockSleep(uint32_t Periphs)
1313 __IO uint32_t tmpreg;
1314 SET_BIT(RCC->AHB2LPENR, Periphs);
1316 tmpreg = READ_BIT(RCC->AHB2LPENR, Periphs);
1347__STATIC_INLINE
void LL_AHB2_GRP1_DisableClockSleep(uint32_t Periphs)
1349 CLEAR_BIT(RCC->AHB2LPENR, Periphs);
1402__STATIC_INLINE
void LL_AHB4_GRP1_EnableClock(uint32_t Periphs)
1404 __IO uint32_t tmpreg;
1405 SET_BIT(RCC->AHB4ENR, Periphs);
1407 tmpreg = READ_BIT(RCC->AHB4ENR, Periphs);
1452__STATIC_INLINE uint32_t LL_AHB4_GRP1_IsEnabledClock(uint32_t Periphs)
1454 return ((READ_BIT(RCC->AHB4ENR, Periphs) == Periphs) ? 1U : 0U);
1498__STATIC_INLINE
void LL_AHB4_GRP1_DisableClock(uint32_t Periphs)
1500 CLEAR_BIT(RCC->AHB4ENR, Periphs);
1540__STATIC_INLINE
void LL_AHB4_GRP1_ForceReset(uint32_t Periphs)
1542 SET_BIT(RCC->AHB4RSTR, Periphs);
1582__STATIC_INLINE
void LL_AHB4_GRP1_ReleaseReset(uint32_t Periphs)
1584 CLEAR_BIT(RCC->AHB4RSTR, Periphs);
1624__STATIC_INLINE
void LL_AHB4_GRP1_EnableClockSleep(uint32_t Periphs)
1626 __IO uint32_t tmpreg;
1627 SET_BIT(RCC->AHB4LPENR, Periphs);
1629 tmpreg = READ_BIT(RCC->AHB4LPENR, Periphs);
1670__STATIC_INLINE
void LL_AHB4_GRP1_DisableClockSleep(uint32_t Periphs)
1672 CLEAR_BIT(RCC->AHB4LPENR, Periphs);
1697__STATIC_INLINE
void LL_APB3_GRP1_EnableClock(uint32_t Periphs)
1699 __IO uint32_t tmpreg;
1700 SET_BIT(RCC->APB3ENR, Periphs);
1702 tmpreg = READ_BIT(RCC->APB3ENR, Periphs);
1719__STATIC_INLINE uint32_t LL_APB3_GRP1_IsEnabledClock(uint32_t Periphs)
1721 return ((READ_BIT(RCC->APB3ENR, Periphs) == Periphs) ? 1U : 0U);
1737__STATIC_INLINE
void LL_APB3_GRP1_DisableClock(uint32_t Periphs)
1739 CLEAR_BIT(RCC->APB3ENR, Periphs);
1753__STATIC_INLINE
void LL_APB3_GRP1_ForceReset(uint32_t Periphs)
1755 SET_BIT(RCC->APB3RSTR, Periphs);
1769__STATIC_INLINE
void LL_APB3_GRP1_ReleaseReset(uint32_t Periphs)
1771 CLEAR_BIT(RCC->APB3RSTR, Periphs);
1787__STATIC_INLINE
void LL_APB3_GRP1_EnableClockSleep(uint32_t Periphs)
1789 __IO uint32_t tmpreg;
1790 SET_BIT(RCC->APB3LPENR, Periphs);
1792 tmpreg = READ_BIT(RCC->APB3LPENR, Periphs);
1809__STATIC_INLINE
void LL_APB3_GRP1_DisableClockSleep(uint32_t Periphs)
1811 CLEAR_BIT(RCC->APB3LPENR, Periphs);
1882__STATIC_INLINE
void LL_APB1_GRP1_EnableClock(uint32_t Periphs)
1884 __IO uint32_t tmpreg;
1885 SET_BIT(RCC->APB1LENR, Periphs);
1887 tmpreg = READ_BIT(RCC->APB1LENR, Periphs);
1950__STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
1952 return ((READ_BIT(RCC->APB1LENR, Periphs) == Periphs) ? 1U : 0U);
2014__STATIC_INLINE
void LL_APB1_GRP1_DisableClock(uint32_t Periphs)
2016 CLEAR_BIT(RCC->APB1LENR, Periphs);
2076__STATIC_INLINE
void LL_APB1_GRP1_ForceReset(uint32_t Periphs)
2078 SET_BIT(RCC->APB1LRSTR, Periphs);
2138__STATIC_INLINE
void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs)
2140 CLEAR_BIT(RCC->APB1LRSTR, Periphs);
2202__STATIC_INLINE
void LL_APB1_GRP1_EnableClockSleep(uint32_t Periphs)
2204 __IO uint32_t tmpreg;
2205 SET_BIT(RCC->APB1LLPENR, Periphs);
2207 tmpreg = READ_BIT(RCC->APB1LLPENR, Periphs);
2270__STATIC_INLINE
void LL_APB1_GRP1_DisableClockSleep(uint32_t Periphs)
2272 CLEAR_BIT(RCC->APB1LLPENR, Periphs);
2294__STATIC_INLINE
void LL_APB1_GRP2_EnableClock(uint32_t Periphs)
2296 __IO uint32_t tmpreg;
2297 SET_BIT(RCC->APB1HENR, Periphs);
2299 tmpreg = READ_BIT(RCC->APB1HENR, Periphs);
2322__STATIC_INLINE uint32_t LL_APB1_GRP2_IsEnabledClock(uint32_t Periphs)
2324 return ((READ_BIT(RCC->APB1HENR, Periphs) == Periphs) ? 1U : 0U);
2346__STATIC_INLINE
void LL_APB1_GRP2_DisableClock(uint32_t Periphs)
2348 CLEAR_BIT(RCC->APB1HENR, Periphs);
2370__STATIC_INLINE
void LL_APB1_GRP2_ForceReset(uint32_t Periphs)
2372 SET_BIT(RCC->APB1HRSTR, Periphs);
2394__STATIC_INLINE
void LL_APB1_GRP2_ReleaseReset(uint32_t Periphs)
2396 CLEAR_BIT(RCC->APB1HRSTR, Periphs);
2418__STATIC_INLINE
void LL_APB1_GRP2_EnableClockSleep(uint32_t Periphs)
2420 __IO uint32_t tmpreg;
2421 SET_BIT(RCC->APB1HLPENR, Periphs);
2423 tmpreg = READ_BIT(RCC->APB1HLPENR, Periphs);
2446__STATIC_INLINE
void LL_APB1_GRP2_DisableClockSleep(uint32_t Periphs)
2448 CLEAR_BIT(RCC->APB1HLPENR, Periphs);
2501__STATIC_INLINE
void LL_APB2_GRP1_EnableClock(uint32_t Periphs)
2503 __IO uint32_t tmpreg;
2504 SET_BIT(RCC->APB2ENR, Periphs);
2506 tmpreg = READ_BIT(RCC->APB2ENR, Periphs);
2551__STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock(uint32_t Periphs)
2553 return ((READ_BIT(RCC->APB2ENR, Periphs) == Periphs) ? 1U : 0U);
2597__STATIC_INLINE
void LL_APB2_GRP1_DisableClock(uint32_t Periphs)
2599 CLEAR_BIT(RCC->APB2ENR, Periphs);
2643__STATIC_INLINE
void LL_APB2_GRP1_ForceReset(uint32_t Periphs)
2645 SET_BIT(RCC->APB2RSTR, Periphs);
2689__STATIC_INLINE
void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs)
2691 CLEAR_BIT(RCC->APB2RSTR, Periphs);
2735__STATIC_INLINE
void LL_APB2_GRP1_EnableClockSleep(uint32_t Periphs)
2737 __IO uint32_t tmpreg;
2738 SET_BIT(RCC->APB2LPENR, Periphs);
2740 tmpreg = READ_BIT(RCC->APB2LPENR, Periphs);
2785__STATIC_INLINE
void LL_APB2_GRP1_DisableClockSleep(uint32_t Periphs)
2787 CLEAR_BIT(RCC->APB2LPENR, Periphs);
2836__STATIC_INLINE
void LL_APB4_GRP1_EnableClock(uint32_t Periphs)
2838 __IO uint32_t tmpreg;
2839 SET_BIT(RCC->APB4ENR, Periphs);
2841 tmpreg = READ_BIT(RCC->APB4ENR, Periphs);
2882__STATIC_INLINE uint32_t LL_APB4_GRP1_IsEnabledClock(uint32_t Periphs)
2884 return ((READ_BIT(RCC->APB4ENR, Periphs) == Periphs) ? 1U : 0U);
2924__STATIC_INLINE
void LL_APB4_GRP1_DisableClock(uint32_t Periphs)
2926 CLEAR_BIT(RCC->APB4ENR, Periphs);
2964__STATIC_INLINE
void LL_APB4_GRP1_ForceReset(uint32_t Periphs)
2966 SET_BIT(RCC->APB4RSTR, Periphs);
3004__STATIC_INLINE
void LL_APB4_GRP1_ReleaseReset(uint32_t Periphs)
3006 CLEAR_BIT(RCC->APB4RSTR, Periphs);
3046__STATIC_INLINE
void LL_APB4_GRP1_EnableClockSleep(uint32_t Periphs)
3048 __IO uint32_t tmpreg;
3049 SET_BIT(RCC->APB4LPENR, Periphs);
3051 tmpreg = READ_BIT(RCC->APB4LPENR, Periphs);
3092__STATIC_INLINE
void LL_APB4_GRP1_DisableClockSleep(uint32_t Periphs)
3094 CLEAR_BIT(RCC->APB4LPENR, Periphs);
3152__STATIC_INLINE
void LL_CLKAM_Enable(uint32_t Periphs)
3154 __IO uint32_t tmpreg;
3156#if defined(RCC_D3AMR_BDMAAMEN)
3157 SET_BIT(RCC->D3AMR, Periphs);
3159 tmpreg = READ_BIT(RCC->D3AMR, Periphs);
3161 SET_BIT(RCC->SRDAMR, Periphs);
3163 tmpreg = READ_BIT(RCC->SRDAMR, Periphs);
3214__STATIC_INLINE
void LL_CLKAM_Disable(uint32_t Periphs)
3216#if defined(RCC_D3AMR_BDMAAMEN)
3217 CLEAR_BIT(RCC->D3AMR, Periphs);
3219 CLEAR_BIT(RCC->SRDAMR, Periphs);
3232#if defined(RCC_CKGAENR_AXICKG)
3282__STATIC_INLINE
void LL_CKGA_Enable(uint32_t Periphs)
3284 __IO uint32_t tmpreg;
3285 SET_BIT(RCC->CKGAENR, Periphs);
3287 tmpreg = READ_BIT(RCC->CKGAENR, Periphs);
3293#if defined(RCC_CKGAENR_AXICKG)
3342__STATIC_INLINE
void LL_CKGA_Disable(uint32_t Periphs)
3344 CLEAR_BIT(RCC->CKGAENR, Periphs);
3353#if defined(DUAL_CORE)
3389__STATIC_INLINE
void LL_C1_AHB3_GRP1_EnableClock(uint32_t Periphs)
3391 __IO uint32_t tmpreg;
3392 SET_BIT(RCC_C1->AHB3ENR, Periphs);
3394 tmpreg = READ_BIT(RCC_C1->AHB3ENR, Periphs);
3429__STATIC_INLINE uint32_t LL_C1_AHB3_GRP1_IsEnabledClock(uint32_t Periphs)
3431 return ((READ_BIT(RCC_C1->AHB3ENR, Periphs) == Periphs) ? 1U : 0U);
3465__STATIC_INLINE
void LL_C1_AHB3_GRP1_DisableClock(uint32_t Periphs)
3467 CLEAR_BIT(RCC_C1->AHB3ENR, Periphs);
3510__STATIC_INLINE
void LL_C1_AHB3_GRP1_EnableClockSleep(uint32_t Periphs)
3512 __IO uint32_t tmpreg;
3513 SET_BIT(RCC_C1->AHB3LPENR, Periphs);
3515 tmpreg = READ_BIT(RCC_C1->AHB3LPENR, Periphs);
3559__STATIC_INLINE
void LL_C1_AHB3_GRP1_DisableClockSleep(uint32_t Periphs)
3561 CLEAR_BIT(RCC_C1->AHB3LPENR, Periphs);
3603__STATIC_INLINE
void LL_C1_AHB1_GRP1_EnableClock(uint32_t Periphs)
3605 __IO uint32_t tmpreg;
3606 SET_BIT(RCC_C1->AHB1ENR, Periphs);
3608 tmpreg = READ_BIT(RCC_C1->AHB1ENR, Periphs);
3643__STATIC_INLINE uint32_t LL_C1_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
3645 return ((READ_BIT(RCC_C1->AHB1ENR, Periphs) == Periphs) ? 1U : 0U);
3679__STATIC_INLINE
void LL_C1_AHB1_GRP1_DisableClock(uint32_t Periphs)
3681 CLEAR_BIT(RCC_C1->AHB1ENR, Periphs);
3715__STATIC_INLINE
void LL_C1_AHB1_GRP1_EnableClockSleep(uint32_t Periphs)
3717 __IO uint32_t tmpreg;
3718 SET_BIT(RCC_C1->AHB1LPENR, Periphs);
3720 tmpreg = READ_BIT(RCC_C1->AHB1LPENR, Periphs);
3755__STATIC_INLINE
void LL_C1_AHB1_GRP1_DisableClockSleep(uint32_t Periphs)
3757 CLEAR_BIT(RCC_C1->AHB1LPENR, Periphs);
3795__STATIC_INLINE
void LL_C1_AHB2_GRP1_EnableClock(uint32_t Periphs)
3797 __IO uint32_t tmpreg;
3798 SET_BIT(RCC_C1->AHB2ENR, Periphs);
3800 tmpreg = READ_BIT(RCC_C1->AHB2ENR, Periphs);
3831__STATIC_INLINE uint32_t LL_C1_AHB2_GRP1_IsEnabledClock(uint32_t Periphs)
3833 return ((READ_BIT(RCC_C1->AHB2ENR, Periphs) == Periphs) ? 1U : 0U);
3863__STATIC_INLINE
void LL_C1_AHB2_GRP1_DisableClock(uint32_t Periphs)
3865 CLEAR_BIT(RCC_C1->AHB2ENR, Periphs);
3893__STATIC_INLINE
void LL_C1_AHB2_GRP1_EnableClockSleep(uint32_t Periphs)
3895 __IO uint32_t tmpreg;
3896 SET_BIT(RCC_C1->AHB2LPENR, Periphs);
3898 tmpreg = READ_BIT(RCC_C1->AHB2LPENR, Periphs);
3927__STATIC_INLINE
void LL_C1_AHB2_GRP1_DisableClockSleep(uint32_t Periphs)
3929 CLEAR_BIT(RCC_C1->AHB2LPENR, Periphs);
3981__STATIC_INLINE
void LL_C1_AHB4_GRP1_EnableClock(uint32_t Periphs)
3983 __IO uint32_t tmpreg;
3984 SET_BIT(RCC_C1->AHB4ENR, Periphs);
3986 tmpreg = READ_BIT(RCC_C1->AHB4ENR, Periphs);
4031__STATIC_INLINE uint32_t LL_C1_AHB4_GRP1_IsEnabledClock(uint32_t Periphs)
4033 return ((READ_BIT(RCC_C1->AHB4ENR, Periphs) == Periphs) ? 1U : 0U);
4077__STATIC_INLINE
void LL_C1_AHB4_GRP1_DisableClock(uint32_t Periphs)
4079 CLEAR_BIT(RCC_C1->AHB4ENR, Periphs);
4119__STATIC_INLINE
void LL_C1_AHB4_GRP1_EnableClockSleep(uint32_t Periphs)
4121 __IO uint32_t tmpreg;
4122 SET_BIT(RCC_C1->AHB4LPENR, Periphs);
4124 tmpreg = READ_BIT(RCC_C1->AHB4LPENR, Periphs);
4165__STATIC_INLINE
void LL_C1_AHB4_GRP1_DisableClockSleep(uint32_t Periphs)
4167 CLEAR_BIT(RCC_C1->AHB4LPENR, Periphs);
4191__STATIC_INLINE
void LL_C1_APB3_GRP1_EnableClock(uint32_t Periphs)
4193 __IO uint32_t tmpreg;
4194 SET_BIT(RCC_C1->APB3ENR, Periphs);
4196 tmpreg = READ_BIT(RCC_C1->APB3ENR, Periphs);
4213__STATIC_INLINE uint32_t LL_C1_APB3_GRP1_IsEnabledClock(uint32_t Periphs)
4215 return ((READ_BIT(RCC_C1->APB3ENR, Periphs) == Periphs) ? 1U : 0U);
4232__STATIC_INLINE
void LL_C1_APB3_GRP1_DisableClock(uint32_t Periphs)
4234 CLEAR_BIT(RCC_C1->APB3ENR, Periphs);
4250__STATIC_INLINE
void LL_C1_APB3_GRP1_EnableClockSleep(uint32_t Periphs)
4252 __IO uint32_t tmpreg;
4253 SET_BIT(RCC_C1->APB3LPENR, Periphs);
4255 tmpreg = READ_BIT(RCC_C1->APB3LPENR, Periphs);
4272__STATIC_INLINE
void LL_C1_APB3_GRP1_DisableClockSleep(uint32_t Periphs)
4274 CLEAR_BIT(RCC_C1->APB3LPENR, Periphs);
4342__STATIC_INLINE
void LL_C1_APB1_GRP1_EnableClock(uint32_t Periphs)
4344 __IO uint32_t tmpreg;
4345 SET_BIT(RCC_C1->APB1LENR, Periphs);
4347 tmpreg = READ_BIT(RCC_C1->APB1LENR, Periphs);
4408__STATIC_INLINE uint32_t LL_C1_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
4410 return ((READ_BIT(RCC_C1->APB1LENR, Periphs) == Periphs) ? 1U : 0U);
4470__STATIC_INLINE
void LL_C1_APB1_GRP1_DisableClock(uint32_t Periphs)
4472 CLEAR_BIT(RCC_C1->APB1LENR, Periphs);
4532__STATIC_INLINE
void LL_C1_APB1_GRP1_EnableClockSleep(uint32_t Periphs)
4534 __IO uint32_t tmpreg;
4535 SET_BIT(RCC_C1->APB1LLPENR, Periphs);
4537 tmpreg = READ_BIT(RCC_C1->APB1LLPENR, Periphs);
4598__STATIC_INLINE
void LL_C1_APB1_GRP1_DisableClockSleep(uint32_t Periphs)
4600 CLEAR_BIT(RCC_C1->APB1LLPENR, Periphs);
4622__STATIC_INLINE
void LL_C1_APB1_GRP2_EnableClock(uint32_t Periphs)
4624 __IO uint32_t tmpreg;
4625 SET_BIT(RCC_C1->APB1HENR, Periphs);
4627 tmpreg = READ_BIT(RCC_C1->APB1HENR, Periphs);
4650__STATIC_INLINE uint32_t LL_C1_APB1_GRP2_IsEnabledClock(uint32_t Periphs)
4652 return ((READ_BIT(RCC_C1->APB1HENR, Periphs) == Periphs) ? 1U : 0U);
4674__STATIC_INLINE
void LL_C1_APB1_GRP2_DisableClock(uint32_t Periphs)
4676 CLEAR_BIT(RCC_C1->APB1HENR, Periphs);
4698__STATIC_INLINE
void LL_C1_APB1_GRP2_EnableClockSleep(uint32_t Periphs)
4700 __IO uint32_t tmpreg;
4701 SET_BIT(RCC_C1->APB1HLPENR, Periphs);
4703 tmpreg = READ_BIT(RCC_C1->APB1HLPENR, Periphs);
4726__STATIC_INLINE
void LL_C1_APB1_GRP2_DisableClockSleep(uint32_t Periphs)
4728 CLEAR_BIT(RCC_C1->APB1HLPENR, Periphs);
4780__STATIC_INLINE
void LL_C1_APB2_GRP1_EnableClock(uint32_t Periphs)
4782 __IO uint32_t tmpreg;
4783 SET_BIT(RCC_C1->APB2ENR, Periphs);
4785 tmpreg = READ_BIT(RCC_C1->APB2ENR, Periphs);
4830__STATIC_INLINE uint32_t LL_C1_APB2_GRP1_IsEnabledClock(uint32_t Periphs)
4832 return ((READ_BIT(RCC_C1->APB2ENR, Periphs) == Periphs) ? 1U : 0U);
4876__STATIC_INLINE
void LL_C1_APB2_GRP1_DisableClock(uint32_t Periphs)
4878 CLEAR_BIT(RCC_C1->APB2ENR, Periphs);
4922__STATIC_INLINE
void LL_C1_APB2_GRP1_EnableClockSleep(uint32_t Periphs)
4924 __IO uint32_t tmpreg;
4925 SET_BIT(RCC_C1->APB2LPENR, Periphs);
4927 tmpreg = READ_BIT(RCC_C1->APB2LPENR, Periphs);
4972__STATIC_INLINE
void LL_C1_APB2_GRP1_DisableClockSleep(uint32_t Periphs)
4974 CLEAR_BIT(RCC_C1->APB2LPENR, Periphs);
5021__STATIC_INLINE
void LL_C1_APB4_GRP1_EnableClock(uint32_t Periphs)
5023 __IO uint32_t tmpreg;
5024 SET_BIT(RCC_C1->APB4ENR, Periphs);
5026 tmpreg = READ_BIT(RCC_C1->APB4ENR, Periphs);
5064__STATIC_INLINE uint32_t LL_C1_APB4_GRP1_IsEnabledClock(uint32_t Periphs)
5066 return ((READ_BIT(RCC_C1->APB4ENR, Periphs) == Periphs) ? 1U : 0U);
5104__STATIC_INLINE
void LL_C1_APB4_GRP1_DisableClock(uint32_t Periphs)
5106 CLEAR_BIT(RCC_C1->APB4ENR, Periphs);
5144__STATIC_INLINE
void LL_C1_APB4_GRP1_EnableClockSleep(uint32_t Periphs)
5146 __IO uint32_t tmpreg;
5147 SET_BIT(RCC_C1->APB4LPENR, Periphs);
5149 tmpreg = READ_BIT(RCC_C1->APB4LPENR, Periphs);
5188__STATIC_INLINE
void LL_C1_APB4_GRP1_DisableClockSleep(uint32_t Periphs)
5190 CLEAR_BIT(RCC_C1->APB4LPENR, Periphs);
5228__STATIC_INLINE
void LL_C2_AHB3_GRP1_EnableClock(uint32_t Periphs)
5230 __IO uint32_t tmpreg;
5231 SET_BIT(RCC_C2->AHB3ENR, Periphs);
5233 tmpreg = READ_BIT(RCC_C2->AHB3ENR, Periphs);
5264__STATIC_INLINE uint32_t LL_C2_AHB3_GRP1_IsEnabledClock(uint32_t Periphs)
5266 return ((READ_BIT(RCC_C2->AHB3ENR, Periphs) == Periphs) ? 1U : 0U);
5296__STATIC_INLINE
void LL_C2_AHB3_GRP1_DisableClock(uint32_t Periphs)
5298 CLEAR_BIT(RCC_C2->AHB3ENR, Periphs);
5327__STATIC_INLINE
void LL_C2_AHB3_GRP1_EnableClockSleep(uint32_t Periphs)
5329 __IO uint32_t tmpreg;
5330 SET_BIT(RCC_C2->AHB3LPENR, Periphs);
5332 tmpreg = READ_BIT(RCC_C2->AHB3LPENR, Periphs);
5362__STATIC_INLINE
void LL_C2_AHB3_GRP1_DisableClockSleep(uint32_t Periphs)
5364 CLEAR_BIT(RCC_C2->AHB3LPENR, Periphs);
5404__STATIC_INLINE
void LL_C2_AHB1_GRP1_EnableClock(uint32_t Periphs)
5406 __IO uint32_t tmpreg;
5407 SET_BIT(RCC_C2->AHB1ENR, Periphs);
5409 tmpreg = READ_BIT(RCC_C2->AHB1ENR, Periphs);
5442__STATIC_INLINE uint32_t LL_C2_AHB1_GRP1_IsEnabledClock(uint32_t Periphs)
5444 return ((READ_BIT(RCC_C2->AHB1ENR, Periphs) == Periphs) ? 1U : 0U);
5476__STATIC_INLINE
void LL_C2_AHB1_GRP1_DisableClock(uint32_t Periphs)
5478 CLEAR_BIT(RCC_C2->AHB1ENR, Periphs);
5510__STATIC_INLINE
void LL_C2_AHB1_GRP1_EnableClockSleep(uint32_t Periphs)
5512 __IO uint32_t tmpreg;
5513 SET_BIT(RCC_C2->AHB1LPENR, Periphs);
5515 tmpreg = READ_BIT(RCC_C2->AHB1LPENR, Periphs);
5548__STATIC_INLINE
void LL_C2_AHB1_GRP1_DisableClockSleep(uint32_t Periphs)
5550 CLEAR_BIT(RCC_C2->AHB1LPENR, Periphs);
5578__STATIC_INLINE
void LL_C2_AHB2_GRP1_EnableClock(uint32_t Periphs)
5580 __IO uint32_t tmpreg;
5581 SET_BIT(RCC_C2->AHB2ENR, Periphs);
5583 tmpreg = READ_BIT(RCC_C2->AHB2ENR, Periphs);
5604__STATIC_INLINE uint32_t LL_C2_AHB2_GRP1_IsEnabledClock(uint32_t Periphs)
5606 return ((READ_BIT(RCC_C2->AHB2ENR, Periphs) == Periphs) ? 1U : 0U);
5626__STATIC_INLINE
void LL_C2_AHB2_GRP1_DisableClock(uint32_t Periphs)
5628 CLEAR_BIT(RCC_C2->AHB2ENR, Periphs);
5654__STATIC_INLINE
void LL_C2_AHB2_GRP1_EnableClockSleep(uint32_t Periphs)
5656 __IO uint32_t tmpreg;
5657 SET_BIT(RCC_C2->AHB2LPENR, Periphs);
5659 tmpreg = READ_BIT(RCC_C2->AHB2LPENR, Periphs);
5686__STATIC_INLINE
void LL_C2_AHB2_GRP1_DisableClockSleep(uint32_t Periphs)
5688 CLEAR_BIT(RCC_C2->AHB2LPENR, Periphs);
5740__STATIC_INLINE
void LL_C2_AHB4_GRP1_EnableClock(uint32_t Periphs)
5742 __IO uint32_t tmpreg;
5743 SET_BIT(RCC_C2->AHB4ENR, Periphs);
5745 tmpreg = READ_BIT(RCC_C2->AHB4ENR, Periphs);
5790__STATIC_INLINE uint32_t LL_C2_AHB4_GRP1_IsEnabledClock(uint32_t Periphs)
5792 return ((READ_BIT(RCC_C2->AHB4ENR, Periphs) == Periphs) ? 1U : 0U);
5836__STATIC_INLINE
void LL_C2_AHB4_GRP1_DisableClock(uint32_t Periphs)
5838 CLEAR_BIT(RCC_C2->AHB4ENR, Periphs);
5878__STATIC_INLINE
void LL_C2_AHB4_GRP1_EnableClockSleep(uint32_t Periphs)
5880 __IO uint32_t tmpreg;
5881 SET_BIT(RCC_C2->AHB4LPENR, Periphs);
5883 tmpreg = READ_BIT(RCC_C2->AHB4LPENR, Periphs);
5924__STATIC_INLINE
void LL_C2_AHB4_GRP1_DisableClockSleep(uint32_t Periphs)
5926 CLEAR_BIT(RCC_C2->AHB4LPENR, Periphs);
5950__STATIC_INLINE
void LL_C2_APB3_GRP1_EnableClock(uint32_t Periphs)
5952 __IO uint32_t tmpreg;
5953 SET_BIT(RCC_C2->APB3ENR, Periphs);
5955 tmpreg = READ_BIT(RCC_C2->APB3ENR, Periphs);
5972__STATIC_INLINE uint32_t LL_C2_APB3_GRP1_IsEnabledClock(uint32_t Periphs)
5974 return ((READ_BIT(RCC_C2->APB3ENR, Periphs) == Periphs) ? 1U : 0U);
5990__STATIC_INLINE
void LL_C2_APB3_GRP1_DisableClock(uint32_t Periphs)
5992 CLEAR_BIT(RCC_C2->APB3ENR, Periphs);
6008__STATIC_INLINE
void LL_C2_APB3_GRP1_EnableClockSleep(uint32_t Periphs)
6010 __IO uint32_t tmpreg;
6011 SET_BIT(RCC_C2->APB3LPENR, Periphs);
6013 tmpreg = READ_BIT(RCC_C2->APB3LPENR, Periphs);
6030__STATIC_INLINE
void LL_C2_APB3_GRP1_DisableClockSleep(uint32_t Periphs)
6032 CLEAR_BIT(RCC_C2->APB3LPENR, Periphs);
6100__STATIC_INLINE
void LL_C2_APB1_GRP1_EnableClock(uint32_t Periphs)
6102 __IO uint32_t tmpreg;
6103 SET_BIT(RCC_C2->APB1LENR, Periphs);
6105 tmpreg = READ_BIT(RCC_C2->APB1LENR, Periphs);
6166__STATIC_INLINE uint32_t LL_C2_APB1_GRP1_IsEnabledClock(uint32_t Periphs)
6168 return ((READ_BIT(RCC_C2->APB1LENR, Periphs) == Periphs) ? 1U : 0U);
6228__STATIC_INLINE
void LL_C2_APB1_GRP1_DisableClock(uint32_t Periphs)
6230 CLEAR_BIT(RCC_C2->APB1LENR, Periphs);
6290__STATIC_INLINE
void LL_C2_APB1_GRP1_EnableClockSleep(uint32_t Periphs)
6292 __IO uint32_t tmpreg;
6293 SET_BIT(RCC_C2->APB1LLPENR, Periphs);
6295 tmpreg = READ_BIT(RCC_C2->APB1LLPENR, Periphs);
6356__STATIC_INLINE
void LL_C2_APB1_GRP1_DisableClockSleep(uint32_t Periphs)
6358 CLEAR_BIT(RCC_C2->APB1LLPENR, Periphs);
6380__STATIC_INLINE
void LL_C2_APB1_GRP2_EnableClock(uint32_t Periphs)
6382 __IO uint32_t tmpreg;
6383 SET_BIT(RCC_C2->APB1HENR, Periphs);
6385 tmpreg = READ_BIT(RCC_C2->APB1HENR, Periphs);
6408__STATIC_INLINE uint32_t LL_C2_APB1_GRP2_IsEnabledClock(uint32_t Periphs)
6410 return ((READ_BIT(RCC_C2->APB1HENR, Periphs) == Periphs) ? 1U : 0U);
6432__STATIC_INLINE
void LL_C2_APB1_GRP2_DisableClock(uint32_t Periphs)
6434 CLEAR_BIT(RCC_C2->APB1HENR, Periphs);
6456__STATIC_INLINE
void LL_C2_APB1_GRP2_EnableClockSleep(uint32_t Periphs)
6458 __IO uint32_t tmpreg;
6459 SET_BIT(RCC_C2->APB1HLPENR, Periphs);
6461 tmpreg = READ_BIT(RCC_C2->APB1HLPENR, Periphs);
6484__STATIC_INLINE
void LL_C2_APB1_GRP2_DisableClockSleep(uint32_t Periphs)
6486 CLEAR_BIT(RCC_C2->APB1HLPENR, Periphs);
6535__STATIC_INLINE
void LL_C2_APB2_GRP1_EnableClock(uint32_t Periphs)
6537 __IO uint32_t tmpreg;
6538 SET_BIT(RCC_C2->APB2ENR, Periphs);
6540 tmpreg = READ_BIT(RCC_C2->APB2ENR, Periphs);
6581__STATIC_INLINE uint32_t LL_C2_APB2_GRP1_IsEnabledClock(uint32_t Periphs)
6583 return ((READ_BIT(RCC_C2->APB2ENR, Periphs) == Periphs) ? 1U : 0U);
6623__STATIC_INLINE
void LL_C2_APB2_GRP1_DisableClock(uint32_t Periphs)
6625 CLEAR_BIT(RCC_C2->APB2ENR, Periphs);
6665__STATIC_INLINE
void LL_C2_APB2_GRP1_EnableClockSleep(uint32_t Periphs)
6667 __IO uint32_t tmpreg;
6668 SET_BIT(RCC_C2->APB2LPENR, Periphs);
6670 tmpreg = READ_BIT(RCC_C2->APB2LPENR, Periphs);
6711__STATIC_INLINE
void LL_C2_APB2_GRP1_DisableClockSleep(uint32_t Periphs)
6713 CLEAR_BIT(RCC_C2->APB2LPENR, Periphs);
6755__STATIC_INLINE
void LL_C2_APB4_GRP1_EnableClock(uint32_t Periphs)
6757 __IO uint32_t tmpreg;
6758 SET_BIT(RCC_C2->APB4ENR, Periphs);
6760 tmpreg = READ_BIT(RCC_C2->APB4ENR, Periphs);
6795__STATIC_INLINE uint32_t LL_C2_APB4_GRP1_IsEnabledClock(uint32_t Periphs)
6797 return ((READ_BIT(RCC_C2->APB4ENR, Periphs) == Periphs) ? 1U : 0U);
6831__STATIC_INLINE
void LL_C2_APB4_GRP1_DisableClock(uint32_t Periphs)
6833 CLEAR_BIT(RCC_C2->APB4ENR, Periphs);
6867__STATIC_INLINE
void LL_C2_APB4_GRP1_EnableClockSleep(uint32_t Periphs)
6869 __IO uint32_t tmpreg;
6870 SET_BIT(RCC_C2->APB4LPENR, Periphs);
6872 tmpreg = READ_BIT(RCC_C2->APB4LPENR, Periphs);
6907__STATIC_INLINE
void LL_C2_APB4_GRP1_DisableClockSleep(uint32_t Periphs)
6909 CLEAR_BIT(RCC_C2->APB4LPENR, Periphs);
#define __IO
Definition: core_cm4.h:239
CMSIS STM32H7xx Device Peripheral Access Layer Header File.