zephyr/soc/arm/st_stm32/stm32f1
Henrik Brix Andersen 3f97d11afd drivers: can: convert enum can_mode to a bit field
Convert the can_mode enum to a bit field to prepare for future extensions
(CAN-FD mode, transmitter delay compensation, one-shot mode, 3-samples
mode, ...).

Rename the existing modes:
- CAN_NORMAL_MODE   -> CAN_MODE_NORMAL
- CAN_SILENT_MODE   -> CAN_MODE_LISTENONLY
- CAN_LOOPBACK_MODE -> CAN_MODE_LOOPBACK

These mode names align with the Linux naming for CAN control modes.

The old CAN_SILENT_LOOPBACK_MODE can be set with the bitmask
(CAN_MODE_LISTENONLY | CAN_MODE_LOOPBACK).

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-05-11 10:47:54 +02:00
..
CMakeLists.txt
Kconfig.defconfig.series
Kconfig.defconfig.stm32f100xx
Kconfig.defconfig.stm32f103xx
Kconfig.defconfig.stm32f105xc
Kconfig.defconfig.stm32f107xc
Kconfig.series
Kconfig.soc
linker.ld linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
soc.c
soc.h drivers: can: convert enum can_mode to a bit field 2022-05-11 10:47:54 +02:00