This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_CAN_AUTO_BUS_OFF_RECOVERY

Enable automatic recovery from bus-off

Type: bool

Help

This option enables the automatic bus-off recovery according to
ISO 11898-1 (recovery after 128 occurrences of 11 consecutive
recessive bits). When this option is enabled, the recovery API is not
available.

Direct dependencies

CAN

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols that select this symbol

Kconfig definition

At drivers/can/Kconfig:80

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:80

Menu path: (Top) → Device Drivers → CAN Drivers

config CAN_AUTO_BUS_OFF_RECOVERY
    bool "Enable automatic recovery from bus-off"
    default y
    depends on CAN
    help
      This option enables the automatic bus-off recovery according to
      ISO 11898-1 (recovery after 128 occurrences of 11 consecutive
      recessive bits). When this option is enabled, the recovery API is not
      available.

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