CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC

Hardware clock cycles per second, 2000000 for ISS

System clock’s h/w timer frequency

Type: int

Help

This option specifies hardware clock.

Help

This option specifies the frequency of the hardware timer used for the system clock (in Hz). This option is set by the SOC’s or board’s Kconfig file and the user should generally avoid modifying it via the menu configuration.

Defaults

Kconfig definitions

At boards/arm/mec1501modular_assy6885/Kconfig.defconfig:75

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 32768
    depends on RTOS_TIMER && BOARD_MEC1501MODULAR_ASSY6885

At boards/arm/mec1501modular_assy6885/Kconfig.defconfig:89

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on !RTOS_TIMER && BOARD_MEC1501MODULAR_ASSY6885

At boards/arm/mec15xxevb_assy6853/Kconfig.defconfig:74

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 32768
    depends on RTOS_TIMER && BOARD_MEC15XXEVB_ASSY6853

At boards/arm/mec15xxevb_assy6853/Kconfig.defconfig:89

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on !RTOS_TIMER && BOARD_MEC15XXEVB_ASSY6853

At boards/arm/qemu_cortex_m0/Kconfig.defconfig:29

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 1000000
    depends on BOARD_QEMU_CORTEX_M0

At boards/arm/stm32h747i_disco/Kconfig.defconfig:13

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 400000000 if BOARD_STM32H747I_DISCO_M7
    default 200000000 if BOARD_STM32H747I_DISCO_M4
    depends on BOARD_STM32H747I_DISCO_M7 || BOARD_STM32H747I_DISCO_M4

At boards/x86/gpmrb/Kconfig.defconfig:41

Included via Kconfig:8Kconfig.zephyr:26

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 19200000 if HPET_TIMER
    default 1100000000 if LOAPIC_TIMER
    depends on BOARD_GPMRB

At soc/arc/snps_arc_hsdk/Kconfig.defconfig:21

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 500000000
    depends on SOC_ARC_HSDK

At soc/arc/snps_arc_iot/Kconfig.defconfig:28

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 144000000
    depends on SOC_ARC_IOT

At soc/arc/snps_emsdp/Kconfig.defconfig.em4:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:18

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_EMSDP_EM4 && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em5d:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:19

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 40000000
    depends on SOC_EMSDP_EM5D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em6:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:20

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_EMSDP_EM6 && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em7d:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:21

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 40000000
    depends on SOC_EMSDP_EM7D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em7d_esp:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:22

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_EMSDP_EM7D_ESP && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em9d:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:23

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 40000000
    depends on SOC_EMSDP_EM9D && SOC_ARC_EMSDP

At soc/arc/snps_emsdp/Kconfig.defconfig.em11d:6

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsdp/Kconfig.defconfig:24

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 40000000
    depends on SOC_EMSDP_EM11D && SOC_ARC_EMSDP

At soc/arc/snps_emsk/Kconfig.defconfig.em7d:27

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsk/Kconfig.defconfig:10

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 25000000 if BOARD_EM_STARTERKIT_R23
    default 30000000 if BOARD_EM_STARTERKIT_R22
    depends on SOC_EMSK_EM7D && SOC_EMSK

At soc/arc/snps_emsk/Kconfig.defconfig.em11d:23

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsk/Kconfig.defconfig:11

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 20000000
    depends on SOC_EMSK_EM11D && SOC_EMSK

At soc/arc/snps_emsk/Kconfig.defconfig.em9d:23

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_emsk/Kconfig.defconfig:12

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 20000000
    depends on SOC_EMSK_EM9D && SOC_EMSK

At soc/arc/snps_nsim/Kconfig.defconfig.em:24

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_nsim/Kconfig.defconfig:12

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 5000000
    depends on SOC_NSIM_EM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.sem:24

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_nsim/Kconfig.defconfig:13

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 5000000
    depends on SOC_NSIM_SEM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.hs:18

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_nsim/Kconfig.defconfig:14

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 5000000
    depends on SOC_NSIM_HS && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.hs_smp:18

Included via Kconfig:8Kconfig.zephyr:28soc/arc/snps_nsim/Kconfig.defconfig:15

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 500000
    depends on SOC_NSIM_HS_SMP && SOC_NSIM

At soc/arm/arm/beetle/Kconfig.defconfig.series:16

Included via Kconfig:8Kconfig.zephyr:28soc/arm/arm/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 24000000
    depends on SOC_SERIES_BEETLE

At soc/arm/arm/mps2/Kconfig.defconfig.series:9

Included via Kconfig:8Kconfig.zephyr:28soc/arm/arm/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 25000000
    depends on SOC_SERIES_MPS2

At soc/arm/arm/musca_a/Kconfig.defconfig.series:9

Included via Kconfig:8Kconfig.zephyr:28soc/arm/arm/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_SERIES_MUSCA

At soc/arm/arm/musca_b1/Kconfig.defconfig.series:9

Included via Kconfig:8Kconfig.zephyr:28soc/arm/arm/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 40000000
    depends on SOC_SERIES_MUSCA_B1

At soc/arm/atmel_sam/sam3x/Kconfig.defconfig.series:27

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 84000000
    depends on SOC_SERIES_SAM3X

At soc/arm/atmel_sam/sam4s/Kconfig.defconfig.series:31

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 120000000
    depends on SOC_SERIES_SAM4S

At soc/arm/atmel_sam/same70/Kconfig.defconfig.series:40

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 300000000
    depends on SOC_SERIES_SAME70

At soc/arm/atmel_sam0/samd20/Kconfig.defconfig.series:33

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on SOC_SERIES_SAMD20

At soc/arm/atmel_sam0/samd21/Kconfig.defconfig.series:30

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on SOC_SERIES_SAMD21

At soc/arm/atmel_sam0/samd51/Kconfig.defconfig.series:28

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 120000000
    depends on SOC_SERIES_SAMD51

At soc/arm/atmel_sam0/same51/Kconfig.defconfig.series:24

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 120000000
    depends on SOC_SERIES_SAME51

At soc/arm/atmel_sam0/same53/Kconfig.defconfig.series:24

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 120000000
    depends on SOC_SERIES_SAME53

At soc/arm/atmel_sam0/same54/Kconfig.defconfig.series:23

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 120000000
    depends on SOC_SERIES_SAME54

At soc/arm/atmel_sam0/samr21/Kconfig.defconfig.series:23

Included via Kconfig:8Kconfig.zephyr:28soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on SOC_SERIES_SAMR21

At soc/arm/bcm_vk/valkyrie/Kconfig.defconfig.series:15

Included via Kconfig:8Kconfig.zephyr:28soc/arm/bcm_vk/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 500000000
    depends on SOC_SERIES_VALKYRIE

At soc/arm/cypress/psoc6/Kconfig.defconfig.series:18

Included via Kconfig:8Kconfig.zephyr:28soc/arm/cypress/Kconfig.defconfig:4

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_SERIES_PSOC62

At soc/arm/microchip_mec/mec1701/Kconfig.defconfig.mec1701qsz:11

Included via Kconfig:8Kconfig.zephyr:28soc/arm/microchip_mec/Kconfig.defconfig:3soc/arm/microchip_mec/mec1701/Kconfig.defconfig.series:17

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on SOC_MEC1701_QSZ && SOC_SERIES_MEC1701X

At soc/arm/nordic_nrf/Kconfig.defconfig:21

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 32768
    depends on SOC_FAMILY_NRF

At soc/arm/nxp_imx/mcimx7_m4/Kconfig.defconfig.mcimx7_m4:11

Included via Kconfig:8Kconfig.zephyr:28soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/mcimx7_m4/Kconfig.defconfig.series:15

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 200000000
    depends on SOC_MCIMX7_M4 && SOC_SERIES_IMX7_M4

At soc/arm/ti_lm3s6965/Kconfig.defconfig:16

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 12000000
    depends on SOC_TI_LM3S6965

At soc/arm/ti_simplelink/cc13x2_cc26x2/Kconfig.defconfig.series:13

Included via Kconfig:8Kconfig.zephyr:28soc/arm/ti_simplelink/Kconfig.defconfig:3

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 32768
    depends on SOC_SERIES_CC13X2_CC26X2

At soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3220sf:15

Included via Kconfig:8Kconfig.zephyr:28soc/arm/ti_simplelink/Kconfig.defconfig:3soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:7

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 80000000
    depends on SOC_CC3220SF && SOC_SERIES_CC32XX

At soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.cc3235sf:16

Included via Kconfig:8Kconfig.zephyr:28soc/arm/ti_simplelink/Kconfig.defconfig:3soc/arm/ti_simplelink/cc32xx/Kconfig.defconfig.series:7

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 80000000
    depends on SOC_CC3235SF && SOC_SERIES_CC32XX

At soc/arm/ti_simplelink/msp432p4xx/Kconfig.defconfig.msp432p401r:11

Included via Kconfig:8Kconfig.zephyr:28soc/arm/ti_simplelink/Kconfig.defconfig:3soc/arm/ti_simplelink/msp432p4xx/Kconfig.defconfig.series:8

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 48000000
    depends on SOC_MSP432P401R && SOC_SERIES_MSP432P4XX

At soc/arm/xilinx_zynqmp/Kconfig.defconfig:26

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 12000000
    depends on SOC_XILINX_ZYNQMP_RPU && SOC_XILINX_ZYNQMP

At soc/nios2/nios2-qemu/Kconfig.defconfig:8

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_NIOS2_QEMU

At soc/nios2/nios2f-zephyr/Kconfig.defconfig:8

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 50000000
    depends on SOC_NIOS2F_ZEPHYR

At soc/riscv/litex-vexriscv/Kconfig.defconfig:9

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 100000000
    depends on SOC_RISCV32_LITEX_VEXRISCV

At soc/riscv/openisa_rv32m1/Kconfig.defconfig:44

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 8000000
    depends on SOC_OPENISA_RV32M1_RISCV32

At soc/riscv/riscv-privilege/miv/Kconfig.defconfig.series:8

Included via Kconfig:8Kconfig.zephyr:28soc/riscv/riscv-privilege/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 660000
    depends on SOC_SERIES_RISCV32_MIV

At soc/riscv/riscv-privilege/sifive-freedom/Kconfig.defconfig.series:8

Included via Kconfig:8Kconfig.zephyr:28soc/riscv/riscv-privilege/Kconfig.defconfig:6

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 32768
    depends on SOC_SERIES_RISCV_SIFIVE_FREEDOM

At soc/x86/apollo_lake/Kconfig.defconfig:12

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 19200000
    depends on SOC_APOLLO_LAKE

At soc/x86/atom/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 150000000 if LOAPIC_TIMER
    default 25000000 if HPET_TIMER
    depends on SOC_ATOM

At soc/x86/ia32/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:28

Menu path: (Top)

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int
    default 150000000 if LOAPIC_TIMER
    default 25000000 if HPET_TIMER
    depends on SOC_IA32

At arch/xtensa/Kconfig:29

Included via Kconfig:8Kconfig.zephyr:34arch/Kconfig:12

Menu path: (Top) → XTENSA Options

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int "Hardware clock cycles per second, 2000000 for ISS"
    range 1000000 1000000000
    default 2000000
    depends on XTENSA
    help
      This option specifies hardware clock.

At kernel/Kconfig:557

Included via Kconfig:8Kconfig.zephyr:36

Menu path: (Top) → General Kernel Options

config SYS_CLOCK_HW_CYCLES_PER_SEC
    int "System clock's h/w timer frequency"
    help
      This option specifies the frequency of the hardware timer used for the
      system clock (in Hz). This option is set by the SOC's or board's Kconfig file
      and the user should generally avoid modifying it via the menu configuration.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)