CCAux
2.7.2.0
CCAux API reference
Main Page
Namespaces
Data Structures
Files
File List
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
IncludeFiles
CanSetting.h
Go to the documentation of this file.
1
/************************************************
2
*
3
* CROSSCONTROL AUX API
4
*
5
* CanSetting.h
6
*
7
* Version 2.7.2.0, 2014-08-25
8
*
9
* (c) maximatecc 2013
10
*
11
* File description:
12
* Can settings
13
*
14
* Use the function GetCanSetting() to get a handle to pass on to the other functions.
15
* Use the method CanSetting_release(CANSETTINGHANDLE) to return the handle.
16
*
17
* Example Usage:
18
* @include cansetting_example.cpp
19
*
20
************************************************/
21
#ifndef CC_CAN_SETTING_H
22
#define CC_CAN_SETTING_H
23
24
#include "
CCAuxErrors.h
"
25
#include "
CCPlatform.h
"
26
27
#ifdef __cplusplus
28
namespace
CrossControl {
29
#endif
30
31
typedef
void
*
CANSETTINGHANDLE
;
32
33
47
EXTERN_C
48
CCAUXDLL_API
49
CANSETTINGHANDLE
50
CCAUXDLL_CALLING_CONV
51
GetCanSetting
(
void
);
52
63
EXTERN_C
64
CCAUXDLL_API
65
void
66
CCAUXDLL_CALLING_CONV
67
CanSetting_release
(
CANSETTINGHANDLE
);
68
82
EXTERN_C
83
CCAUXDLL_API
84
eErr
85
CCAUXDLL_CALLING_CONV
86
CanSetting_getBaudrate
(
CANSETTINGHANDLE
,
unsigned
char
net,
unsigned
short
* baudrate);
87
101
EXTERN_C
102
CCAUXDLL_API
103
eErr
104
CCAUXDLL_CALLING_CONV
105
CanSetting_getFrameType
(
CANSETTINGHANDLE
,
unsigned
char
net,
CanFrameType
* frameType);
106
119
EXTERN_C
120
CCAUXDLL_API
121
eErr
122
CCAUXDLL_CALLING_CONV
123
CanSetting_setBaudrate
(
CANSETTINGHANDLE
,
unsigned
char
net,
unsigned
short
baudrate);
124
135
EXTERN_C
136
CCAUXDLL_API
137
eErr
138
CCAUXDLL_CALLING_CONV
139
CanSetting_setFrameType
(
CANSETTINGHANDLE
,
unsigned
char
net,
CanFrameType
frameType);
140
141
#ifdef __cplusplus
142
}
/* namespace CrossControl */
143
#endif
144
145
#endif
/* CC_CAN_SETTING_H */
146
Generated on Mon Aug 25 2014 17:48:49 for CCAux by
1.8.3.1