Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
#if CAN_DLL_NUMOF >= 1
34
{ .
name
=
"can0"
, },
35
#endif
36
#if CAN_DLL_NUMOF >= 2
37
{ .name =
"can1"
, },
38
#endif
39
};
40
41
#ifdef __cplusplus
42
}
43
#endif
44
45
#endif
/* CAN_PARAMS_H */
candev_linux.h
Implementation of simulated CAN controller driver using SocketCAN on Linux.
candev_params
Parameters to initialize a candev.
Definition
device.h:55
candev_params::name
const char * name
candev name to set
Definition
device.h:56
device.h
Definitions of CAN device interface.
Generated on Sat Nov 23 2024 16:31:07 by
1.9.8