All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
can_params.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2024 ML!PA Consulting GmbH
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 
20 #ifndef CAN_PARAMS_H
21 #define CAN_PARAMS_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include "can/device.h"
28 
30 static const candev_params_t candev_params[] = {
31  {
32  .name = "can_samd5x_0",
33  },
34  {
35  .name = "can_samd5x_1",
36  }
37 };
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif /* CAN_PARAMS_H */
Parameters to initialize a candev.
Definition: device.h:55
const char * name
candev name to set
Definition: device.h:56
Definitions of CAN device interface.