CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_Fct_Value.h
Go to the documentation of this file.
1 //*********************************************************
2 // File: CLC_Fct_Value.h
3 // Project: CopperLan CHAILink Client SDK
4 // Version: 1.3
5 // Release Date: 2014/04/15
6 //*********************************************************
7 
8 /********************************************************************
9 Software License Agreement: CHAILink Client source code
10 
11 The software supplied herewith by Klavis Technology (the “Company”) is intended and
12 supplied to you, the Company’s customer, for use solely and exclusively on embedded
13 CopperLan products needing a CHAILink Client.
14  The software is owned by the Company and/or its supplier, and is protected
15  under applicable copyright laws. All rights are reserved. Any use in violation of the
16  foregoing restrictions may subject the user to criminal sanctions under applicable laws,
17 as well as to civil liability for the breach of the terms and conditions of this license.
18 
19 THIS SOFTWARE MUST REMAIN UNMODIFIED. NO WARRANTIES, WHETHER EXPRESS,
20  IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
21  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE
22 IN CASE OF SOURCE CODE CHANGE BY THE CUSTOMER. IN CASE OF SUCH CHANGE, THE
23 COMPANY SHALL NOT BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
24 OF ANY KIND.
25 ********************************************************************/
26 
27 #ifndef _CLC_FCT_VALUE_H_
28 #define _CLC_FCT_VALUE_H_
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
38 
44  CPVALUE * const pValue,
45  CPUINT16 const wRawValue,
46  CPBOOLEAN const fBipolarRawValue);
47 
57  CPVALUE * const pValue,
58  CPUINT16 const wRawValue,
59  DataTypes const dataType,
60  void const * const pTypedValue,
61  CPBOOLEAN const fBipolarRawValue);
62 
67  CPVALUE const * const pValue
68  );
69 
74  CPVALUE const * const pValue
75  );
76 
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif // _CLC_FCT_VALUE_H_
CPBOOLEAN CPVALUE_IsRawValueBipolar(CPVALUE const *const pValue)
Tells if the raw value is bipolar.
#define CLC_SDK_API
Definition: CLCm_Platform.h:37
DataTypes
CopperLan Data types Data Types are used to identify numeric value format.
Definition: CLC_Enums.h:389
void CPVALUE_Set(CPVALUE *const pValue, CPUINT16 const wRawValue, DataTypes const dataType, void const *const pTypedValue, CPBOOLEAN const fBipolarRawValue)
Set raw value and typed value.
unsigned short CPUINT16
Word Integer (16 bit unsigned)
Definition: PlatformTypes.h:45
DataTypes CPVALUE_GetDataType(CPVALUE const *const pValue)
Get data type.
The container structure for Value. Use CPValue Functions CPVALUE_xxx functions to handle this structu...
Definition: CLC_Types.h:117
void CPVALUE_SetRawOnly(CPVALUE *const pValue, CPUINT16 const wRawValue, CPBOOLEAN const fBipolarRawValue)
Set a CPVALUE structure to the specified raw value.