nuttx/drivers/can
Michal Lenc 816b1b28a0 can: enhance API to allow better CAN FD handling
This commit moves can_bytes2dlc and can_dlc2bytes from kernel internal
functions to API. These functions are necessary to convert bytes to
dlc for CAN FD frames and has to be accessible from the application
since can_hdr_s does not store message length in bytes but directly in
dlc.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-07-10 11:33:03 -03:00
..
can.c can: enhance API to allow better CAN FD handling 2024-07-10 11:33:03 -03:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig drivers/can/sja1000: Add SJA1000 CAN driver support 2024-03-19 15:45:53 -03:00
Make.defs drivers/can/sja1000: Add SJA1000 CAN driver support 2024-03-19 15:45:53 -03:00
mcp2515.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
mcp2515.h drivers: Alan Carvalho de Assis: update licenses to Apache 2021-03-13 05:56:43 -08:00
sja1000.c drivers/can/sja1000: fix cmd register write 2024-06-19 01:54:27 +08:00
sja1000.h drivers/can/sja1000: Add SJA1000 CAN driver support 2024-03-19 15:45:53 -03:00