Go to the documentation of this file.
52 #ifndef __GR55XX_LL_CGC_H__
53 #define __GR55XX_LL_CGC_H__
62 #if defined(MCU_SUB) || defined(MCU_RET)
74 #define LL_CGC_WFI_SECU_HCLK MCU_SUB_WFI_SECU_HCLK
75 #define LL_CGC_WFI_SIM_HCLK MCU_SUB_WFI_SIM_HCLK
76 #define LL_CGC_WFI_HTB_HCLK MCU_SUB_WFI_HTB_HCLK
77 #define LL_CGC_WFI_PWM_HCLK MCU_SUB_WFI_PWM_HCLK
78 #define LL_CGC_WFI_ROM_HCLK MCU_SUB_WFI_ROM_HCLK
79 #define LL_CGC_WFI_SNSADC_HCLK MCU_SUB_WFI_SNSADC_HCLK
80 #define LL_CGC_WFI_GPIO_HCLK MCU_SUB_WFI_GPIO_HCLK
81 #define LL_CGC_WFI_BLE_BRG_HCLK MCU_SUB_WFI_BLE_BRG_HCLK
82 #define LL_CGC_WFI_APB_SUB_HCLK MCU_SUB_WFI_APB_SUB_HCLK
83 #define LL_CGC_WFI_SERIAL_HCLK MCU_SUB_WFI_SERIAL_HCLK
84 #define LL_CGC_WFI_ALL_HCLK0 ((uint32_t)0x000007FFU)
91 #define LL_CGC_WFI_AON_MCUSUB_HCLK MCU_SUB_WFI_AON_MCUSUB_HCLK
92 #define LL_CGC_WFI_XF_XQSPI_HCLK MCU_SUB_WFI_XF_XQSPI_HCLK
93 #define LL_CGC_WFI_SRAM_HCLK MCU_SUB_WFI_SRAM_HCLK
95 #define LL_CGC_WFI_ALL_HCLK1 ((uint32_t)0x00000007U)
101 #define LL_CGC_WFI_SECU_DIV4_PCLK MCU_SUB_WFI_SECU_DIV4_PCLK
102 #define LL_CGC_WFI_XQSPI_DIV4_PCLK MCU_SUB_WFI_XQSPI_DIV4_PCLK
104 #define LL_CGC_WFI_ALL_HCLK2 ((uint32_t)0x05000000U)
111 #define LL_CGC_FRC_SECU_HCLK MCU_SUB_FORCE_SECU_HCLK
112 #define LL_CGC_FRC_SIM_HCLK MCU_SUB_FORCE_SIM_HCLK
113 #define LL_CGC_FRC_HTB_HCLK MCU_SUB_FORCE_HTB_HCLK
114 #define LL_CGC_FRC_ROM_HCLK MCU_SUB_FORCE_ROM_HCLK
115 #define LL_CGC_FRC_SNSADC_HCLK MCU_SUB_FORCE_SNSADC_HCLK
116 #define LL_CGC_FRC_GPIO_HCLK MCU_SUB_FORCE_GPIO_HCLK
117 #define LL_CGC_FRC_BLE_BRG_HCLK MCU_SUB_FORCE_BLE_BRG_HCLK
118 #define LL_CGC_FRC_APB_SUB_HCLK MCU_SUB_FORCE_APB_SUB_HCLK
119 #define LL_CGC_FRC_SERIAL_HCLK MCU_SUB_FORCE_SERIAL_HCLK
120 #define LL_CGC_FRC_ALL_HCLK0 ((uint32_t)0x00000777U)
126 #define LL_CGC_FRC_AON_MCUSUB_HCLK MCU_SUB_FORCE_AON_MCUSUB_HCLK
127 #define LL_CGC_FRC_XF_XQSPI_HCLK MCU_SUB_FORCE_XF_XQSPI_HCLK
128 #define LL_CGC_FRC_SRAM_HCLK MCU_SUB_FORCE_SRAM_HCLK
130 #define LL_CGC_FRC_ALL_HCLK1 ((uint32_t)0x00070000U)
136 #define LL_CGC_FRC_UART0_PCLK MCU_SUB_FORCE_UART0_PCLK
137 #define LL_CGC_FRC_UART1_PCLK MCU_SUB_FORCE_UART1_PCLK
138 #define LL_CGC_FRC_UART2_PCLK MCU_SUB_FORCE_UART2_PCLK
139 #define LL_CGC_FRC_UART3_PCLK MCU_SUB_FORCE_UART3_PCLK
140 #define LL_CGC_FRC_UART4_PCLK MCU_SUB_FORCE_UART4_PCLK
141 #define LL_CGC_FRC_UART5_PCLK MCU_SUB_FORCE_UART5_PCLK
142 #define LL_CGC_FRC_I2C0_PCLK MCU_SUB_FORCE_I2C0_PCLK
143 #define LL_CGC_FRC_I2C1_PCLK MCU_SUB_FORCE_I2C1_PCLK
144 #define LL_CGC_FRC_I2C2_PCLK MCU_SUB_FORCE_I2C2_PCLK
145 #define LL_CGC_FRC_I2C3_PCLK MCU_SUB_FORCE_I2C3_PCLK
146 #define LL_CGC_FRC_I2C4_PCLK MCU_SUB_FORCE_I2C4_PCLK
147 #define LL_CGC_FRC_I2C5_PCLK MCU_SUB_FORCE_I2C5_PCLK
148 #define LL_CGC_FRC_QSPI0_PCLK MCU_SUB_FORCE_QSPI0_PCLK
149 #define LL_CGC_FRC_QSPI1_PCLK MCU_SUB_FORCE_QSPI1_PCLK
150 #define LL_CGC_FRC_QSPI2_PCLK MCU_SUB_FORCE_QSPI2_PCLK
151 #define LL_CGC_FRC_SPI_M_PCLK MCU_SUB_FORCE_SPI_M_PCLK
152 #define LL_CGC_FRC_SPI_S_PCLK MCU_SUB_FORCE_SPI_S_PCLK
153 #define LL_CGC_FRC_I2S_HCLK MCU_SUB_FORCE_I2S_PCLK
154 #define LL_CGC_FRC_I2S_S_PCLK MCU_SUB_FORCE_I2S_S_PCLK
155 #define LL_CGC_FRC_DSPI_PCLK MCU_SUB_FORCE_DSPI_PCLK
156 #define LL_CGC_FRC_PDM_PCLK MCU_SUB_FORCE_PDM_PCLK
157 #define LL_CGC_FRC_PWM_0_PCLK MCU_SUB_FORCE_PWM_0_PCLK
158 #define LL_CGC_FRC_PWM_1_PCLK MCU_SUB_FORCE_PWM_1_PCLK
159 #define LL_CGC_FRC_VTTBL_PCLK MCU_SUB_FORCE_VTTBL_PCLK
160 #define LL_CGC_FRC_SECU_DIV4_PCLK MCU_SUB_FORCE_SECU_DIV4_PCLK
161 #define LL_CGC_FRC_XQSPI_DIV4_PCLK MCU_SUB_FORCE_XQSPI_DIV4_PCLK
163 #define LL_CGC_FRC_SERIALS_HCLK2 ((uint32_t)0x705E0FFFUL)
164 #define LL_CGC_FRC_ALL_HCLK2 ((uint32_t)0xFF7FCFFFUL)
170 #define LL_CGC_MCU_PERIPH_CG_LP_EN_AHB2APB_EN MCU_SUB_PERIPH_CG_LP_AHB2APB_ASYNC_EN
171 #define LL_CGC_MCU_PERIPH_CG_LP_EN_AHB2APB_SYNC_EN MCU_SUB_PERIPH_CG_LP_AHB2APB_SYNC_EN
172 #define LL_CGC_MCU_PERIPH_CG_LP_EN_QSPIM_EN MCU_SUB_PERIPH_CG_LP_EN_QSPIM_EN
173 #define LL_CGC_MCU_PERIPH_CG_LP_EN_AHB_BUS_LP_EN MCU_SUB_PERIPH_CG_LP_EN_AHB_BUS_LP_EN
174 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_LP_SCLK_EN MCU_SUB_PERIPH_CG_LP_EN_I2C_LP_SCLK_EN
175 #define LL_CGC_MCU_PERIPH_CG_LP_EN_SPIS_LP_SCLK_EN MCU_SUB_PERIPH_CG_LP_EN_SPIS_LP_SCLK_EN
176 #define LL_CGC_MCU_PERIPH_CG_LP_EN_SPIM_LP_SCLK_EN MCU_SUB_PERIPH_CG_LP_EN_SPIM_LP_SCLK_EN
177 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2S_LP_EN MCU_SUB_PERIPH_CG_LP_EN_I2S_LP_EN
178 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_LP_PCLK_EN MCU_SUB_PERIPH_CG_LP_EN_UART_LP_PCLK_EN
179 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_LP_SCLK_EN MCU_SUB_PERIPH_CG_LP_EN_UART_LP_SCLK_EN
181 #define LL_CGC_MCU_PERIPH_CG_LP ((uint32_t)0x00000F3FUL)
188 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_0_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_UART0
189 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_1_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_UART1
190 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_2_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_UART2
191 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_3_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_UART3
192 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_4_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_UART4
193 #define LL_CGC_MCU_PERIPH_CG_LP_EN_UART_5_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_UART5
194 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2S_M_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2SM
195 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2S_S_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2SS
196 #define LL_CGC_MCU_PERIPH_CG_LP_EN_SPI_M_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_SPIM
197 #define LL_CGC_MCU_PERIPH_CG_LP_EN_SPI_S_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_SPIS
198 #define LL_CGC_MCU_PERIPH_CG_LP_EN_PWM_0_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_PWM0
199 #define LL_CGC_MCU_PERIPH_CG_LP_EN_PWM_1_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_PWM1
200 #define LL_CGC_MCU_PERIPH_CG_LP_EN_QSPIM_0_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_QSPIM0
201 #define LL_CGC_MCU_PERIPH_CG_LP_EN_QSPIM_1_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_QSPIM1
202 #define LL_CGC_MCU_PERIPH_CG_LP_EN_QSPIM_2_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_QSPIM2
203 #define LL_CGC_MCU_PERIPH_CG_LP_EN_DSPI_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_DSPI
204 #define LL_CGC_MCU_PERIPH_CG_LP_EN_PDM_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_PDM
205 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_0_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2C0
206 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_1_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2C1
207 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_2_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2C2
208 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_3_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2C3
209 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_4_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2C4
210 #define LL_CGC_MCU_PERIPH_CG_LP_EN_I2C_5_SLP_OFF MCU_SUB_PERIPH_CLK_SLP_OFF_I2C5
212 #define LL_CGC_MCU_PERIPH_SERIALS_SLP_OFF ((uint32_t)0x01FC3FFFUL)
213 #define LL_CGC_MCU_PERIPH_SERIALS_SLP_ALL ((uint32_t)0x03FFFF3FUL)
221 #define LL_CGC_MCU_FRC_AES_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_AES_HCLK_FORCE_OFF
222 #define LL_CGC_MCU_SLP_AES_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_AES_HCLK_SLP_OFF
223 #define LL_CGC_MCU_FRC_HMAC_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_HMAC_HCLK_FORCE_OFF
224 #define LL_CGC_MCU_SLP_HMAC_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_HMAC_HCLK_SLP_OFF
225 #define LL_CGC_MCU_FRC_PKC_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_PKC_HCLK_FORCE_OFF
226 #define LL_CGC_MCU_SLP_PKC_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_PKC_HCLK_SLP_OFF
227 #define LL_CGC_MCU_FRC_PRESENT_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_PRESENT_HCLK_FORCE_OFF
228 #define LL_CGC_MCU_SLP_PRESENT_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_PRESENT_HCLK_SLP_OFF
229 #define LL_CGC_MCU_FRC_RAMKEY_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_RAMKEY_HCLK_FORCE_OFF
230 #define LL_CGC_MCU_SLP_RAMKEY_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_RAMKEY_HCLK_SLP_OFF
231 #define LL_CGC_MCU_FRC_RNG_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_RNG_HCLK_FORCE_OFF
232 #define LL_CGC_MCU_SLP_RNG_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_RNG_HCLK_SLP_OFF
233 #define LL_CGC_MCU_FRC_EFUSE_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_EFUSE_HCLK_FORCE_OFF
234 #define LL_CGC_MCU_SLP_EFUSE_HCLK_OFF_EN MCU_SUB_SECU_CLK_CTRL_EFUSE_HCLK_SLP_OFF
236 #define LL_CGC_MCU_SECU_FRC_OFF_HCLK ((uint32_t)0x00001555U)
237 #define LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK ((uint32_t)0x00002AAAU)
239 #define LL_CGC_MCU_SECU_FRC_OFF_ALL (LL_CGC_MCU_SECU_FRC_OFF_HCLK |\
240 LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK)
242 #define LL_CGC_MCU_MISC_CLK_DEFAULT ((uint32_t)0x0000003BU)
244 #define LL_CGC_MCU_MISC_CLK ((uint32_t)0x0000003FU)
246 #define LL_CGC_MCU_MISC_DMA_CLK ((uint32_t)0x00000038U)
254 #define LL_CGC_MCU_SUBSYS_DEFAULT_WFI_CLK0 (LL_CGC_WFI_SECU_HCLK |\
255 LL_CGC_WFI_SIM_HCLK |\
256 LL_CGC_WFI_PWM_HCLK |\
257 LL_CGC_WFI_SNSADC_HCLK |\
258 LL_CGC_WFI_GPIO_HCLK |\
259 LL_CGC_WFI_BLE_BRG_HCLK |\
260 LL_CGC_WFI_SERIAL_HCLK)
262 #define LL_CGC_MCU_SUBSYS_DEFAULT_WFI_CLK1 (LL_CGC_WFI_AON_MCUSUB_HCLK |\
263 LL_CGC_WFI_XF_XQSPI_HCLK |\
264 LL_CGC_WFI_SRAM_HCLK)
267 #define LL_CGC_MCU_SUBSYS_DEFAULT_CLK (LL_CGC_FRC_SECU_HCLK |\
268 LL_CGC_FRC_SIM_HCLK |\
269 LL_CGC_FRC_SNSADC_HCLK |\
270 LL_CGC_FRC_SERIAL_HCLK)
272 #define LL_CGC_MCU_SUBSYS_DEFAULT_CLK1 (MCU_SUB_FORCE_SECU_DIV4_PCLK)
275 #define LL_CGC_MCU_PERIPH_CG_DEFAULT (LL_CGC_FRC_UART0_PCLK |\
276 LL_CGC_FRC_UART1_PCLK |\
277 LL_CGC_FRC_UART2_PCLK |\
278 LL_CGC_FRC_UART3_PCLK |\
279 LL_CGC_FRC_UART4_PCLK |\
280 LL_CGC_FRC_UART5_PCLK |\
281 LL_CGC_FRC_I2C0_PCLK |\
282 LL_CGC_FRC_I2C1_PCLK |\
283 LL_CGC_FRC_I2C2_PCLK |\
284 LL_CGC_FRC_I2C3_PCLK |\
285 LL_CGC_FRC_I2C4_PCLK |\
286 LL_CGC_FRC_I2C5_PCLK |\
287 LL_CGC_FRC_QSPI0_PCLK |\
288 LL_CGC_FRC_QSPI1_PCLK |\
289 LL_CGC_FRC_QSPI2_PCLK |\
290 LL_CGC_FRC_SPI_M_PCLK |\
291 LL_CGC_FRC_SPI_S_PCLK |\
292 LL_CGC_FRC_I2S_HCLK |\
293 LL_CGC_FRC_I2S_S_PCLK |\
294 LL_CGC_FRC_DSPI_PCLK |\
295 LL_CGC_FRC_PDM_PCLK |\
296 LL_CGC_FRC_PWM_0_PCLK |\
297 LL_CGC_FRC_PWM_1_PCLK)
299 #define LL_CGC_MCU_PERIPH_SLP_CG_DEFAULT (MCU_SUB_PERIPH_CLK_SLP_OFF_UART0 |\
300 MCU_SUB_PERIPH_CLK_SLP_OFF_UART1 |\
301 MCU_SUB_PERIPH_CLK_SLP_OFF_UART2 |\
302 MCU_SUB_PERIPH_CLK_SLP_OFF_UART3 |\
303 MCU_SUB_PERIPH_CLK_SLP_OFF_UART4 |\
304 MCU_SUB_PERIPH_CLK_SLP_OFF_UART5 |\
305 MCU_SUB_PERIPH_CLK_SLP_OFF_I2SM |\
306 MCU_SUB_PERIPH_CLK_SLP_OFF_I2SS |\
307 MCU_SUB_PERIPH_CLK_SLP_OFF_SPIM |\
308 MCU_SUB_PERIPH_CLK_SLP_OFF_SPIS |\
309 MCU_SUB_PERIPH_CLK_SLP_OFF_PWM0 |\
310 MCU_SUB_PERIPH_CLK_SLP_OFF_PWM1 |\
311 MCU_SUB_PERIPH_CLK_SLP_OFF_QSPIM0 |\
312 MCU_SUB_PERIPH_CLK_SLP_OFF_QSPIM1 |\
313 MCU_SUB_PERIPH_CLK_SLP_OFF_QSPIM2 |\
314 MCU_SUB_PERIPH_CLK_SLP_OFF_DSPI |\
315 MCU_SUB_PERIPH_CLK_SLP_OFF_PDM |\
316 MCU_SUB_PERIPH_CLK_SLP_OFF_I2C0 |\
317 MCU_SUB_PERIPH_CLK_SLP_OFF_I2C1 |\
318 MCU_SUB_PERIPH_CLK_SLP_OFF_I2C2 |\
319 MCU_SUB_PERIPH_CLK_SLP_OFF_I2C3 |\
320 MCU_SUB_PERIPH_CLK_SLP_OFF_I2C4 |\
321 MCU_SUB_PERIPH_CLK_SLP_OFF_I2C5)
323 #define CGC_CLOCK_ENABLE (1)
324 #define CGC_CLOCK_DISABLE (0)
326 #if defined(BIT_BAND_SUPPORT)
328 #define BIT_SEGMENT_VALUE BIT_ADDR
332 #define BIT_BAND(addr, bitnum) (((addr) & 0xF0000000) + 0x2000000 + (((addr) & 0xFFFFF) << 5) + ((bitnum) << 2))
333 #define MEMORY_ADDR(addr) (*((volatile uint32_t *)(addr)))
334 #define BIT_SEGMENT_VALUE(addr, bitnum) MEMORY_ADDR(BIT_BAND(addr, bitnum))
419 return READ_REG(MCU_RET->MCU_SUBSYS_CG_CTRL[0]);
632 return READ_REG(MCU_RET->MCU_SUBSYS_CG_CTRL[1]);
3229 WRITE_REG(MCU_RET->MCU_PERIPH_CG_LP_EN, clk_mask);
3256 return READ_REG(MCU_RET->MCU_PERIPH_CG_LP_EN);
__STATIC_INLINE void ll_cgc_enable_i2s_m_slp_wfi(void)
Enable turn I2S_M off during WFI/WFE.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_1(uint32_t clk_mask)
Some peripherals force turn off clock. (Include: AON_MCUSUB/XF_XQSPI/SRAM)
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_htb_hclk(void)
Indicate whether the clock for Hopping Table is forced to close.
__STATIC_INLINE void ll_cgc_enable_force_off_aes_hclk(void)
Enabling force to turn off the clock for AES.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart4_hclk(void)
Indicate whether the clock for UART4 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c4_hclk(void)
Indicate whether the clock for I2C4 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart5_hclk(void)
Indicate whether the clock for UART5 is forced to close.
__STATIC_INLINE void ll_cgc_enable_force_off_efuse_hclk(void)
Enabling force to turn off the clock for EFUSE.
__STATIC_INLINE void ll_cgc_disable_force_off_dspi_hclk(void)
Disabling force to turn off the clock for DSPI slave.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c5_hclk(void)
Indicate whether the clock for I2C5 is forced to close.
__STATIC_INLINE void ll_cgc_enable_force_off_rng_hclk(void)
Enabling force to turn off the clock for RNG.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_ramkey_hclk(void)
Indicate whether the clock for RAMKEY is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_pkc_hclk(void)
Indicate whether the PKC automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_gpio_hclk(void)
Disabling force to turn off the clock for GPIO.
__STATIC_INLINE void ll_cgc_disable_force_off_pkc_hclk(void)
Disabling force to turn off the clock for PKC.
__STATIC_INLINE void ll_cgc_disable_uart0_slp_wfi(void)
Disable turn UART0 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c3_hclk(void)
Enabling force to turn off the clock for I2C3.
__STATIC_INLINE void ll_cgc_disable_wfi_off_pwm_hclk(void)
Disable PWM automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c_sclk_low_power(void)
Indicate whether the i2c sclk low-power is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c1_hclk(void)
Indicate whether the clock for I2C1 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c0_hclk(void)
Indicate whether the clock for I2C0 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spi_m_slp_wfi(void)
Indicate whether turn SPI_M off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_efuse_hclk(void)
Disabling force to turn off the clock for EFUSE.
__STATIC_INLINE void ll_cgc_disable_i2c2_slp_wfi(void)
Disable turn I2C2 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart1_slp_wfi(void)
Indicate whether turn UART1 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_dma1_hclk(void)
Enable DMA1 turn off.
#define BIT_SEGMENT_VALUE
__STATIC_INLINE void ll_cgc_enable_wfi_off_serial_hclk(void)
Enable serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_ble_brg_hclk(void)
Disable BLE Bridge automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_pkc_hclk(void)
Disable PKC automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_snsadc_hclk(void)
Enable SNSADC automatic turn off clock during WFI.
#define LL_CGC_WFI_ALL_HCLK2
__STATIC_INLINE void ll_cgc_enable_uart3_slp_wfi(void)
Enable turn UART3 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_2(uint32_t clk_mask)
Some peripherals force turn off clock. (Include: UART0_HCLK/UART1_HCLK/UART2_HCLK/UART3_HCLK/UART4_HC...
__STATIC_INLINE void ll_cgc_disable_force_off_aes_hclk(void)
Disabling force to turn off the clock for AES.
__STATIC_INLINE void ll_cgc_enable_force_off_snsadc_hclk(void)
Enabling force to turn off the clock for SNSADC.
__STATIC_INLINE void ll_cgc_enable_wfi_off_secu_div4_hclk(void)
Enable security blocks automatic turn off div4 clock during WFI.
__STATIC_INLINE void ll_cgc_enable_wfi_off_pkc_hclk(void)
Enable PKC automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_i2c3_slp_wfi(void)
Disable turn I2C3 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_xf_xqspi_div4_pclk(void)
Enabling force to turn off the div4 clock for xf qspi blocks.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_pwm_hclk(void)
Indicate whether the PWM automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_ahb_bus_low_power(void)
Enable ahb bus low-power feature.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_efuse_hclk(void)
Indicate whether the clock for EFUSE is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c2_slp_wfi(void)
Indicate whether turn I2C2 off during WFI/WFE is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_hmac_hclk(void)
Indicate whether the clock for HMAC is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sram_hclk(void)
Indicate whether the SRAM automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_dma1_hclk(void)
Disable DMA1 turn off.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c2_hclk(void)
Indicate whether the clock for I2C2 is forced to close.
__STATIC_INLINE void ll_cgc_enable_i2c0_slp_wfi(void)
Enable turn I2C0 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_i2c_sclk_low_power(void)
Enable i2c sclk low-power feature.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xf_xqspi_div4_pclk(void)
Indicate whether the div4 clock for xf qspi blocks is forced to close.
__STATIC_INLINE void ll_cgc_enable_wfi_off_sim_hclk(void)
Enable SIM automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_usb_hclk(void)
Disable USB automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_enable_force_off_sim_hclk(void)
Enabling force to turn off the clock for SIM.
__STATIC_INLINE void ll_cgc_enable_pwm0_slp_wfi(void)
Enable turn pwm0 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_secu_hclk(void)
Disable security blocks(including AES, PKC, Present, HMAC) automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c3_hclk(void)
Disabling force to turn off the clock for I2C3.
__STATIC_INLINE void ll_cgc_disable_force_off_uart2_hclk(void)
Disabling force to turn off the clock for UART2.
__STATIC_INLINE void ll_cgc_disable_qspim_low_power(void)
Disable QSPIM low-power feature.
__STATIC_INLINE void ll_cgc_disable_pdm_slp_wfi(void)
Disable turn PDM off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_spi_s_slp_wfi(void)
Enable turn SPI_S off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_usb_hclk(void)
Indicate whether the USB automatic turn off clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pwm0_hclk(void)
Indicate whether the clock for PWM0 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_get_mcu_periph_low_power(void)
Return to clock blocks that has low power feature. (Include: UART/I2S/SPIM/SPIS/I2C/AHB BUS)
__STATIC_INLINE void ll_cgc_disable_force_off_snsadc_hclk(void)
Disabling force to turn off the clock for SNSADC.
__STATIC_INLINE void ll_cgc_enable_uart2_slp_wfi(void)
Enable turn UART2 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_aes_hclk(void)
Indicate whether the clock for AES is forced to close.
__STATIC_INLINE void ll_cgc_enable_wfi_off_sram_hclk(void)
Enable SRAM automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_ble_brg_hclk(void)
Indicate whether the clock for BLE Bridge is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_snsadc_hclk(void)
Indicate whether the SNSADC automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_set_mcu_periph_low_power(uint32_t clk_mask)
Some peripherals has low power feature. (Include: UART/I2S/SPIM/SPIS/I2C/AHB BUS)
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi1_hclk(void)
Indicate whether the clock for QSPI1 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_hmac_hclk(void)
Indicate whether the HMAC automatic turn off clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart3_hclk(void)
Indicate whether the clock for UART3 is forced to close.
__STATIC_INLINE void ll_cgc_enable_uart5_slp_wfi(void)
Enable turn UART5 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_ahb2apb_async_bus_low_power(void)
Indicate whether the ahb bus low-power is enabled.
__STATIC_INLINE void ll_cgc_enable_ahb2apb_sync_bus_low_power(void)
Enable AHB2APB bus low-power feature.
__STATIC_INLINE void ll_cgc_disable_ahb2apb_async_bus_low_power(void)
Disable ahb bus low-power feature.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_4(void)
Return to clock blocks that is turned off during WFI.(Include: AES/HMAC/PKC/RNG.etc)
__STATIC_INLINE void ll_cgc_disable_force_off_qspi1_hclk(void)
Disabling force to turn off the clock for QSPI1.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart_sclk_low_power(void)
Indicate whether the uart sclk low-power is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2s_low_power(void)
Indicate whether the i2s low-power is enabled.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_2(void)
Return to clock blocks that was forcibly closed.(Include: UART0_HCLK/UART1_HCLK/UART2_HCLK/UART3_HCLK...
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_xqspi_hclk(void)
Indicate whether the XQSPI automatic turn off clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_apb_sub_hclk(void)
Indicate whether the clock for APB Subsystem is forced to close.
__STATIC_INLINE void ll_cgc_disable_force_off_uart5_hclk(void)
Disabling force to turn off the clock for UART5.
__STATIC_INLINE void ll_cgc_enable_force_off_xqspi_sck(void)
Enable XQSPI SCK CLK turn off.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_vttbl_hclk(void)
Indicate whether the clock for VTTBL is forced to close.
__STATIC_INLINE void ll_cgc_enable_force_off_qspi2_hclk(void)
Enabling force to turn off the clock for QSPI2.
#define LL_CGC_FRC_ALL_HCLK0
__STATIC_INLINE void ll_cgc_disable_i2s_m_slp_wfi(void)
Disable turn I2S_M off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_aes_hclk(void)
Disable AES automatic turn off clock during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim1_slp_wfi(void)
Indicate whether turn QSPIM1 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c5_hclk(void)
Enabling force to turn off the clock for I2C5.
__STATIC_INLINE void ll_cgc_disable_force_off_uart0_hclk(void)
Disabling force to turn off the clock for UART0.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_1(uint32_t clk_mask)
Some peripherals automatic turn off clock during WFI. (Include: AON_MCUSUB/XF_XQSPI/SRAM)
__STATIC_INLINE void ll_cgc_enable_uart_sclk_low_power(void)
Enable uart sclk low-power feature.
__STATIC_INLINE void ll_cgc_enable_i2c3_slp_wfi(void)
Enable turn I2C3 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c0_hclk(void)
Enabling force to turn off the clock for I2C0.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_3(uint32_t clk_mask)
Some peripherals automatic turn off clock during WFI. (Include: UART/DSPI.I2C/QSPI....
__STATIC_INLINE void ll_cgc_enable_uart_pclk_low_power(void)
Enable uart pclk low-power feature.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_1(void)
Return to clock blocks that is turned off during WFI.(Include: AON_MCUSUB/XF_XQSPI/SRAM)
__STATIC_INLINE void ll_cgc_enable_force_off_pdm_hclk(void)
Enabling force to turn off the clock for PDM slave.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c0_slp_wfi(void)
Indicate whether turn I2C0 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_i2c_sclk_low_power(void)
Disable i2c sclk low-power feature.
__STATIC_INLINE void ll_cgc_enable_force_off_rom_hclk(void)
Enabling force to turn off the clock for ROM.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_0(uint32_t clk_mask)
Some peripherals force turn off clock. (Include: Security/SIM/HTB/PWM/ROM/SNSADC/GPIO/ DMA/BLE_BRG/AP...
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim_low_power(void)
Indicate whether the QSPIM low-power is enabled.
__STATIC_INLINE void ll_cgc_disable_spi_m_slp_wfi(void)
Disable turn SPI_M off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_spim_sclk_low_power(void)
Disable spim sclk low-power feature.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dma0_hclk(void)
Indicate whether the DMA0 automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_dma0_hclk(void)
Disable DMA0 turn off.
__STATIC_INLINE void ll_cgc_enable_qspim0_slp_wfi(void)
Enable turn QSPIM0 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_qspi2_hclk(void)
Disabling force to turn off the clock for QSPI2.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi2_hclk(void)
Indicate whether the clock for QSPI2 is forced to close.
__STATIC_INLINE void ll_cgc_disable_i2c4_slp_wfi(void)
Disable turn I2C4 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart_pclk_low_power(void)
Indicate whether the uart pclk low-power is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xqspi_hclk(void)
Indicate whether the clock for XQSPI is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pkc_hclk(void)
Indicate whether the clock for PKC is forced to close.
__STATIC_INLINE void ll_cgc_disable_force_off_serial_hclk(void)
Disabling force to turn off the clock for serial blocks(including I2C, UART, QSPI,...
__STATIC_INLINE void ll_cgc_enable_i2c4_slp_wfi(void)
Enable turn I2C4 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_gpio_hclk(void)
Indicate whether the GPIO automatic turn off clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_gpio_hclk(void)
Indicate whether the clock for GPIO is forced to close.
__STATIC_INLINE void ll_cgc_disable_i2c1_slp_wfi(void)
Disable turn I2C1 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_dma_hclk(void)
Indicate whether the DMA automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_wfi_off_present_hclk(void)
Enable PRESENT automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_ble_brg_hclk(void)
Disabling force to turn off the clock for BLE Bridge.
__STATIC_INLINE void ll_cgc_disable_force_off_rom_hclk(void)
Disabling force to turn off the clock for ROM.
__STATIC_INLINE void ll_cgc_disable_wfi_off_gpio_hclk(void)
Disable GPIO automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_uart4_slp_wfi(void)
Disable turn UART4 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_ble_brg_hclk(void)
Indicate whether the BLE Bridge automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c4_hclk(void)
Enabling force to turn off the clock for I2C4.
__STATIC_INLINE void ll_cgc_disable_force_off_i2s_m_hclk(void)
Disabling force to turn off the clock for I2S master.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_rng_hclk(void)
Indicate whether the clock for RNG is forced to close.
__STATIC_INLINE void ll_cgc_disable_wfi_off_htb_hclk(void)
Disable Hopping Table automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_2(void)
Return to clock blocks that is turned off during WFI.(Include: AON_MCUSUB/XF_XQSPI/SRAM)
__STATIC_INLINE void ll_cgc_enable_wfi_off_usb_hclk(void)
Enable USB automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_i2s_low_power(void)
Disable i2s low-power feature.
__STATIC_INLINE void ll_cgc_disable_wfi_off_sim_hclk(void)
Disable SIM automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_rng_hclk(void)
Disable RNG automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_pwm1_slp_wfi(void)
Disable turn pwm1 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pdm_hclk(void)
Indicate whether the clock for PDM is forced to close.
__STATIC_INLINE void ll_cgc_disable_force_off_apb_sub_hclk(void)
Disabling force to turn off the clock for APB Subsystem.
__STATIC_INLINE void ll_cgc_enable_wfi_off_efuse_hclk(void)
Enable EFUSE automatic turn off clock during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_rom_hclk(void)
Indicate whether the clock for ROM is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart2_hclk(void)
Indicate whether the clock for UART2 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2s_s_p_hclk(void)
Indicate whether the clock for I2S slave is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_ahb2apb_sync_bus_low_power(void)
Indicate whether the AHB2APB bus low-power is enabled.
__STATIC_INLINE void ll_cgc_enable_wfi_off_pwm_hclk(void)
Enable PWM automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c2_hclk(void)
Enabling force to turn off the clock for I2C2.
__STATIC_INLINE void ll_cgc_disable_force_off_pwm0_hclk(void)
Disabling force to turn off the clock for PWM0.
#define LL_CGC_MCU_SECU_FRC_OFF_HCLK
__STATIC_INLINE void ll_cgc_disable_force_off_xf_xqspi_div4_pclk(void)
Disabling force to turn off the div4 clock for xf qspi blocks.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sram_hclk(void)
Indicate whether the clock for SRAM is forced to close.
__STATIC_INLINE void ll_cgc_disable_force_off_rng_hclk(void)
Disabling force to turn off the clock for RNG.
__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_div4_hclk(void)
Disable XQSPI automatic turn off div4 clock during WFI.
__STATIC_INLINE void ll_cgc_enable_i2s_s_slp_wfi(void)
Enable turn I2S_S off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c4_hclk(void)
Disabling force to turn off the clock for I2C4.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pwm1_hclk(void)
Indicate whether the clock for PWM1 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_aon_mcusub_hclk(void)
Indicate whether the clock for AON_MUCSUB is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart3_slp_wfi(void)
Indicate whether turn UART3 off during WFI/WFE is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spis_sclk_low_power(void)
Indicate whether the spis sclk low-power is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_secu_hclk(void)
Indicate whether the clock for security blocks(including AES, PKC, Present, HMAC) is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dspi_hclk(void)
Indicate whether the clock for DSPI is forced to close.
__STATIC_INLINE uint32_t ll_cgc_get_slp_off_secu(void)
Return to security clock blocks that is turned off during WFI/WFE.(Include: AES/HMAC/PKC/PRESENT/RAMK...
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xqspi_sck(void)
Indicate whether the XQSPI SCK CLK automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_disable_wfi_off_aon_mcusub_hclk(void)
Disable AON_MUCSUB automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_rom_hclk(void)
Disable ROM automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_set_misc_clk(uint32_t clk_mask)
Some MISC_CLK blocks turn off clock. (Include: GPADC/XQSPI/DMA0/DMA1/DMA2)
__STATIC_INLINE void ll_cgc_disable_force_off_i2s_s_p_hclk(void)
Disabling force to turn off the clock for I2S slave.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sim_hclk(void)
Indicate whether the clock for SIM is forced to close.
#define LL_CGC_FRC_ALL_HCLK2
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_apb_sub_hclk(void)
Indicate whether the APB Subsystem automatic turn off clock is enabled.
#define LL_CGC_MCU_MISC_CLK
__STATIC_INLINE void ll_cgc_enable_force_off_secu_hclk(void)
Enabling force to turn off the clock for security blocks(including AES, PKC, Present,...
__STATIC_INLINE void ll_cgc_disable_ahb_bus_low_power(void)
Disable ahb bus low-power feature.
__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_hclk(void)
Disable XQSPI automatic turn off clock during WFI.
#define LL_CGC_WFI_ALL_HCLK0
__STATIC_INLINE void ll_cgc_disable_i2c5_slp_wfi(void)
Disable turn I2C5 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_uart1_hclk(void)
Disabling force to turn off the clock for UART1.
#define LL_CGC_WFI_ALL_HCLK1
__STATIC_INLINE void ll_cgc_enable_force_off_hmac_hclk(void)
Enabling force to turn off the clock for HMAC.
__STATIC_INLINE void ll_cgc_enable_pdm_slp_wfi(void)
Enable turn PDM off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_wfi_off_serial_hclk(void)
Disable serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_force_off_uart4_hclk(void)
Disabling force to turn off the clock for UART4.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_aes_hclk(void)
Indicate whether the AES automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_disable_wfi_off_hmac_hclk(void)
Disable HMAC automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_spis_hclk(void)
Disabling force to turn off the clock for SPIS.
__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_div4_hclk(void)
Enable XQSPI automatic turn off div4 clock during WFI.
__STATIC_INLINE void ll_cgc_disable_force_off_secu_div4_pclk(void)
Disabling force to turn off the div4 clock for security blocks.
__STATIC_INLINE void ll_cgc_disable_force_off_htb_hclk(void)
Disabling force to turn off the clock for Hopping Table.
__STATIC_INLINE void ll_cgc_enable_force_off_dma0_hclk(void)
Enable DMA0 turn off.
__STATIC_INLINE void ll_cgc_disable_qspim0_slp_wfi(void)
Disable turn QSPIM0 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_uart0_slp_wfi(void)
Enable turn UART0 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart2_slp_wfi(void)
Indicate whether turn UART2 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_sram_hclk(void)
Enabling force to turn off the clock for SRAM.
__STATIC_INLINE void ll_cgc_enable_force_off_usb_hclk(void)
Enabling force to turn off the clock for USB.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_3(void)
Return to clock blocks that is turned off.(Include: AES/HMAC/PKC/RNG.etc)
__STATIC_INLINE void ll_cgc_disable_qspim1_slp_wfi(void)
Disable turn QSPIM1 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spim_hclk(void)
Indicate whether the clock for SPIM is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_htb_hclk(void)
Indicate whether the Hopping Table automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_i2s_s_p_hclk(void)
Enabling force to turn off the clock for I2S slave.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_xqspi_div4_hclk(void)
Indicate whether the XQSPI automatic turn off div4 clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spi_s_slp_wfi(void)
Indicate whether turn SPI_S off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_pdm_hclk(void)
Disabling force to turn off the clock for PDM slave.
__STATIC_INLINE void ll_cgc_disable_uart1_slp_wfi(void)
Disable turn UART1 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_uart3_hclk(void)
Disabling force to turn off the clock for UART3.
__STATIC_INLINE void ll_cgc_enable_spim_sclk_low_power(void)
Enable spim sclk low-power feature.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim0_slp_wfi(void)
Indicate whether turn QSPIM0 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_secu_div4_pclk(void)
Enabling force to turn off the div4 clock for security blocks.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_ramkey_hclk(void)
Indicate whether the RAMKEY automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_vttbl_hclk(void)
Disabling force to turn off the clock for VTTBL.
__STATIC_INLINE void ll_cgc_disable_wfi_off_secu_div4_hclk(void)
Disable security blocks automatic turn off div4 clock during WFI.
__STATIC_INLINE void ll_cgc_enable_force_off_uart0_hclk(void)
Enabling force to turn off the clock for UART0.
__STATIC_INLINE void ll_cgc_disable_force_off_pwm1_hclk(void)
Disabling force to turn off the clock for PWM1.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_snsadc_hclk(void)
Indicate whether the clock for SNSADC is forced to close.
__STATIC_INLINE void ll_cgc_disable_wfi_off_apb_sub_hclk(void)
Disable APB Subsystem automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_enable_wfi_off_rom_hclk(void)
Enable ROM automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spis_hclk(void)
Indicate whether the clock for SPIS is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_serial_hclk(void)
Indicate whether the serial blocks(including I2C, UART, QSPI, I2S, SPI) automatic turn off clock is e...
__STATIC_INLINE uint32_t ll_cgc_is_enabled_pwm1_slp_wfi(void)
Indicate whether turn pwm1 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_qspi1_hclk(void)
Enabling force to turn off the clock for QSPI1.
__STATIC_INLINE void ll_cgc_enable_ahb2apb_async_bus_low_power(void)
Enable ahb bus low-power feature.
__STATIC_INLINE void ll_cgc_disable_wfi_off_snsadc_hclk(void)
Disable SNSADC automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_ramkey_hclk(void)
Disable RAMKEY automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_dspi_slp_wfi(void)
Enable turn DSPI off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_secu(void)
Return to clock blocks that was forcibly closed inside security system.(Include: AES/HMAC/PKC/PRESENT...
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_efuse_hclk(void)
Indicate whether the EFUSE automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_spim_hclk(void)
Enabling force to turn off the clock for SPIM.
__STATIC_INLINE void ll_cgc_enable_force_off_pwm0_hclk(void)
Enabling force to turn off the clock for PWM0.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c2_hclk(void)
Disabling force to turn off the clock for I2C2.
__STATIC_INLINE void ll_cgc_disable_wfi_off_present_hclk(void)
Disable PRESENT automatic turn off clock during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_1(void)
Return to clock blocks that was forcibly closed.(Include: AON_MCUSUB/XF_XQSPI/SRAM)
__STATIC_INLINE void ll_cgc_enable_wfi_off_aon_mcusub_hclk(void)
Enable AON_MUCSUB automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_enable_wfi_off_ramkey_hclk(void)
Enable RAMKEY automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_4(uint32_t clk_mask)
Some peripherals automatic turn off clock during WFI. (Include: AES/HMAC/PKC/RNG.etc)
__STATIC_INLINE void ll_cgc_enable_force_off_present_hclk(void)
Enabling force to turn off the clock for PRESENT.
__STATIC_INLINE void ll_cgc_enable_spi_m_slp_wfi(void)
Enable turn SPI_M off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_uart_sclk_low_power(void)
Disable uart sclk low-power feature.
#define CGC_CLOCK_DISABLE
__STATIC_INLINE void ll_cgc_enable_force_off_uart2_hclk(void)
Enabling force to turn off the clock for UART2.
__STATIC_INLINE void ll_cgc_disable_uart2_slp_wfi(void)
Disable turn UART2 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_i2c5_slp_wfi(void)
Enable turn I2C5 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_uart4_slp_wfi(void)
Enable turn UART4 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi0_hclk(void)
Indicate whether the clock for QSPI0 is forced to close.
__STATIC_INLINE void ll_cgc_enable_force_off_ramkey_hclk(void)
Enabling force to turn off the clock for RAMKEY.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_dspi_slp_wfi(void)
Indicate whether turn DSPI off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_pwm1_hclk(void)
Enabling force to turn off the clock for PWM1.
__STATIC_INLINE void ll_cgc_disable_force_off_xqspi_hclk(void)
Disabling force to turn off the clock for XQSPI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart0_slp_wfi(void)
Indicate whether turn UART0 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_qspim1_slp_wfi(void)
Enable turn QSPIM1 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_spis_hclk(void)
Enabling force to turn off the clock for SPIS.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c4_slp_wfi(void)
Indicate whether turn I2C4 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_i2c1_hclk(void)
Enabling force to turn off the clock for I2C1.
__STATIC_INLINE void ll_cgc_enable_force_off_uart3_hclk(void)
Enabling force to turn off the clock for UART3.
__STATIC_INLINE void ll_cgc_disable_uart_pclk_low_power(void)
Disable uart pclk low-power feature.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c0_hclk(void)
Disabling force to turn off the clock for I2C0.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_serial_hclk(void)
Indicate whether the clock for serial blocks(including I2C, UART, QSPI, I2S, SPI) is forced to close.
__STATIC_INLINE void ll_cgc_enable_force_off_xqspi_hclk(void)
Enabling force to turn off the clock for XQSPI.
__STATIC_INLINE void ll_cgc_enable_uart1_slp_wfi(void)
Enable turn UART1 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_present_hclk(void)
Indicate whether the clock for PRESENT is forced to close.
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_0(void)
Return to clock blocks that was forcibly closed.(Include: Security/SIM/HTB/ ROM/SNSADC/GPIO/DMA/BLE_B...
__STATIC_INLINE void ll_cgc_disable_force_off_aon_mcusub_hclk(void)
Disabling force to turn off the clock for AON_MUCSUB.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_secu_div4_pclk(void)
Indicate whether the div4 clock for security blocks is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dma2_hclk(void)
Indicate whether the DMA2 automatic turn off clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart5_slp_wfi(void)
Indicate whether turn UART5 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_ramkey_hclk(void)
Disabling force to turn off the clock for RAMKEY.
__STATIC_INLINE void ll_cgc_disable_force_off_sim_hclk(void)
Disabling force to turn off the clock for SIM.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_qspim2_slp_wfi(void)
Indicate whether turn QSPIM2 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_wfi_off_hmac_hclk(void)
Enable HMAC automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_apb_sub_hclk(void)
Enable APB Subsystem automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_uart3_slp_wfi(void)
Disable turn UART3 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c3_slp_wfi(void)
Indicate whether turn I2C3 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_spim_hclk(void)
Disabling force to turn off the clock for SPIM.
__STATIC_INLINE void ll_cgc_enable_force_off_uart1_hclk(void)
Enabling force to turn off the clock for UART1.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_usb_hclk(void)
Indicate whether the clock for USB is forced to close.
__STATIC_INLINE void ll_cgc_enable_i2s_low_power(void)
Enable i2s low-power feature.
__STATIC_INLINE void ll_cgc_enable_force_off_dma2_hclk(void)
Enable DMA2 turn off.
__STATIC_INLINE void ll_cgc_enable_wfi_off_aes_hclk(void)
Enable AES automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_qspim2_slp_wfi(void)
Disable turn QSPIM2 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_i2c2_slp_wfi(void)
Enable turn I2C2 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_gpio_hclk(void)
Enabling force to turn off the clock for GPIO.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_spim_sclk_low_power(void)
Indicate whether the spim sclk low-power is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_present_hclk(void)
Disabling force to turn off the clock for PRESENT.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c1_hclk(void)
Disabling force to turn off the clock for I2C1.
__STATIC_INLINE void ll_cgc_enable_wfi_off_dma_hclk(void)
Enable DMA automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_sram_hclk(void)
Disable SRAM automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_disable_wfi_off_dma_hclk(void)
Disable DMA automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dma1_hclk(void)
Indicate whether the DMA1 automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_set_slp_off_hclk_secu(uint32_t clk_mask)
Some security blocks automatic turn off clock during WFI/WFE. (Include: AES/HMAC/PKC/PRESENT/RAMKAY/R...
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_0(uint32_t clk_mask)
Some peripherals automatic turn off clock during WFI. (Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO...
__STATIC_INLINE void ll_cgc_enable_force_off_i2s_m_hclk(void)
Enabling force to turn off the clock for I2S master.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_uart4_slp_wfi(void)
Indicate whether turn UART4 off during WFI/WFE is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_ahb_bus_low_power(void)
Indicate whether the ahb bus low-power is enabled.
__STATIC_INLINE void ll_cgc_disable_force_off_sram_hclk(void)
Disabling force to turn off the clock for SRAM.
__STATIC_INLINE void ll_cgc_disable_force_off_hmac_hclk(void)
Disabling force to turn off the clock for HMAC.
__STATIC_INLINE void ll_cgc_enable_force_off_dspi_hclk(void)
Enabling force to turn off the clock for DSPI slave.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart0_hclk(void)
Indicate whether the clock for UART0 is forced to close.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_present_hclk(void)
Indicate whether the PRESENT automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_serial_hclk(void)
Enabling force to turn off the clock for serial blocks(including I2C, UART, QSPI, I2S,...
__STATIC_INLINE void ll_cgc_enable_force_off_aon_mcusub_hclk(void)
Enabling force to turn off the clock for AON_MUCSUB.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2s_s_slp_wfi(void)
Indicate whether turn I2S_S off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_wfi_off_gpio_hclk(void)
Enable GPIO automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2s_m_slp_wfi(void)
Indicate whether turn I2S_M off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_wfi_off_efuse_hclk(void)
Disable EFUSE automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_ble_brg_hclk(void)
Enable BLE Bridge automatic turn off clock during WFI.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_aon_mcusub_hclk(void)
Indicate whether the AON_MUCSUB automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_htb_hclk(void)
Enabling force to turn off the clock for Hopping Table.
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_3(void)
Return to clock blocks that is turned off during WFI.(Include: UART/DSPI.I2C/QSPI....
__STATIC_INLINE uint32_t ll_cgc_is_enabled_pdm_slp_wfi(void)
Indicate whether turn PDM off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_enable_i2c1_slp_wfi(void)
Enable turn I2C1 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_pkc_hclk(void)
Enabling force to turn off the clock for PKC.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c3_hclk(void)
Indicate whether the clock for I2C3 is forced to close.
__STATIC_INLINE void ll_cgc_disable_force_off_usb_hclk(void)
Disabling force to turn off the clock for USB.
__STATIC_INLINE void ll_cgc_enable_force_off_ble_brg_hclk(void)
Enabling force to turn off the clock for BLE Bridge.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_secu_hclk(void)
Indicate whether the security blocks(including AES, PKC, Present, HMAC) automatic turn off clock is e...
__STATIC_INLINE void ll_cgc_enable_qspim_low_power(void)
Enable QSPIM low-power feature.
__STATIC_INLINE void ll_cgc_enable_force_off_apb_sub_hclk(void)
Enabling force to turn off the clock for APB Subsystem.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sim_hclk(void)
Indicate whether the SIM automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_wfi_off_secu_hclk(void)
Enable security blocks(including AES, PKC, Present, HMAC) automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_enable_pwm1_slp_wfi(void)
Enable turn pwm1 off during WFI/WFE.
#define LL_CGC_MCU_SECU_FRC_OFF_WFI_HCLK
__STATIC_INLINE void ll_cgc_enable_force_off_uart4_hclk(void)
Enabling force to turn off the clock for UART4.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c5_slp_wfi(void)
Indicate whether turn I2C5 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_disable_spi_s_slp_wfi(void)
Disable turn SPI_S off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_i2s_s_slp_wfi(void)
Disable turn I2S_S off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_ahb2apb_sync_bus_low_power(void)
Disable AHB2APB bus low-power feature.
__STATIC_INLINE void ll_cgc_enable_spis_sclk_low_power(void)
Enable spis sclk low-power feature.
__STATIC_INLINE void ll_cgc_disable_force_off_qspi0_hclk(void)
Disabling force to turn off the clock for QSPI0.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_rom_hclk(void)
Indicate whether the ROM automatic turn off clock is enabled.
__STATIC_INLINE void ll_cgc_enable_force_off_vttbl_hclk(void)
Enabling force to turn off the clock for VTTBL.
__STATIC_INLINE void ll_cgc_enable_qspim2_slp_wfi(void)
Enable turn QSPIM2 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_wfi_off_rng_hclk(void)
Enable RNG automatic turn off clock during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_secu_hclk(void)
Disabling force to turn off the clock for security blocks(including AES, PKC, Present,...
__STATIC_INLINE void ll_cgc_disable_i2c0_slp_wfi(void)
Disable turn I2C0 off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2s_m_hclk(void)
Indicate whether the clock for I2S master is forced to close.
#define LL_CGC_FRC_ALL_HCLK1
__STATIC_INLINE void ll_cgc_set_force_off_hclk_secu(uint32_t clk_mask)
Individual block's clock control inside security system which was forced to turn off (Include: AES/HM...
__STATIC_INLINE uint32_t ll_cgc_is_enabled_pwm0_slp_wfi(void)
Indicate whether turn pwm0 off during WFI/WFE is enabled.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_secu_div4_hclk(void)
Indicate whether the security blocks automatic turn off div4 clock is enabled.
__STATIC_INLINE void ll_cgc_disable_spis_sclk_low_power(void)
Disable spis sclk low-power feature.
__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_hclk(void)
Enable XQSPI automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_set_force_off_hclk_3(uint32_t clk_mask)
Some peripherals automatic turn off clock. (Include: AES/HMAC/PKC/RNG.etc)
__STATIC_INLINE uint32_t ll_cgc_is_enabled_i2c1_slp_wfi(void)
Indicate whether turn I2C1 off during WFI/WFE is enabled.
__STATIC_INLINE void ll_cgc_set_wfi_off_hclk_2(uint32_t clk_mask)
Some peripherals automatic turn off clock during WFI. (Include: SECU_DIV4/XQSPI_DIV4)
__STATIC_INLINE void ll_cgc_disable_uart5_slp_wfi(void)
Disable turn UART5 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_enable_force_off_qspi0_hclk(void)
Enabling force to turn off the clock for QSPI0.
__STATIC_INLINE void ll_cgc_disable_force_off_xqspi_sck(void)
Disable XQSPI SCK CLK turn off.
__STATIC_INLINE void ll_cgc_enable_wfi_off_htb_hclk(void)
Enable Hopping Table automatic turn off clock during WFI.
__STATIC_INLINE void ll_cgc_enable_force_off_uart5_hclk(void)
Enabling force to turn off the clock for UART5.
__STATIC_INLINE void ll_cgc_disable_force_off_i2c5_hclk(void)
Disabling force to turn off the clock for I2C5.
__STATIC_INLINE void ll_cgc_disable_dspi_slp_wfi(void)
Disable turn DSPI off during WFI/WFE.
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_rng_hclk(void)
Indicate whether the RNG automatic turn off clock is enabled.
__STATIC_INLINE uint32_t ll_cgc_get_misc_clk(void)
Return to MISC_CLK clock blocks that is turned off.(Include: GPADC/XQSPI/DMA0/DMA1/DMA2)
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart1_hclk(void)
Indicate whether the clock for UART1 is forced to close.
__STATIC_INLINE void ll_cgc_disable_pwm0_slp_wfi(void)
Disable turn pwm0 off during WFI/WFE.
__STATIC_INLINE void ll_cgc_disable_force_off_dma2_hclk(void)
Disable DMA2 turn off.
#define LL_CGC_MCU_PERIPH_SERIALS_SLP_ALL
__STATIC_INLINE uint32_t ll_cgc_get_wfi_off_hclk_0(void)
Return to clock blocks that is turned off during WFI.(Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/...