Macros
Automatic Turn off clocks
Peripheral Driver » HAL Driver » CGC » Defines » CGC Exported Constants

## Macros
#define | CGC_WFI_SECU_HCLK ((uint32_t)0x00000001U)
#define | CGC_WFI_SIM_HCLK ((uint32_t)0x00000002U)
#define | CGC_WFI_HTB_HCLK ((uint32_t)0x00000004U)
#define | CGC_WFI_PWM_HCLK ((uint32_t)0x00000008U)
#define | CGC_WFI_ROM_HCLK ((uint32_t)0x00000010U)
#define | CGC_WFI_SNSADC_HCLK ((uint32_t)0x00000020U)
#define | CGC_WFI_GPIO_HCLK ((uint32_t)0x00000040U)
#define | CGC_WFI_DMA_HCLK ((uint32_t)0x00000080U)
#define | CGC_WFI_BLE_BRG_HCLK ((uint32_t)0x00000100U)
#define | CGC_WFI_APB_SUB_HCLK ((uint32_t)0x00000200U)
#define | CGC_WFI_SERIAL_HCLK ((uint32_t)0x00000400U)
#define | CGC_WFI_I2S_S_HCLK ((uint32_t)0x00000800U)
#define | CGC_WFI_AON_MCUSUB_HCLK ((uint32_t)0x00001000U)
#define | CGC_WFI_XF_XQSPI_HCLK ((uint32_t)0x00002000U)
#define | CGC_WFI_SRAM_HCLK ((uint32_t)0x00004000U)
#define | CGC_WFI_SECU_DIV4_PCLK ((uint32_t)0x00008000U)
#define | CGC_WFI_XQSPI_DIV4_PCLK ((uint32_t)0x00020000U)
#define | CGC_WFI_ALL_CLK ((uint32_t)0x0002FFFFU)

## Detailed Description

## Macro Definition Documentation

## ◆ CGC_WFI_ALL_CLK

#define CGC_WFI_ALL_CLK ((uint32_t)0x0002FFFFU)

All clocks

## ◆ CGC_WFI_AON_MCUSUB_HCLK

#define CGC_WFI_AON_MCUSUB_HCLK ((uint32_t)0x00001000U)

Hclk for Always-on register

## ◆ CGC_WFI_APB_SUB_HCLK

#define CGC_WFI_APB_SUB_HCLK ((uint32_t)0x00000200U)

Hclk for APB subsystem

## ◆ CGC_WFI_BLE_BRG_HCLK

#define CGC_WFI_BLE_BRG_HCLK ((uint32_t)0x00000100U)

Hclk for BLE MCU bridge

## ◆ CGC_WFI_DMA_HCLK

#define CGC_WFI_DMA_HCLK ((uint32_t)0x00000080U)

Hclk for DMA engine

## ◆ CGC_WFI_GPIO_HCLK

#define CGC_WFI_GPIO_HCLK ((uint32_t)0x00000040U)

Hclk for GPIOs

## ◆ CGC_WFI_HTB_HCLK

#define CGC_WFI_HTB_HCLK ((uint32_t)0x00000004U)

Hclk for hopping table

## ◆ CGC_WFI_I2S_S_HCLK

#define CGC_WFI_I2S_S_HCLK ((uint32_t)0x00000800U)

Hclk for I2S slave

## ◆ CGC_WFI_PWM_HCLK

#define CGC_WFI_PWM_HCLK ((uint32_t)0x00000008U)

Hclk for PWM

## ◆ CGC_WFI_ROM_HCLK

#define CGC_WFI_ROM_HCLK ((uint32_t)0x00000010U)

Hclk for ROM

## ◆ CGC_WFI_SECU_DIV4_PCLK

#define CGC_WFI_SECU_DIV4_PCLK ((uint32_t)0x00008000U)

Div4 clk for security blocks

## ◆ CGC_WFI_SECU_HCLK

#define CGC_WFI_SECU_HCLK ((uint32_t)0x00000001U)

Hclk for all security blocks

## ◆ CGC_WFI_SERIAL_HCLK

#define CGC_WFI_SERIAL_HCLK ((uint32_t)0x00000400U)

Hclk for serial blocks

## ◆ CGC_WFI_SIM_HCLK

#define CGC_WFI_SIM_HCLK ((uint32_t)0x00000002U)

Hclk for sim card interface

## ◆ CGC_WFI_SNSADC_HCLK

#define CGC_WFI_SNSADC_HCLK ((uint32_t)0x00000020U)

Hclk for sense ADC

## ◆ CGC_WFI_SRAM_HCLK

#define CGC_WFI_SRAM_HCLK ((uint32_t)0x00004000U)

Hclk for SRAMs

## ◆ CGC_WFI_XF_XQSPI_HCLK

#define CGC_WFI_XF_XQSPI_HCLK ((uint32_t)0x00002000U)

Hclk for cache top

## ◆ CGC_WFI_XQSPI_DIV4_PCLK

#define CGC_WFI_XQSPI_DIV4_PCLK ((uint32_t)0x00020000U)

Div4 clk for xf qspi