CONFIG_CLOCK_STM32_HSE_CLOCK

HSE clock value

Type: int

Help

Value of external high-speed clock (HSE). This symbol could be optionally
configured using device tree by setting "clock-frequency" value of clk_hse
node. For instance:
&clk_hse{
status = "okay";
clock-frequency = <DT_FREQ_M(25)>;
};
Note: Device tree configuration is overridden when current symbol is set:
CONFIG_CLOCK_STM32_HSE_CLOCK=32000000

Direct dependencies

CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL

(Includes any dependencies from ifs and menus.)

Defaults

  • “0” if n

  • 8000000

Kconfig definition

At <Zephyr>/drivers/clock_control/Kconfig.stm32:30

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/drivers/Kconfig:56<Zephyr>/drivers/clock_control/Kconfig:25

Menu path: (Top) → Device Drivers → Hardware clock controller support → STM32 Reset & Clock Control

config CLOCK_STM32_HSE_CLOCK
    int "HSE clock value"
    default "0" if n
    default 8000000
    depends on CLOCK_CONTROL_STM32_CUBE && CLOCK_CONTROL
    help
      Value of external high-speed clock (HSE). This symbol could be optionally
      configured using device tree by setting "clock-frequency" value of clk_hse
      node. For instance:
      &clk_hse{
      status = "okay";
      clock-frequency = <DT_FREQ_M(25)>;
      };
      Note: Device tree configuration is overridden when current symbol is set:
      CONFIG_CLOCK_STM32_HSE_CLOCK=32000000

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