Header file containing functions prototypes of CGC LL library. More...
#include "gr55xx.h"
Go to the source code of this file.
Classes | |
struct | _ll_cgc_init_t |
LL CGC init Structure definition. More... | |
Macros | |
#define | LL_CGC_WFI_SECU_HCLK MCU_SUB_WFI_SECU_HCLK |
Hclk for all security blocks. More... | |
#define | LL_CGC_WFI_SIM_HCLK MCU_SUB_WFI_SIM_HCLK |
Hclk for sim card interface More... | |
#define | LL_CGC_WFI_HTB_HCLK MCU_SUB_WFI_HTB_HCLK |
Hclk for hopping table More... | |
#define | LL_CGC_WFI_PWM_HCLK MCU_SUB_WFI_PWM_HCLK |
Hclk for PWM More... | |
#define | LL_CGC_WFI_ROM_HCLK MCU_SUB_WFI_ROM_HCLK |
Hclk for ROM More... | |
#define | LL_CGC_WFI_SNSADC_HCLK MCU_SUB_WFI_SNSADC_HCLK |
Hclk for sense ADC More... | |
#define | LL_CGC_WFI_GPIO_HCLK MCU_SUB_WFI_GPIO_HCLK |
Hclk for GPIOs More... | |
#define | LL_CGC_WFI_DMA_HCLK MCU_SUB_WFI_DMA_HCLK |
Hclk for DMA engine More... | |
#define | LL_CGC_WFI_BLE_BRG_HCLK MCU_SUB_WFI_BLE_BRG_HCLK |
Hclk for BLE MCU bridge More... | |
#define | LL_CGC_WFI_APB_SUB_HCLK MCU_SUB_WFI_APB_SUB_HCLK |
Hclk for APB subsystem More... | |
#define | LL_CGC_WFI_SERIAL_HCLK MCU_SUB_WFI_SERIAL_HCLK |
Hclk for serial blocks More... | |
#define | LL_CGC_WFI_I2S_S_HCLK MCU_SUB_WFI_I2S_S_HCLK |
Hclk for I2S slave More... | |
#define | LL_CGC_WFI_ALL_HCLK0 ((uint32_t)0x00000FFFU) |
All clock group 0 More... | |
#define | LL_CGC_WFI_AON_MCUSUB_HCLK MCU_SUB_WFI_AON_MCUSUB_HCLK |
Hclk for Always-on register More... | |
#define | LL_CGC_WFI_XF_XQSPI_HCLK MCU_SUB_WFI_XF_XQSPI_HCLK |
Hclk for cache top More... | |
#define | LL_CGC_WFI_SRAM_HCLK MCU_SUB_WFI_SRAM_HCLK |
Hclk for SRAMs More... | |
#define | LL_CGC_WFI_ALL_HCLK1 ((uint32_t)0x00000007U) |
All clock group 1 More... | |
#define | LL_CGC_WFI_SECU_DIV4_PCLK MCU_SUB_WFI_SECU_DIV4_PCLK |
Div4 clk for security blocks. More... | |
#define | LL_CGC_WFI_XQSPI_DIV4_PCLK MCU_SUB_WFI_XQSPI_DIV4_PCLK |
Div4 clk for xf qspi More... | |
#define | LL_CGC_WFI_ALL_HCLK2 ((uint32_t)0x05000000U) |
All clock group 2 More... | |
#define | LL_CGC_FRC_SECU_HCLK MCU_SUB_FORCE_SECU_HCLK |
Hclk for all security blocks. More... | |
#define | LL_CGC_FRC_SIM_HCLK MCU_SUB_FORCE_SIM_HCLK |
Hclk for sim card interface More... | |
#define | LL_CGC_FRC_HTB_HCLK MCU_SUB_FORCE_HTB_HCLK |
Hclk for hopping table More... | |
#define | LL_CGC_FRC_PWM_HCLK MCU_SUB_FORCE_PWM_HCLK |
Hclk for PWM More... | |
#define | LL_CGC_FRC_ROM_HCLK MCU_SUB_FORCE_ROM_HCLK |
Hclk for ROM More... | |
#define | LL_CGC_FRC_SNSADC_HCLK MCU_SUB_FORCE_SNSADC_HCLK |
Hclk for sense ADC More... | |
#define | LL_CGC_FRC_GPIO_HCLK MCU_SUB_FORCE_GPIO_HCLK |
Hclk for GPIOs More... | |
#define | LL_CGC_FRC_DMA_HCLK MCU_SUB_FORCE_DMA_HCLK |
Hclk for DMA engine More... | |
#define | LL_CGC_FRC_BLE_BRG_HCLK MCU_SUB_FORCE_BLE_BRG_HCLK |
Hclk for BLE MCU bridge More... | |
#define | LL_CGC_FRC_APB_SUB_HCLK MCU_SUB_FORCE_APB_SUB_HCLK |
Hclk for APB subsystem More... | |
#define | LL_CGC_FRC_SERIAL_HCLK MCU_SUB_FORCE_SERIAL_HCLK |
Hclk for serial blocks More... | |
#define | LL_CGC_FRC_I2S_S_HCLK MCU_SUB_FORCE_I2S_S_HCLK |
Hclk for I2S slave More... | |
#define | LL_CGC_FRC_ALL_HCLK0 ((uint32_t)0x00000FFFU) |
All clock group 0 More... | |
#define | LL_CGC_FRC_AON_MCUSUB_HCLK MCU_SUB_FORCE_AON_MCUSUB_HCLK |
Hclk for Always-on register More... | |
#define | LL_CGC_FRC_XF_XQSPI_HCLK MCU_SUB_FORCE_XF_XQSPI_HCLK |
Hclk for cache top More... | |
#define | LL_CGC_FRC_SRAM_HCLK MCU_SUB_FORCE_SRAM_HCLK |
Hclk for SRAMs More... | |
#define | LL_CGC_FRC_ALL_HCLK1 ((uint32_t)0x00070000U) |
All clock group 1 More... | |
#define | LL_CGC_FRC_UART0_HCLK MCU_SUB_FORCE_UART0_HCLK |
Hclk for uart0 More... | |
#define | LL_CGC_FRC_UART1_HCLK MCU_SUB_FORCE_UART1_HCLK |
Hclk for uart1 More... | |
#define | LL_CGC_FRC_I2C0_HCLK MCU_SUB_FORCE_I2C0_HCLK |
Hclk for i2c0 More... | |
#define | LL_CGC_FRC_I2C1_HCLK MCU_SUB_FORCE_I2C1_HCLK |
Hclk for i2c1 More... | |
#define | LL_CGC_FRC_SPIM_HCLK MCU_SUB_FORCE_SPIM_HCLK |
Hclk for spim More... | |
#define | LL_CGC_FRC_SPIS_HCLK MCU_SUB_FORCE_SPIS_HCLK |
Hclk for spis More... | |
#define | LL_CGC_FRC_QSPI0_HCLK MCU_SUB_FORCE_QSPI0_HCLK |
Hclk for qspi0 More... | |
#define | LL_CGC_FRC_QSPI1_HCLK MCU_SUB_FORCE_QSPI1_HCLK |
Hclk for qspi1 More... | |
#define | LL_CGC_FRC_I2S_HCLK MCU_SUB_FORCE_I2S_HCLK |
Hclk for i2s More... | |
#define | LL_CGC_FRC_SECU_DIV4_PCLK MCU_SUB_FORCE_SECU_DIV4_PCLK |
Div4 clk for security blocks. More... | |
#define | LL_CGC_FRC_XQSPI_DIV4_PCLK MCU_SUB_FORCE_XQSPI_DIV4_PCLK |
Div4 clk for xf qspi More... | |
#define | LL_CGC_FRC_SERIALS_HCLK2 ((uint32_t)0x0001FF00U) |
Hclk for serial blocks More... | |
#define | LL_CGC_FRC_ALL_HCLK2 ((uint32_t)0x0A01FF00U) |
All clock group 2 More... | |
#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. More... | |
Functions | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_0 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_0 (void) |
Return to clock blocks that is turned off during WFI. More... | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_1 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_1 (void) |
Return to clock blocks that is turned off during WFI. More... | |
__STATIC_INLINE void | ll_cgc_set_wfi_off_hclk_2 (uint32_t clk_mask) |
Some peripherals automatic turn off clock during WFI. More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_wfi_off_hclk_2 (void) |
Return to clock blocks that is turned off during WFI. More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_0 (uint32_t clk_mask) |
Some peripherals force turn off clock. More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_0 (void) |
Return to clock blocks that was forcibly closed. More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_1 (uint32_t clk_mask) |
Some peripherals force turn off clock. More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_1 (void) |
Return to clock blocks that was forcibly closed. More... | |
__STATIC_INLINE void | ll_cgc_set_force_off_hclk_2 (uint32_t clk_mask) |
Some peripherals force turn off clock. More... | |
__STATIC_INLINE uint32_t | ll_cgc_get_force_off_hclk_2 (void) |
Return to clock blocks that was forcibly closed. 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. 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... | |
Header file containing functions prototypes of CGC LL library.
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.
Definition in file gr55xx_ll_cgc.h.