| * Copyright (c) 2019 Alexander Wachter |
| * SPDX-License-Identifier: Apache-2.0 |
| #ifndef ZEPHYR_DRIVERS_CAN_LOOPBACK_CAN_H_ |
| #define ZEPHYR_DRIVERS_CAN_LOOPBACK_CAN_H_ |
| #define DEV_DATA(dev) ((struct can_loopback_data *const)(dev)->driver_data) |
| ((const struct can_loopback_config *const)(dev)->config->config_info) |
| struct can_loopback_filter { |
| struct zcan_filter filter; |
| struct can_loopback_data { |
| struct can_loopback_filter filters[CONFIG_CAN_MAX_FILTER]; |
| struct can_loopback_config { |
| #endif /*ZEPHYR_DRIVERS_CAN_LOOPBACK_CAN_H_*/ |