can_params.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 OTA keys S.A.
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef CAN_PARAMS_H
20 #define CAN_PARAMS_H
21 
22 #include "candev_linux.h"
23 #include "can/device.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 static const candev_params_t candev_params[] = {
33  { .name = "can0", },
34  { .name = "can1", },
35 };
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* CAN_PARAMS_H */
42 
device.h
Definitions of CAN device interface.
candev_params::name
const char * name
candev name to set
Definition: device.h:56
candev_linux.h
Implementation of simulated CAN controller driver using SocketCAN on Linux.
candev_params
Parameters to initialize a candev.
Definition: device.h:55