Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Members
All
a
c
d
e
f
h
i
l
m
n
p
r
s
t
u
v
w
x
y
z
~
Functions
Variables
a
c
d
e
f
h
i
l
m
n
p
r
s
t
u
v
w
x
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
w
x
y
z
Functions
a
c
d
e
g
i
l
m
p
r
s
u
v
w
Variables
a
c
k
l
m
n
r
s
t
u
w
Typedefs
a
b
c
f
i
l
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
e
f
i
l
m
p
r
s
t
u
v
Macros
_
a
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
x
y
z
toposens-library
toposens_sensor_library
include
toposens
linux
socketinterface.h
Go to the documentation of this file.
1
8
#ifndef TOPOSENS_LINUX_SOCKETINTERFACE_H
/* include control, avoid multiple includes of header \
9
* file \
10
*/
11
#define TOPOSENS_LINUX_SOCKETINTERFACE_H
12
13
/*---- "project includes" -------------------------------------------------------------*/
14
#include "
toposens/sensor_lib.h
"
15
#ifdef CAN_AVAILABLE
16
/*---- <system includes> --------------------------------------------------------------*/
17
#include <linux/can.h>
18
#include <stdint.h>
19
/*---- "library includes" -------------------------------------------------------------*/
20
21
/*---- public macros and constants ----------------------------------------------------*/
22
23
/*---- public types -------------------------------------------------------------------*/
24
25
/*---- public variables prototypes ----------------------------------------------------*/
26
27
/*---- public functions prototypes ----------------------------------------------------*/
28
36
int
WriteFrame(
struct
can_frame* frame);
37
47
int
SetupSocket(
char
* InterfaceName_cp, uint32_t InterfaceBitrate_u32);
48
56
int
DeinitSocket();
57
65
void
RegisterReadCallback(
void
(*Callback)(
struct
can_frame* frame));
66
/*---- public inline functions --------------------------------------------------------*/
67
68
#endif
/* end of include control */
69
#endif // TOPOSENS_LINUX_SOCKETINTERFACE_H
sensor_lib.h
This file contains the highlevel interface prototypes to the low-level Protocol.
toposens_echo_driver
Author(s): Tobias Roth
, Dennis Maier
, Baris Yazici
autogenerated on Wed Mar 2 2022 01:12:32