CONFIG_CAN_STM32_CLOCK_DIVISOR

CAN clock divisor

Type: int

Help

The APB clock is divided by this value (stored in CKDIV register)
before it is fed to the CAN core.
Note that the the divisor affects all CAN controllers.
Allowed values: 1 or 2 * n, where n <= 15.

Direct dependencies

CAN_STM32FD && CAN

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/drivers/can/Kconfig.stm32fd:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:80<Zephyr>/drivers/can/Kconfig:85

Menu path: (Top) → Device Drivers → CAN Drivers → STM32 FDCAN driver

config CAN_STM32_CLOCK_DIVISOR
    int "CAN clock divisor"
    range 1 30
    default 1
    depends on CAN_STM32FD && CAN
    help
      The APB clock is divided by this value (stored in CKDIV register)
      before it is fed to the CAN core.
      Note that the the divisor affects all CAN controllers.
      Allowed values: 1 or 2 * n, where n <= 15.

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