:orphan: .. title:: CONFIG_CANFD_MAX_DLC .. kconfig:: CONFIG_CANFD_MAX_DLC CONFIG_CANFD_MAX_DLC #################### *Max data length code in CAN frames* Type: ``int`` Help ==== .. code-block:: none Maximum allowed DLC in a CAN frame. This parameter sets the data buffer size in a CAN frame and is therefore only used to optimize memory consumption. Direct dependencies =================== \ :kconfig:`CAN_FD_MODE ` && \ :kconfig:`CAN ` *(Includes any dependencies from ifs and menus.)* Default ======= - 15 Kconfig definition ================== At ``/can/Kconfig:46`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:42`` → ``/Kconfig:82`` Menu path: (Top) → Device Drivers → CAN Drivers → CAN-FD .. code-block:: kconfig config CANFD_MAX_DLC int "Max data length code in CAN frames" range 8 15 default 15 depends on CAN_FD_MODE && CAN help Maximum allowed DLC in a CAN frame. This parameter sets the data buffer size in a CAN frame and is therefore only used to optimize memory consumption. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*