Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
candev_linux.h
Implementation of simulated CAN controller driver using SocketCAN on Linux.
candev_params
Parameters to initialize a candev.
Definition:
device.h:54
candev_params::name
const char * name
candev name to set
Definition:
device.h:55
device.h
Definitions of CAN device interface.
Generated on Wed Oct 1 2025 21:55:44 by
1.9.1