can_params.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2016 OTA keys S.A.
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
19 #include "candev_linux.h"
20 #include "can/device.h"
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
29 static const candev_params_t candev_params[] = {
30 #if CAN_DLL_NUMOF >= 1
31  { .name = "can0", },
32 #endif
33 #if CAN_DLL_NUMOF >= 2
34  { .name = "can1", },
35 #endif
36 };
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
Implementation of simulated CAN controller driver using SocketCAN on Linux.
Parameters to initialize a candev.
Definition: device.h:54
const char * name
candev name to set
Definition: device.h:55
Definitions of CAN device interface.