Data Structures | Macros | Typedefs | Functions
gr55xx_ll_cgc.h File Reference

Header file containing functions prototypes of CGC LL library. More...

`#include "gr55xx.h"`

Go to the source code of this file.

## Data Structures
struct | _ll_cgc_init_t
| LL CGC init Structure definition. More...

## Macros
#define | LL_CGC_WFI_SECU_HCLK MCU_SUB_WFI_SECU_HCLK
#define | LL_CGC_WFI_SIM_HCLK MCU_SUB_WFI_SIM_HCLK
#define | LL_CGC_WFI_HTB_HCLK MCU_SUB_WFI_HTB_HCLK
#define | LL_CGC_WFI_PWM_HCLK MCU_SUB_WFI_PWM_HCLK
#define | LL_CGC_WFI_ROM_HCLK MCU_SUB_WFI_ROM_HCLK
#define | LL_CGC_WFI_SNSADC_HCLK MCU_SUB_WFI_SNSADC_HCLK
#define | LL_CGC_WFI_GPIO_HCLK MCU_SUB_WFI_GPIO_HCLK
#define | LL_CGC_WFI_DMA_HCLK MCU_SUB_WFI_DMA_HCLK
#define | LL_CGC_WFI_BLE_BRG_HCLK MCU_SUB_WFI_BLE_BRG_HCLK
#define | LL_CGC_WFI_APB_SUB_HCLK MCU_SUB_WFI_APB_SUB_HCLK
#define | LL_CGC_WFI_SERIAL_HCLK MCU_SUB_WFI_SERIAL_HCLK
#define | LL_CGC_WFI_I2S_S_HCLK MCU_SUB_WFI_I2S_S_HCLK
#define | LL_CGC_WFI_ALL_HCLK0 ((uint32_t)0x00000FFFU)
#define | LL_CGC_WFI_AON_MCUSUB_HCLK MCU_SUB_WFI_AON_MCUSUB_HCLK
#define | LL_CGC_WFI_XF_XQSPI_HCLK MCU_SUB_WFI_XF_XQSPI_HCLK
#define | LL_CGC_WFI_SRAM_HCLK MCU_SUB_WFI_SRAM_HCLK
#define | LL_CGC_WFI_ALL_HCLK1 ((uint32_t)0x00000007U)
#define | LL_CGC_WFI_SECU_DIV4_PCLK MCU_SUB_WFI_SECU_DIV4_PCLK
#define | LL_CGC_WFI_XQSPI_DIV4_PCLK MCU_SUB_WFI_XQSPI_DIV4_PCLK
#define | LL_CGC_WFI_ALL_HCLK2 ((uint32_t)0x05000000U)
#define | LL_CGC_FRC_SECU_HCLK MCU_SUB_FORCE_SECU_HCLK
#define | LL_CGC_FRC_SIM_HCLK MCU_SUB_FORCE_SIM_HCLK
#define | LL_CGC_FRC_HTB_HCLK MCU_SUB_FORCE_HTB_HCLK
#define | LL_CGC_FRC_PWM_HCLK MCU_SUB_FORCE_PWM_HCLK
#define | LL_CGC_FRC_ROM_HCLK MCU_SUB_FORCE_ROM_HCLK
#define | LL_CGC_FRC_SNSADC_HCLK MCU_SUB_FORCE_SNSADC_HCLK
#define | LL_CGC_FRC_GPIO_HCLK MCU_SUB_FORCE_GPIO_HCLK
#define | LL_CGC_FRC_DMA_HCLK MCU_SUB_FORCE_DMA_HCLK
#define | LL_CGC_FRC_BLE_BRG_HCLK MCU_SUB_FORCE_BLE_BRG_HCLK
#define | LL_CGC_FRC_APB_SUB_HCLK MCU_SUB_FORCE_APB_SUB_HCLK
#define | LL_CGC_FRC_SERIAL_HCLK MCU_SUB_FORCE_SERIAL_HCLK
#define | LL_CGC_FRC_I2S_S_HCLK MCU_SUB_FORCE_I2S_S_HCLK
#define | LL_CGC_FRC_ALL_HCLK0 ((uint32_t)0x00000FFFU)
#define | LL_CGC_FRC_AON_MCUSUB_HCLK MCU_SUB_FORCE_AON_MCUSUB_HCLK
#define | LL_CGC_FRC_XF_XQSPI_HCLK MCU_SUB_FORCE_XF_XQSPI_HCLK
#define | LL_CGC_FRC_SRAM_HCLK MCU_SUB_FORCE_SRAM_HCLK
#define | LL_CGC_FRC_ALL_HCLK1 ((uint32_t)0x00070000U)
#define | LL_CGC_FRC_UART0_HCLK MCU_SUB_FORCE_UART0_HCLK
#define | LL_CGC_FRC_UART1_HCLK MCU_SUB_FORCE_UART1_HCLK
#define | LL_CGC_FRC_I2C0_HCLK MCU_SUB_FORCE_I2C0_HCLK
#define | LL_CGC_FRC_I2C1_HCLK MCU_SUB_FORCE_I2C1_HCLK
#define | LL_CGC_FRC_SPIM_HCLK MCU_SUB_FORCE_SPIM_HCLK
#define | LL_CGC_FRC_SPIS_HCLK MCU_SUB_FORCE_SPIS_HCLK
#define | LL_CGC_FRC_QSPI0_HCLK MCU_SUB_FORCE_QSPI0_HCLK
#define | LL_CGC_FRC_QSPI1_HCLK MCU_SUB_FORCE_QSPI1_HCLK
#define | LL_CGC_FRC_I2S_HCLK MCU_SUB_FORCE_I2S_HCLK
#define | LL_CGC_FRC_SECU_DIV4_PCLK MCU_SUB_FORCE_SECU_DIV4_PCLK
#define | LL_CGC_FRC_XQSPI_DIV4_PCLK MCU_SUB_FORCE_XQSPI_DIV4_PCLK
#define | LL_CGC_FRC_SERIALS_HCLK2 ((uint32_t)0x0001FF00U)
#define | LL_CGC_FRC_ALL_HCLK2 ((uint32_t)0x0A01FF00U)
#define | LL_CGC_WriteReg(__instance__, __REG__, __VALUE__) WRITE_REG(__instance__->__REG__, (__VALUE__))
| Write a value in CGC register. More...
#define | LL_CGC_ReadReg(__instance__, __REG__) READ_REG(__instance__->__REG__)
| Read a value in CGC register. More...
#define | LL_CGC_DEFAULT_CONFIG
| LL CGC InitStrcut default configuartion. More...

## Typedefs
typedef struct _ll_cgc_init_t | ll_cgc_init_t
| LL CGC init Structure definition.

## 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...
error_status_t | ll_cgc_deinit (void)
| De-initialize CGC registers (Registers restored to their default values). More...
error_status_t | ll_cgc_init (ll_cgc_init_t *p_cgc_init)
| Initialize CGC registers according to the specified. parameters in p_cgc_init. More...
void | ll_cgc_struct_init (ll_cgc_init_t *p_cgc_init)
| Set each field of a ll_cgc_init_t type structure to default value. More...

## Detailed Description

Header file containing functions prototypes of CGC LL library.

Author
  BLE Driver Team

Attention

  ##### Copyright (c) 2019 GOODIX

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.