Clock Configuration

Functions

__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/DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More...
 
__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/DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More...
 
__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) More...
 
__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) More...
 
__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) More...
 
__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) More...
 
__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/APB_SUB/SERIAL/I2S) More...
 
__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_0 (void)
 Return to clock blocks that was forcibly closed.(Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S) More...
 
__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) More...
 
__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) More...
 
__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/I2C0_HCLK/ I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK) More...
 
__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/I2C0_HCLK/ I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK) More...
 
__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. More...
 
__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. More...
 
__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 enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_sim_hclk (void)
 Enable SIM automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_sim_hclk (void)
 Disable SIM automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sim_hclk (void)
 Indicate whether the SIM automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_htb_hclk (void)
 Enable Hopping Table automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_htb_hclk (void)
 Disable Hopping Table automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_htb_hclk (void)
 Indicate whether the Hopping Table automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_pwm_hclk (void)
 Enable PWM automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_pwm_hclk (void)
 Disable PWM automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_pwm_hclk (void)
 Indicate whether the PWM automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_rom_hclk (void)
 Enable ROM automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_rom_hclk (void)
 Disable ROM automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_rom_hclk (void)
 Indicate whether the ROM automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_snsadc_hclk (void)
 Enable SNSADC automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_snsadc_hclk (void)
 Disable SNSADC automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_snsadc_hclk (void)
 Indicate whether the SNSADC automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_gpio_hclk (void)
 Enable GPIO automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_gpio_hclk (void)
 Disable GPIO automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_gpio_hclk (void)
 Indicate whether the GPIO automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_dma_hclk (void)
 Enable DMA automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_dma_hclk (void)
 Disable DMA automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_dma_hclk (void)
 Indicate whether the DMA automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_ble_brg_hclk (void)
 Enable BLE Bridge automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_ble_brg_hclk (void)
 Disable BLE Bridge automatic turn off clock during WFI. More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_apb_sub_hclk (void)
 Enable APB Subsystem automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_apb_sub_hclk (void)
 Disable APB Subsystem automatic turn off clock during WFI. More...
 
__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. More...
 
__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. More...
 
__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. More...
 
__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 enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_i2s_s_hclk (void)
 Enable I2S slave automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_i2s_s_hclk (void)
 Disable I2S slave automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_i2s_s_hclk (void)
 Indicate whether the I2S slave automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_aon_mcusub_hclk (void)
 Enable AON_MUCSUB automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_aon_mcusub_hclk (void)
 Disable AON_MUCSUB automatic turn off clock during WFI. More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_hclk (void)
 Enable XQSPI automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_hclk (void)
 Disable XQSPI automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_xqspi_hclk (void)
 Indicate whether the XQSPI automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_sram_hclk (void)
 Enable SRAM automatic turn off clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_sram_hclk (void)
 Disable SRAM automatic turn off clock during WFI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sram_hclk (void)
 Indicate whether the SRAM automatic turn off clock is enabled. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_secu_div4_hclk (void)
 Enable security blocks automatic turn off div4 clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_secu_div4_hclk (void)
 Disable security blocks automatic turn off div4 clock during WFI. More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_div4_hclk (void)
 Enable XQSPI automatic turn off div4 clock during WFI. More...
 
__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_div4_hclk (void)
 Disable XQSPI automatic turn off div4 clock during WFI. More...
 
__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. More...
 
__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, HMAC). More...
 
__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, HMAC). More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_sim_hclk (void)
 Enabling force to turn off the clock for SIM. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_sim_hclk (void)
 Disabling force to turn off the clock for SIM. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sim_hclk (void)
 Indicate whether the clock for SIM is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_htb_hclk (void)
 Enabling force to turn off the clock for Hopping Table. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_htb_hclk (void)
 Disabling force to turn off the clock for Hopping Table. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_htb_hclk (void)
 Indicate whether the clock for Hopping Table is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_pwm_hclk (void)
 Enabling force to turn off the clock for PWM. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_pwm_hclk (void)
 Disabling force to turn off the clock for PWM. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pwm_hclk (void)
 Indicate whether the clock for PWM is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_rom_hclk (void)
 Enabling force to turn off the clock for ROM. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_rom_hclk (void)
 Disabling force to turn off the clock for ROM. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_rom_hclk (void)
 Indicate whether the clock for ROM is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_snsadc_hclk (void)
 Enabling force to turn off the clock for SNSADC. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_snsadc_hclk (void)
 Disabling force to turn off the clock for SNSADC. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_snsadc_hclk (void)
 Indicate whether the clock for SNSADC is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_gpio_hclk (void)
 Enabling force to turn off the clock for GPIO. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_gpio_hclk (void)
 Disabling force to turn off the clock for GPIO. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_gpio_hclk (void)
 Indicate whether the clock for GPIO is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_dma_hclk (void)
 Enabling force to turn off the clock for DMA. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_dma_hclk (void)
 Disabling force to turn off the clock for DMA. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dma_hclk (void)
 Indicate whether the clock for DMA is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_ble_brg_hclk (void)
 Enabling force to turn off the clock for BLE Bridge. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_ble_brg_hclk (void)
 Disabling force to turn off the clock for BLE Bridge. More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_apb_sub_hclk (void)
 Enabling force to turn off the clock for APB Subsystem. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_apb_sub_hclk (void)
 Disabling force to turn off the clock for APB Subsystem. More...
 
__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. More...
 
__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, SPI). More...
 
__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, I2S, SPI). More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_i2s_s_hclk (void)
 Enabling force to turn off the clock for I2S slave. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_i2s_s_hclk (void)
 Disabling force to turn off the clock for I2S slave. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2s_s_hclk (void)
 Indicate whether the clock for I2S slave is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_aon_mcusub_hclk (void)
 Enabling force to turn off the clock for AON_MUCSUB. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_aon_mcusub_hclk (void)
 Disabling force to turn off the clock for AON_MUCSUB. More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_xqspi_hclk (void)
 Enabling force to turn off the clock for XQSPI. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_xqspi_hclk (void)
 Disabling force to turn off the clock for XQSPI. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xqspi_hclk (void)
 Indicate whether the clock for XQSPI is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_sram_hclk (void)
 Enabling force to turn off the clock for SRAM. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_sram_hclk (void)
 Disabling force to turn off the clock for SRAM. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sram_hclk (void)
 Indicate whether the clock for SRAM is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_uart0_hclk (void)
 Enabling force to turn off the clock for UART0. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_uart0_hclk (void)
 Disabling force to turn off the clock for UART0. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart0_hclk (void)
 Indicate whether the clock for UART0 is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_uart1_hclk (void)
 Enabling force to turn off the clock for UART1. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_uart1_hclk (void)
 Disabling force to turn off the clock for UART1. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart1_hclk (void)
 Indicate whether the clock for UART1 is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_i2c0_hclk (void)
 Enabling force to turn off the clock for I2C0. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_i2c0_hclk (void)
 Disabling force to turn off the clock for I2C0. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c0_hclk (void)
 Indicate whether the clock for I2C0 is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_i2c1_hclk (void)
 Enabling force to turn off the clock for I2C1. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_i2c1_hclk (void)
 Disabling force to turn off the clock for I2C1. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c1_hclk (void)
 Indicate whether the clock for I2C1 is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_spim_hclk (void)
 Enabling force to turn off the clock for SPIM. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_spim_hclk (void)
 Disabling force to turn off the clock for SPIM. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spim_hclk (void)
 Indicate whether the clock for SPIM is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_spis_hclk (void)
 Enabling force to turn off the clock for SPIS. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_spis_hclk (void)
 Disabling force to turn off the clock for SPIS. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spis_hclk (void)
 Indicate whether the clock for SPIS is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_qspi0_hclk (void)
 Enabling force to turn off the clock for QSPI0. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_qspi0_hclk (void)
 Disabling force to turn off the clock for QSPI0. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi0_hclk (void)
 Indicate whether the clock for QSPI0 is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_qspi1_hclk (void)
 Enabling force to turn off the clock for QSPI1. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_qspi1_hclk (void)
 Disabling force to turn off the clock for QSPI1. More...
 
__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi1_hclk (void)
 Indicate whether the clock for QSPI1 is forced to close. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_i2s_m_hclk (void)
 Enabling force to turn off the clock for I2S master. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_i2s_m_hclk (void)
 Disabling force to turn off the clock for I2S master. More...
 
__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. More...
 
__STATIC_INLINE void ll_cgc_enable_force_off_secu_div4_pclk (void)
 Enabling force to turn off the div4 clock for security blocks. More...
 
__STATIC_INLINE void ll_cgc_disable_force_off_secu_div4_pclk (void)
 Disabling force to turn off the div4 clock for security blocks. More...
 
__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. More...
 

Detailed Description

Function Documentation

◆ ll_cgc_disable_force_off_aon_mcusub_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_aon_mcusub_hclk ( void  )

Disabling force to turn off the clock for AON_MUCSUB.

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
Return values
None

◆ ll_cgc_disable_force_off_apb_sub_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_apb_sub_hclk ( void  )

Disabling force to turn off the clock for APB Subsystem.

Register BitsName
CG_CTRL_1 APB_SUB_HCLK
Return values
None

◆ ll_cgc_disable_force_off_ble_brg_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_ble_brg_hclk ( void  )

Disabling force to turn off the clock for BLE Bridge.

Register BitsName
CG_CTRL_1 BLE_BRG_HCLK
Return values
None

◆ ll_cgc_disable_force_off_dma_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_dma_hclk ( void  )

Disabling force to turn off the clock for DMA.

Register BitsName
CG_CTRL_1 DMA_HCLK
Return values
None

◆ ll_cgc_disable_force_off_gpio_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_gpio_hclk ( void  )

Disabling force to turn off the clock for GPIO.

Register BitsName
CG_CTRL_1 GPIO_HCLK
Return values
None

◆ ll_cgc_disable_force_off_htb_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_htb_hclk ( void  )

Disabling force to turn off the clock for Hopping Table.

Register BitsName
CG_CTRL_1 HTB_HCLK
Return values
None

◆ ll_cgc_disable_force_off_i2c0_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_i2c0_hclk ( void  )

Disabling force to turn off the clock for I2C0.

Register BitsName
PERIPH_GC I2C0_HCLK
Return values
None

◆ ll_cgc_disable_force_off_i2c1_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_i2c1_hclk ( void  )

Disabling force to turn off the clock for I2C1.

Register BitsName
PERIPH_GC I2C1_HCLK
Return values
None

◆ ll_cgc_disable_force_off_i2s_m_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_i2s_m_hclk ( void  )

Disabling force to turn off the clock for I2S master.

Register BitsName
PERIPH_GC I2S_HCLK
Return values
None

◆ ll_cgc_disable_force_off_i2s_s_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_i2s_s_hclk ( void  )

Disabling force to turn off the clock for I2S slave.

Register BitsName
CG_CTRL_1 I2S_S_HCLK
Return values
None

◆ ll_cgc_disable_force_off_pwm_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_pwm_hclk ( void  )

Disabling force to turn off the clock for PWM.

Register BitsName
CG_CTRL_1 PWM_HCLK
Return values
None

◆ ll_cgc_disable_force_off_qspi0_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_qspi0_hclk ( void  )

Disabling force to turn off the clock for QSPI0.

Register BitsName
PERIPH_GC QSPI0_HCLK
Return values
None

◆ ll_cgc_disable_force_off_qspi1_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_qspi1_hclk ( void  )

Disabling force to turn off the clock for QSPI1.

Register BitsName
PERIPH_GC QSPI1_HCLK
Return values
None

◆ ll_cgc_disable_force_off_rom_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_rom_hclk ( void  )

Disabling force to turn off the clock for ROM.

Register BitsName
CG_CTRL_1 ROM_HCLK
Return values
None

◆ ll_cgc_disable_force_off_secu_div4_pclk()

__STATIC_INLINE void ll_cgc_disable_force_off_secu_div4_pclk ( void  )

Disabling force to turn off the div4 clock for security blocks.

Register BitsName
PERIPH_GC I2S_HCLK
Return values
None

◆ ll_cgc_disable_force_off_secu_hclk()

__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, HMAC).

Register BitsName
CG_CTRL_1 SECU_HCLK
Return values
None

◆ ll_cgc_disable_force_off_serial_hclk()

__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, I2S, SPI).

Register BitsName
CG_CTRL_1 SERIAL_HCLK
Return values
None

◆ ll_cgc_disable_force_off_sim_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_sim_hclk ( void  )

Disabling force to turn off the clock for SIM.

Register BitsName
CG_CTRL_1 SIM_HCLK
Return values
None

◆ ll_cgc_disable_force_off_snsadc_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_snsadc_hclk ( void  )

Disabling force to turn off the clock for SNSADC.

Register BitsName
CG_CTRL_1 SNSADC_HCLK
Return values
None

◆ ll_cgc_disable_force_off_spim_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_spim_hclk ( void  )

Disabling force to turn off the clock for SPIM.

Register BitsName
PERIPH_GC SPIM_HCLK
Return values
None

◆ ll_cgc_disable_force_off_spis_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_spis_hclk ( void  )

Disabling force to turn off the clock for SPIS.

Register BitsName
PERIPH_GC SPIS_HCLK
Return values
None

◆ ll_cgc_disable_force_off_sram_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_sram_hclk ( void  )

Disabling force to turn off the clock for SRAM.

Register BitsName
CG_CTRL_2 SRAM_HCLK
Return values
None

◆ ll_cgc_disable_force_off_uart0_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_uart0_hclk ( void  )

Disabling force to turn off the clock for UART0.

Register BitsName
PERIPH_GC UART0_HCLK
Return values
None

◆ ll_cgc_disable_force_off_uart1_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_uart1_hclk ( void  )

Disabling force to turn off the clock for UART1.

Register BitsName
PERIPH_GC UART1_HCLK
Return values
None

◆ ll_cgc_disable_force_off_xqspi_hclk()

__STATIC_INLINE void ll_cgc_disable_force_off_xqspi_hclk ( void  )

Disabling force to turn off the clock for XQSPI.

Register BitsName
CG_CTRL_2 XF_XQSPI_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_aon_mcusub_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_aon_mcusub_hclk ( void  )

Disable AON_MUCSUB automatic turn off clock during WFI.

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_apb_sub_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_apb_sub_hclk ( void  )

Disable APB Subsystem automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 APB_SUB_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_ble_brg_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_ble_brg_hclk ( void  )

Disable BLE Bridge automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 BLE_BRG_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_dma_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_dma_hclk ( void  )

Disable DMA automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 DMA_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_gpio_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_gpio_hclk ( void  )

Disable GPIO automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 GPIO_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_htb_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_htb_hclk ( void  )

Disable Hopping Table automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 HTB_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_i2s_s_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_i2s_s_hclk ( void  )

Disable I2S slave automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 I2S_S_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_pwm_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_pwm_hclk ( void  )

Disable PWM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 PWM_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_rom_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_rom_hclk ( void  )

Disable ROM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 ROM_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_secu_div4_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_secu_div4_hclk ( void  )

Disable security blocks automatic turn off div4 clock during WFI.

Register BitsName
PERIPH_GC SECU_DIV4_PCLK
Return values
None

◆ ll_cgc_disable_wfi_off_secu_hclk()

__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.

Register BitsName
CG_CTRL_0 SECU_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_serial_hclk()

__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.

Register BitsName
CG_CTRL_0 SERIAL_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_sim_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_sim_hclk ( void  )

Disable SIM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 SIM_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_snsadc_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_snsadc_hclk ( void  )

Disable SNSADC automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 SNSADC_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_sram_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_sram_hclk ( void  )

Disable SRAM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_2 SRAM_HCLK
Return values
None

◆ ll_cgc_disable_wfi_off_xqspi_div4_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_div4_hclk ( void  )

Disable XQSPI automatic turn off div4 clock during WFI.

Register BitsName
PERIPH_GC XQSPI_DIV4_PCLK
Return values
None

◆ ll_cgc_disable_wfi_off_xqspi_hclk()

__STATIC_INLINE void ll_cgc_disable_wfi_off_xqspi_hclk ( void  )

Disable XQSPI automatic turn off clock during WFI.

Register BitsName
CG_CTRL_2 XF_XQSPI_HCLK
Return values
None

◆ ll_cgc_enable_force_off_aon_mcusub_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_aon_mcusub_hclk ( void  )

Enabling force to turn off the clock for AON_MUCSUB.

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
Return values
None

◆ ll_cgc_enable_force_off_apb_sub_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_apb_sub_hclk ( void  )

Enabling force to turn off the clock for APB Subsystem.

Register BitsName
CG_CTRL_1 APB_SUB_HCLK
Return values
None

◆ ll_cgc_enable_force_off_ble_brg_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_ble_brg_hclk ( void  )

Enabling force to turn off the clock for BLE Bridge.

Register BitsName
CG_CTRL_1 BLE_BRG_HCLK
Return values
None

◆ ll_cgc_enable_force_off_dma_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_dma_hclk ( void  )

Enabling force to turn off the clock for DMA.

Register BitsName
CG_CTRL_1 DMA_HCLK
Return values
None

◆ ll_cgc_enable_force_off_gpio_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_gpio_hclk ( void  )

Enabling force to turn off the clock for GPIO.

Register BitsName
CG_CTRL_1 GPIO_HCLK
Return values
None

◆ ll_cgc_enable_force_off_htb_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_htb_hclk ( void  )

Enabling force to turn off the clock for Hopping Table.

Register BitsName
CG_CTRL_1 HTB_HCLK
Return values
None

◆ ll_cgc_enable_force_off_i2c0_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_i2c0_hclk ( void  )

Enabling force to turn off the clock for I2C0.

Register BitsName
PERIPH_GC I2C0_HCLK
Return values
None

◆ ll_cgc_enable_force_off_i2c1_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_i2c1_hclk ( void  )

Enabling force to turn off the clock for I2C1.

Register BitsName
PERIPH_GC I2C1_HCLK
Return values
None

◆ ll_cgc_enable_force_off_i2s_m_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_i2s_m_hclk ( void  )

Enabling force to turn off the clock for I2S master.

Register BitsName
PERIPH_GC I2S_HCLK
Return values
None

◆ ll_cgc_enable_force_off_i2s_s_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_i2s_s_hclk ( void  )

Enabling force to turn off the clock for I2S slave.

Register BitsName
CG_CTRL_1 I2S_S_HCLK
Return values
None

◆ ll_cgc_enable_force_off_pwm_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_pwm_hclk ( void  )

Enabling force to turn off the clock for PWM.

Register BitsName
CG_CTRL_1 PWM_HCLK
Return values
None

◆ ll_cgc_enable_force_off_qspi0_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_qspi0_hclk ( void  )

Enabling force to turn off the clock for QSPI0.

Register BitsName
PERIPH_GC QSPI0_HCLK
Return values
None

◆ ll_cgc_enable_force_off_qspi1_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_qspi1_hclk ( void  )

Enabling force to turn off the clock for QSPI1.

Register BitsName
PERIPH_GC QSPI1_HCLK
Return values
None

◆ ll_cgc_enable_force_off_rom_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_rom_hclk ( void  )

Enabling force to turn off the clock for ROM.

Register BitsName
CG_CTRL_1 ROM_HCLK
Return values
None

◆ ll_cgc_enable_force_off_secu_div4_pclk()

__STATIC_INLINE void ll_cgc_enable_force_off_secu_div4_pclk ( void  )

Enabling force to turn off the div4 clock for security blocks.

Register BitsName
PERIPH_GC I2S_HCLK
Return values
None

◆ ll_cgc_enable_force_off_secu_hclk()

__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, HMAC).

Register BitsName
CG_CTRL_1 SECU_HCLK
Return values
None

◆ ll_cgc_enable_force_off_serial_hclk()

__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, SPI).

Register BitsName
CG_CTRL_1 SERIAL_HCLK
Return values
None

◆ ll_cgc_enable_force_off_sim_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_sim_hclk ( void  )

Enabling force to turn off the clock for SIM.

Register BitsName
CG_CTRL_1 SIM_HCLK
Return values
None

◆ ll_cgc_enable_force_off_snsadc_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_snsadc_hclk ( void  )

Enabling force to turn off the clock for SNSADC.

Register BitsName
CG_CTRL_1 SNSADC_HCLK
Return values
None

◆ ll_cgc_enable_force_off_spim_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_spim_hclk ( void  )

Enabling force to turn off the clock for SPIM.

Register BitsName
PERIPH_GC SPIM_HCLK
Return values
None

◆ ll_cgc_enable_force_off_spis_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_spis_hclk ( void  )

Enabling force to turn off the clock for SPIS.

Register BitsName
PERIPH_GC SPIS_HCLK
Return values
None

◆ ll_cgc_enable_force_off_sram_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_sram_hclk ( void  )

Enabling force to turn off the clock for SRAM.

Register BitsName
CG_CTRL_2 SRAM_HCLK
Return values
None

◆ ll_cgc_enable_force_off_uart0_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_uart0_hclk ( void  )

Enabling force to turn off the clock for UART0.

Register BitsName
PERIPH_GC UART0_HCLK
Return values
None

◆ ll_cgc_enable_force_off_uart1_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_uart1_hclk ( void  )

Enabling force to turn off the clock for UART1.

Register BitsName
PERIPH_GC UART1_HCLK
Return values
None

◆ ll_cgc_enable_force_off_xqspi_hclk()

__STATIC_INLINE void ll_cgc_enable_force_off_xqspi_hclk ( void  )

Enabling force to turn off the clock for XQSPI.

Register BitsName
CG_CTRL_2 XF_XQSPI_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_aon_mcusub_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_aon_mcusub_hclk ( void  )

Enable AON_MUCSUB automatic turn off clock during WFI.

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_apb_sub_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_apb_sub_hclk ( void  )

Enable APB Subsystem automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 APB_SUB_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_ble_brg_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_ble_brg_hclk ( void  )

Enable BLE Bridge automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 BLE_BRG_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_dma_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_dma_hclk ( void  )

Enable DMA automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 DMA_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_gpio_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_gpio_hclk ( void  )

Enable GPIO automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 GPIO_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_htb_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_htb_hclk ( void  )

Enable Hopping Table automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 HTB_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_i2s_s_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_i2s_s_hclk ( void  )

Enable I2S slave automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 I2S_S_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_pwm_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_pwm_hclk ( void  )

Enable PWM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 PWM_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_rom_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_rom_hclk ( void  )

Enable ROM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 ROM_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_secu_div4_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_secu_div4_hclk ( void  )

Enable security blocks automatic turn off div4 clock during WFI.

Register BitsName
PERIPH_GC SECU_DIV4_PCLK
Return values
None

◆ ll_cgc_enable_wfi_off_secu_hclk()

__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.

Register BitsName
CG_CTRL_0 SECU_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_serial_hclk()

__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.

Register BitsName
CG_CTRL_0 SERIAL_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_sim_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_sim_hclk ( void  )

Enable SIM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 SIM_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_snsadc_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_snsadc_hclk ( void  )

Enable SNSADC automatic turn off clock during WFI.

Register BitsName
CG_CTRL_0 SNSADC_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_sram_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_sram_hclk ( void  )

Enable SRAM automatic turn off clock during WFI.

Register BitsName
CG_CTRL_2 SRAM_HCLK
Return values
None

◆ ll_cgc_enable_wfi_off_xqspi_div4_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_div4_hclk ( void  )

Enable XQSPI automatic turn off div4 clock during WFI.

Register BitsName
PERIPH_GC XQSPI_DIV4_PCLK
Return values
None

◆ ll_cgc_enable_wfi_off_xqspi_hclk()

__STATIC_INLINE void ll_cgc_enable_wfi_off_xqspi_hclk ( void  )

Enable XQSPI automatic turn off clock during WFI.

Register BitsName
CG_CTRL_2 XF_XQSPI_HCLK
Return values
None

◆ ll_cgc_get_force_off_hclk_0()

__STATIC_INLINE uint32_t ll_cgc_get_force_off_hclk_0 ( void  )

Return to clock blocks that was forcibly closed.(Include: Security/SIM/HTB/PWM/ ROM/SNSADC/GPIO/DMA/BLE_BRG/APB_SUB/SERIAL/I2S)

Register BitsName
CG_CTRL_1 SECU_HCLK
CG_CTRL_1 SIM_HCLK
CG_CTRL_1 HTB_HCLK
CG_CTRL_1 PWM_HCLK
CG_CTRL_1 ROM_HCLK
CG_CTRL_1 SNSADC_HCLK
CG_CTRL_1 GPIO_HCLK
CG_CTRL_1 DMA_HCLK
CG_CTRL_1 BLE_BRG_HCLK
CG_CTRL_1 APB_SUB_HCLK
CG_CTRL_1 SERIAL_HCLK
CG_CTRL_1 I2S_S_HCLK
Return values
Returnedvalue can be a combination of the following values:

◆ ll_cgc_get_force_off_hclk_1()

__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)

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
CG_CTRL_2 XF_XQSPI_HCLK
CG_CTRL_2 SRAM_HCLK
Return values
Returnedvalue can be a combination of the following values:

◆ ll_cgc_get_force_off_hclk_2()

__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/I2C0_HCLK/ I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK)

Register BitsName
PERIPH_GC UART0_HCLK
PERIPH_GC UART1_HCLK
PERIPH_GC I2C0_HCLK
PERIPH_GC I2C1_HCLK
PERIPH_GC SPIM_HCLK
PERIPH_GC SPIS_HCLK
PERIPH_GC QSPI0_HCLK
PERIPH_GC QSPI1_HCLK
PERIPH_GC I2S_HCLK
PERIPH_GC SECU_DIV4_PCLK
PERIPH_GC XQSPI_DIV4_PCLK
Return values
Returnedvalue can be a combination of the following values:

◆ ll_cgc_get_wfi_off_hclk_0()

__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/DMA/BLE_BRG/APB_SUB/SERIAL/I2S)

Register BitsName
CG_CTRL_0 SECU_HCLK
CG_CTRL_0 SIM_HCLK
CG_CTRL_0 HTB_HCLK
CG_CTRL_0 PWM_HCLK
CG_CTRL_0 ROM_HCLK
CG_CTRL_0 SNSADC_HCLK
CG_CTRL_0 GPIO_HCLK
CG_CTRL_0 DMA_HCLK
CG_CTRL_0 BLE_BRG_HCLK
CG_CTRL_0 APB_SUB_HCLK
CG_CTRL_0 SERIAL_HCLK
CG_CTRL_0 I2S_S_HCLK
Return values
Returnedvalue can be a combination of the following values:

◆ ll_cgc_get_wfi_off_hclk_1()

__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)

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
CG_CTRL_2 XF_XQSPI_HCLK
CG_CTRL_2 SRAM_HCLK
Return values
Returnedvalue can be a combination of the following values:

◆ ll_cgc_get_wfi_off_hclk_2()

__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)

Register BitsName
PERIPH_GC SECU_DIV4_PCLK
PERIPH_GC XQSPI_DIV4_PCLK
Return values
Returnedvalue can be a combination of the following values:

◆ ll_cgc_is_enabled_force_off_aon_mcusub_hclk()

__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.

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_apb_sub_hclk()

__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.

Register BitsName
CG_CTRL_1 APB_SUB_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_ble_brg_hclk()

__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.

Register BitsName
CG_CTRL_1 BLE_BRG_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_dma_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_dma_hclk ( void  )

Indicate whether the clock for DMA is forced to close.

Register BitsName
CG_CTRL_1 DMA_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_gpio_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_gpio_hclk ( void  )

Indicate whether the clock for GPIO is forced to close.

Register BitsName
CG_CTRL_1 GPIO_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_htb_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_htb_hclk ( void  )

Indicate whether the clock for Hopping Table is forced to close.

Register BitsName
CG_CTRL_1 HTB_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_i2c0_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c0_hclk ( void  )

Indicate whether the clock for I2C0 is forced to close.

Register BitsName
PERIPH_GC I2C0_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_i2c1_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2c1_hclk ( void  )

Indicate whether the clock for I2C1 is forced to close.

Register BitsName
PERIPH_GC I2C1_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_i2s_m_hclk()

__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.

Register BitsName
PERIPH_GC I2S_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_i2s_s_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_i2s_s_hclk ( void  )

Indicate whether the clock for I2S slave is forced to close.

Register BitsName
CG_CTRL_1 I2S_S_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_pwm_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_pwm_hclk ( void  )

Indicate whether the clock for PWM is forced to close.

Register BitsName
CG_CTRL_1 PWM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_qspi0_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi0_hclk ( void  )

Indicate whether the clock for QSPI0 is forced to close.

Register BitsName
PERIPH_GC QSPI0_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_qspi1_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_qspi1_hclk ( void  )

Indicate whether the clock for QSPI1 is forced to close.

Register BitsName
PERIPH_GC QSPI1_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_rom_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_rom_hclk ( void  )

Indicate whether the clock for ROM is forced to close.

Register BitsName
CG_CTRL_1 ROM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_secu_div4_pclk()

__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.

Register BitsName
PERIPH_GC I2S_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_secu_hclk()

__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.

Register BitsName
CG_CTRL_1 SECU_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_serial_hclk()

__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.

Register BitsName
CG_CTRL_1 SERIAL_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_sim_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sim_hclk ( void  )

Indicate whether the clock for SIM is forced to close.

Register BitsName
CG_CTRL_1 SIM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_snsadc_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_snsadc_hclk ( void  )

Indicate whether the clock for SNSADC is forced to close.

Register BitsName
CG_CTRL_1 SNSADC_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_spim_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spim_hclk ( void  )

Indicate whether the clock for SPIM is forced to close.

Register BitsName
PERIPH_GC SPIM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_spis_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_spis_hclk ( void  )

Indicate whether the clock for SPIS is forced to close.

Register BitsName
PERIPH_GC SPIS_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_sram_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_sram_hclk ( void  )

Indicate whether the clock for SRAM is forced to close.

Register BitsName
CG_CTRL_2 SRAM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_uart0_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart0_hclk ( void  )

Indicate whether the clock for UART0 is forced to close.

Register BitsName
PERIPH_GC UART0_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_uart1_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_uart1_hclk ( void  )

Indicate whether the clock for UART1 is forced to close.

Register BitsName
PERIPH_GC UART1_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_force_off_xqspi_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_force_off_xqspi_hclk ( void  )

Indicate whether the clock for XQSPI is forced to close.

Register BitsName
CG_CTRL_2 XF_XQSPI_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_aon_mcusub_hclk()

__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.

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_apb_sub_hclk()

__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.

Register BitsName
CG_CTRL_0 APB_SUB_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_ble_brg_hclk()

__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.

Register BitsName
CG_CTRL_0 BLE_BRG_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_dma_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_dma_hclk ( void  )

Indicate whether the DMA automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 DMA_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_gpio_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_gpio_hclk ( void  )

Indicate whether the GPIO automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 GPIO_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_htb_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_htb_hclk ( void  )

Indicate whether the Hopping Table automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 HTB_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_i2s_s_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_i2s_s_hclk ( void  )

Indicate whether the I2S slave automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 I2S_S_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_pwm_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_pwm_hclk ( void  )

Indicate whether the PWM automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 PWM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_rom_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_rom_hclk ( void  )

Indicate whether the ROM automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 ROM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_secu_div4_hclk()

__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.

Register BitsName
PERIPH_GC SECU_DIV4_PCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_secu_hclk()

__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 enabled.

Register BitsName
CG_CTRL_0 SECU_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_serial_hclk()

__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 enabled.

Register BitsName
CG_CTRL_0 SERIAL_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_sim_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sim_hclk ( void  )

Indicate whether the SIM automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 SIM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_snsadc_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_snsadc_hclk ( void  )

Indicate whether the SNSADC automatic turn off clock is enabled.

Register BitsName
CG_CTRL_0 SNSADC_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_sram_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_sram_hclk ( void  )

Indicate whether the SRAM automatic turn off clock is enabled.

Register BitsName
CG_CTRL_2 SRAM_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_xqspi_div4_hclk()

__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.

Register BitsName
PERIPH_GC XQSPI_DIV4_PCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_is_enabled_wfi_off_xqspi_hclk()

__STATIC_INLINE uint32_t ll_cgc_is_enabled_wfi_off_xqspi_hclk ( void  )

Indicate whether the XQSPI automatic turn off clock is enabled.

Register BitsName
CG_CTRL_2 XF_XQSPI_HCLK
Return values
Stateof bit (1 or 0).

◆ ll_cgc_set_force_off_hclk_0()

__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/APB_SUB/SERIAL/I2S)

Register BitsName
CG_CTRL_1 SECU_HCLK
CG_CTRL_1 SIM_HCLK
CG_CTRL_1 HTB_HCLK
CG_CTRL_1 PWM_HCLK
CG_CTRL_1 ROM_HCLK
CG_CTRL_1 SNSADC_HCLK
CG_CTRL_1 GPIO_HCLK
CG_CTRL_1 DMA_HCLK
CG_CTRL_1 BLE_BRG_HCLK
CG_CTRL_1 APB_SUB_HCLK
CG_CTRL_1 SERIAL_HCLK
CG_CTRL_1 I2S_S_HCLK
Parameters
clk_maskThis parameter can be a combination of the following values:
Return values
None

◆ ll_cgc_set_force_off_hclk_1()

__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)

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
CG_CTRL_2 XF_XQSPI_HCLK
CG_CTRL_2 SRAM_HCLK
Parameters
clk_maskThis parameter can be a combination of the following values:
Return values
None

◆ ll_cgc_set_force_off_hclk_2()

__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/I2C0_HCLK/ I2C1_HCLK/SPIM_HCLK/SPIS_HCLK/QSPI0_HCLK/QSPI1_HCLK/I2S_HCLK/SECU_DIV4_PCLK/XQSPI_DIV4_PCLK)

Register BitsName
PERIPH_GC UART0_HCLK
PERIPH_GC UART1_HCLK
PERIPH_GC I2C0_HCLK
PERIPH_GC I2C1_HCLK
PERIPH_GC SPIM_HCLK
PERIPH_GC SPIS_HCLK
PERIPH_GC QSPI0_HCLK
PERIPH_GC QSPI1_HCLK
PERIPH_GC I2S_HCLK
PERIPH_GC SECU_DIV4_PCLK
PERIPH_GC XQSPI_DIV4_PCLK
Parameters
clk_maskThis parameter can be a combination of the following values:
Return values
None

◆ ll_cgc_set_wfi_off_hclk_0()

__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/DMA/BLE_BRG/APB_SUB/SERIAL/I2S)

Register BitsName
CG_CTRL_0 SECU_HCLK
CG_CTRL_0 SIM_HCLK
CG_CTRL_0 HTB_HCLK
CG_CTRL_0 PWM_HCLK
CG_CTRL_0 ROM_HCLK
CG_CTRL_0 SNSADC_HCLK
CG_CTRL_0 GPIO_HCLK
CG_CTRL_0 DMA_HCLK
CG_CTRL_0 BLE_BRG_HCLK
CG_CTRL_0 APB_SUB_HCLK
CG_CTRL_0 SERIAL_HCLK
CG_CTRL_0 I2S_S_HCLK
Parameters
clk_maskThis parameter can be a combination of the following values:
Return values
None

◆ ll_cgc_set_wfi_off_hclk_1()

__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)

Register BitsName
CG_CTRL_2 AON_MCUSUB_HCLK
CG_CTRL_2 XF_XQSPI_HCLK
CG_CTRL_2 SRAM_HCLK
Parameters
clk_maskThis parameter can be a combination of the following values:
Return values
None

◆ ll_cgc_set_wfi_off_hclk_2()

__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)

Register BitsName
PERIPH_GC SECU_DIV4_PCLK
PERIPH_GC XQSPI_DIV4_PCLK
Parameters
clk_maskThis parameter can be a combination of the following values:
Return values
None