Macros
Force cloks off
Peripheral Driver » HAL Driver » CGC » Defines » CGC Exported Constants

## Macros
#define | CGC_FRC_SECU_HCLK ((uint32_t)0x00000001U)
#define | CGC_FRC_SIM_HCLK ((uint32_t)0x00000002U)
#define | CGC_FRC_HTB_HCLK ((uint32_t)0x00000004U)
#define | CGC_FRC_PWM_HCLK ((uint32_t)0x00000008U)
#define | CGC_FRC_ROM_HCLK ((uint32_t)0x00000010U)
#define | CGC_FRC_SNSADC_HCLK ((uint32_t)0x00000020U)
#define | CGC_FRC_GPIO_HCLK ((uint32_t)0x00000040U)
#define | CGC_FRC_DMA_HCLK ((uint32_t)0x00000080U)
#define | CGC_FRC_BLE_BRG_HCLK ((uint32_t)0x00000100U)
#define | CGC_FRC_APB_SUB_HCLK ((uint32_t)0x00000200U)
#define | CGC_FRC_SERIAL_HCLK ((uint32_t)0x00000400U)
#define | CGC_FRC_I2S_S_HCLK ((uint32_t)0x00000800U)
#define | CGC_FRC_AON_MCUSUB_HCLK ((uint32_t)0x00001000U)
#define | CGC_FRC_XF_XQSPI_HCLK ((uint32_t)0x00002000U)
#define | CGC_FRC_SRAM_HCLK ((uint32_t)0x00004000U)
#define | CGC_FRC_UART0_HCLK ((uint32_t)0x00008000U)
#define | CGC_FRC_UART1_HCLK ((uint32_t)0x00010000U)
#define | CGC_FRC_I2C0_HCLK ((uint32_t)0x00020000U)
#define | CGC_FRC_I2C1_HCLK ((uint32_t)0x00040000U)
#define | CGC_FRC_SPIM_HCLK ((uint32_t)0x00080000U)
#define | CGC_FRC_SPIS_HCLK ((uint32_t)0x00100000U)
#define | CGC_FRC_QSPI0_HCLK ((uint32_t)0x00200000U)
#define | CGC_FRC_QSPI1_HCLK ((uint32_t)0x00400000U)
#define | CGC_FRC_I2S_HCLK ((uint32_t)0x00800000U)
#define | CGC_FRC_SECU_DIV4_PCLK ((uint32_t)0x01000000U)
#define | CGC_FRC_XQSPI_DIV4_PCLK ((uint32_t)0x04000000U)
#define | CGC_FRC_ALL_CLK ((uint32_t)0x05FFFFFFU)

## Detailed Description

## Macro Definition Documentation

## ◆ CGC_FRC_ALL_CLK

#define CGC_FRC_ALL_CLK ((uint32_t)0x05FFFFFFU)

All clocks

Definition at line 162 of file hal_cgc.h.

## ◆ CGC_FRC_AON_MCUSUB_HCLK

#define CGC_FRC_AON_MCUSUB_HCLK ((uint32_t)0x00001000U)

Hclk for Always-on register

Definition at line 147 of file hal_cgc.h.

## ◆ CGC_FRC_APB_SUB_HCLK

#define CGC_FRC_APB_SUB_HCLK ((uint32_t)0x00000200U)

Hclk for APB subsystem

Definition at line 144 of file hal_cgc.h.

## ◆ CGC_FRC_BLE_BRG_HCLK

#define CGC_FRC_BLE_BRG_HCLK ((uint32_t)0x00000100U)

Hclk for BLE MCU bridge

Definition at line 143 of file hal_cgc.h.

## ◆ CGC_FRC_DMA_HCLK

#define CGC_FRC_DMA_HCLK ((uint32_t)0x00000080U)

Hclk for DMA engine

Definition at line 142 of file hal_cgc.h.

## ◆ CGC_FRC_GPIO_HCLK

#define CGC_FRC_GPIO_HCLK ((uint32_t)0x00000040U)

Hclk for GPIOs

Definition at line 141 of file hal_cgc.h.

## ◆ CGC_FRC_HTB_HCLK

#define CGC_FRC_HTB_HCLK ((uint32_t)0x00000004U)

Hclk for hopping table

Definition at line 137 of file hal_cgc.h.

## ◆ CGC_FRC_I2C0_HCLK

#define CGC_FRC_I2C0_HCLK ((uint32_t)0x00020000U)

Hclk for i2c0

Definition at line 152 of file hal_cgc.h.

## ◆ CGC_FRC_I2C1_HCLK

#define CGC_FRC_I2C1_HCLK ((uint32_t)0x00040000U)

Hclk for i2c1

Definition at line 153 of file hal_cgc.h.

## ◆ CGC_FRC_I2S_HCLK

#define CGC_FRC_I2S_HCLK ((uint32_t)0x00800000U)

Hclk for i2s

Definition at line 158 of file hal_cgc.h.

## ◆ CGC_FRC_I2S_S_HCLK

#define CGC_FRC_I2S_S_HCLK ((uint32_t)0x00000800U)

Hclk for I2S slave

Definition at line 146 of file hal_cgc.h.

## ◆ CGC_FRC_PWM_HCLK

#define CGC_FRC_PWM_HCLK ((uint32_t)0x00000008U)

Hclk for PWM

Definition at line 138 of file hal_cgc.h.

## ◆ CGC_FRC_QSPI0_HCLK

#define CGC_FRC_QSPI0_HCLK ((uint32_t)0x00200000U)

Hclk for qspi0

Definition at line 156 of file hal_cgc.h.

## ◆ CGC_FRC_QSPI1_HCLK

#define CGC_FRC_QSPI1_HCLK ((uint32_t)0x00400000U)

Hclk for qspi1

Definition at line 157 of file hal_cgc.h.

## ◆ CGC_FRC_ROM_HCLK

#define CGC_FRC_ROM_HCLK ((uint32_t)0x00000010U)

Hclk for ROM

Definition at line 139 of file hal_cgc.h.

## ◆ CGC_FRC_SECU_DIV4_PCLK

#define CGC_FRC_SECU_DIV4_PCLK ((uint32_t)0x01000000U)

Div4 clk for security blocks

Definition at line 159 of file hal_cgc.h.

## ◆ CGC_FRC_SECU_HCLK

#define CGC_FRC_SECU_HCLK ((uint32_t)0x00000001U)

Hclk for all security blocks

Definition at line 135 of file hal_cgc.h.

## ◆ CGC_FRC_SERIAL_HCLK

#define CGC_FRC_SERIAL_HCLK ((uint32_t)0x00000400U)

Hclk for serial blocks

Definition at line 145 of file hal_cgc.h.

## ◆ CGC_FRC_SIM_HCLK

#define CGC_FRC_SIM_HCLK ((uint32_t)0x00000002U)

Hclk for sim card interface

Definition at line 136 of file hal_cgc.h.

## ◆ CGC_FRC_SNSADC_HCLK

#define CGC_FRC_SNSADC_HCLK ((uint32_t)0x00000020U)

Hclk for sense ADC

Definition at line 140 of file hal_cgc.h.

## ◆ CGC_FRC_SPIM_HCLK

#define CGC_FRC_SPIM_HCLK ((uint32_t)0x00080000U)

Hclk for spim

Definition at line 154 of file hal_cgc.h.

## ◆ CGC_FRC_SPIS_HCLK

#define CGC_FRC_SPIS_HCLK ((uint32_t)0x00100000U)

Hclk for spis

Definition at line 155 of file hal_cgc.h.

## ◆ CGC_FRC_SRAM_HCLK

#define CGC_FRC_SRAM_HCLK ((uint32_t)0x00004000U)

Hclk for SRAMs

Definition at line 149 of file hal_cgc.h.

## ◆ CGC_FRC_UART0_HCLK

#define CGC_FRC_UART0_HCLK ((uint32_t)0x00008000U)

Hclk for uart0

Definition at line 150 of file hal_cgc.h.

## ◆ CGC_FRC_UART1_HCLK

#define CGC_FRC_UART1_HCLK ((uint32_t)0x00010000U)

Hclk for uart1

Definition at line 151 of file hal_cgc.h.

## ◆ CGC_FRC_XF_XQSPI_HCLK

#define CGC_FRC_XF_XQSPI_HCLK ((uint32_t)0x00002000U)

Hclk for cache top

Definition at line 148 of file hal_cgc.h.

## ◆ CGC_FRC_XQSPI_DIV4_PCLK

#define CGC_FRC_XQSPI_DIV4_PCLK ((uint32_t)0x04000000U)

Div4 clk for xf qspi

Definition at line 160 of file hal_cgc.h.