Zephyr Scientific Library (zscilib)
include
zsl
measurement
base.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2021 Linaro
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
24
#ifndef ZSL_MEASUREMENT_BASE_H__
25
#define ZSL_MEASUREMENT_BASE_H__
26
27
#include <
zsl/zsl.h
>
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
52
enum
zsl_mes_type
{
53
ZSL_MES_TYPE_UNDEFINED
= 0,
54
55
ZSL_MES_TYPE_AREA
= 0x10,
56
ZSL_MES_TYPE_ACCELERATION
= 0x11,
57
ZSL_MES_TYPE_AMPLITUDE
= 0x12,
58
ZSL_MES_TYPE_CAPACITANCE
= 0x13,
59
ZSL_MES_TYPE_COLOR
= 0x14,
60
ZSL_MES_TYPE_COORDINATES
= 0x15,
61
ZSL_MES_TYPE_CURRENT
= 0x16,
62
ZSL_MES_TYPE_DIMENSION
= 0x17,
63
ZSL_MES_TYPE_FREQUENCY
= 0x18,
64
ZSL_MES_TYPE_HUMIDITY
= 0x19,
65
ZSL_MES_TYPE_INDUCTANCE
= 0x1A,
66
ZSL_MES_TYPE_LIGHT
= 0x1B,
67
ZSL_MES_TYPE_MAGNETIC_FIELD
= 0x1C,
68
ZSL_MES_TYPE_MASS
= 0x1D,
69
ZSL_MES_TYPE_MOMENTUM
= 0x1E,
70
ZSL_MES_TYPE_ORIENTATION
= 0x1F,
71
ZSL_MES_TYPE_PHASE
= 0x20,
72
ZSL_MES_TYPE_PRESSURE
= 0x21,
73
ZSL_MES_TYPE_RESISTANCE
= 0x22,
74
ZSL_MES_TYPE_SOUND
= 0x23,
75
ZSL_MES_TYPE_TEMPERATURE
= 0x24,
76
ZSL_MES_TYPE_TIME
= 0x25,
77
ZSL_MES_TYPE_VELOCITY
= 0x26,
78
ZSL_MES_TYPE_VOLTAGE
= 0x27,
79
ZSL_MES_TYPE_VOLUME
= 0x28,
80
ZSL_MES_TYPE_ACIDITY
= 0x29,
81
ZSL_MES_TYPE_CONDUCTIVITY
= 0x2A,
82
ZSL_MES_TYPE_FORCE
= 0x2B,
83
ZSL_MES_TYPE_ENERGY
= 0x2C,
85
ZSL_MES_TYPE_USER_1
= 0xF0,
86
ZSL_MES_TYPE_USER_2
= 0xF1,
87
ZSL_MES_TYPE_USER_3
= 0xF2,
88
ZSL_MES_TYPE_USER_4
= 0xF3,
89
ZSL_MES_TYPE_USER_5
= 0xF4,
90
ZSL_MES_TYPE_USER_6
= 0xF5,
91
ZSL_MES_TYPE_USER_7
= 0xF6,
92
ZSL_MES_TYPE_USER_8
= 0xF7,
93
ZSL_MES_TYPE_USER_9
= 0xF8,
94
ZSL_MES_TYPE_USER_10
= 0xF9,
95
ZSL_MES_TYPE_USER_11
= 0xFA,
96
ZSL_MES_TYPE_USER_12
= 0xFB,
97
ZSL_MES_TYPE_USER_13
= 0xFC,
98
ZSL_MES_TYPE_USER_14
= 0xFD,
99
ZSL_MES_TYPE_USER_15
= 0xFE,
101
ZSL_MES_TYPE_MAX
= 0xFF
102
};
103
104
#ifdef __cplusplus
105
}
106
#endif
107
112
#endif
/* ZSL_MEASUREMENT_BASE_H__ */
ZSL_MES_TYPE_CONDUCTIVITY
@ ZSL_MES_TYPE_CONDUCTIVITY
Definition:
base.h:81
ZSL_MES_TYPE_USER_8
@ ZSL_MES_TYPE_USER_8
Definition:
base.h:92
ZSL_MES_TYPE_USER_1
@ ZSL_MES_TYPE_USER_1
Definition:
base.h:85
ZSL_MES_TYPE_COLOR
@ ZSL_MES_TYPE_COLOR
Definition:
base.h:59
ZSL_MES_TYPE_AREA
@ ZSL_MES_TYPE_AREA
Definition:
base.h:55
ZSL_MES_TYPE_VELOCITY
@ ZSL_MES_TYPE_VELOCITY
Definition:
base.h:77
ZSL_MES_TYPE_USER_12
@ ZSL_MES_TYPE_USER_12
Definition:
base.h:96
ZSL_MES_TYPE_LIGHT
@ ZSL_MES_TYPE_LIGHT
Definition:
base.h:66
ZSL_MES_TYPE_USER_2
@ ZSL_MES_TYPE_USER_2
Definition:
base.h:86
ZSL_MES_TYPE_USER_6
@ ZSL_MES_TYPE_USER_6
Definition:
base.h:90
ZSL_MES_TYPE_USER_5
@ ZSL_MES_TYPE_USER_5
Definition:
base.h:89
ZSL_MES_TYPE_UNDEFINED
@ ZSL_MES_TYPE_UNDEFINED
Definition:
base.h:53
ZSL_MES_TYPE_DIMENSION
@ ZSL_MES_TYPE_DIMENSION
Definition:
base.h:62
ZSL_MES_TYPE_USER_3
@ ZSL_MES_TYPE_USER_3
Definition:
base.h:87
ZSL_MES_TYPE_USER_9
@ ZSL_MES_TYPE_USER_9
Definition:
base.h:93
ZSL_MES_TYPE_USER_11
@ ZSL_MES_TYPE_USER_11
Definition:
base.h:95
ZSL_MES_TYPE_USER_7
@ ZSL_MES_TYPE_USER_7
Definition:
base.h:91
ZSL_MES_TYPE_SOUND
@ ZSL_MES_TYPE_SOUND
Definition:
base.h:74
ZSL_MES_TYPE_VOLTAGE
@ ZSL_MES_TYPE_VOLTAGE
Definition:
base.h:78
ZSL_MES_TYPE_INDUCTANCE
@ ZSL_MES_TYPE_INDUCTANCE
Definition:
base.h:65
zsl_mes_type
zsl_mes_type
Base measurement type.
Definition:
base.h:52
ZSL_MES_TYPE_FORCE
@ ZSL_MES_TYPE_FORCE
Definition:
base.h:82
ZSL_MES_TYPE_TEMPERATURE
@ ZSL_MES_TYPE_TEMPERATURE
Definition:
base.h:75
ZSL_MES_TYPE_RESISTANCE
@ ZSL_MES_TYPE_RESISTANCE
Definition:
base.h:73
ZSL_MES_TYPE_ENERGY
@ ZSL_MES_TYPE_ENERGY
Definition:
base.h:83
ZSL_MES_TYPE_VOLUME
@ ZSL_MES_TYPE_VOLUME
Definition:
base.h:79
ZSL_MES_TYPE_ORIENTATION
@ ZSL_MES_TYPE_ORIENTATION
Definition:
base.h:70
ZSL_MES_TYPE_CAPACITANCE
@ ZSL_MES_TYPE_CAPACITANCE
Definition:
base.h:58
ZSL_MES_TYPE_MAX
@ ZSL_MES_TYPE_MAX
Definition:
base.h:101
ZSL_MES_TYPE_ACIDITY
@ ZSL_MES_TYPE_ACIDITY
Definition:
base.h:80
ZSL_MES_TYPE_CURRENT
@ ZSL_MES_TYPE_CURRENT
Definition:
base.h:61
ZSL_MES_TYPE_PHASE
@ ZSL_MES_TYPE_PHASE
Definition:
base.h:71
ZSL_MES_TYPE_USER_10
@ ZSL_MES_TYPE_USER_10
Definition:
base.h:94
ZSL_MES_TYPE_USER_15
@ ZSL_MES_TYPE_USER_15
Definition:
base.h:99
ZSL_MES_TYPE_USER_14
@ ZSL_MES_TYPE_USER_14
Definition:
base.h:98
ZSL_MES_TYPE_USER_13
@ ZSL_MES_TYPE_USER_13
Definition:
base.h:97
zsl.h
API header file for zscilib.
ZSL_MES_TYPE_USER_4
@ ZSL_MES_TYPE_USER_4
Definition:
base.h:88
ZSL_MES_TYPE_TIME
@ ZSL_MES_TYPE_TIME
Definition:
base.h:76
ZSL_MES_TYPE_FREQUENCY
@ ZSL_MES_TYPE_FREQUENCY
Definition:
base.h:63
ZSL_MES_TYPE_MAGNETIC_FIELD
@ ZSL_MES_TYPE_MAGNETIC_FIELD
Definition:
base.h:67
ZSL_MES_TYPE_HUMIDITY
@ ZSL_MES_TYPE_HUMIDITY
Definition:
base.h:64
ZSL_MES_TYPE_ACCELERATION
@ ZSL_MES_TYPE_ACCELERATION
Definition:
base.h:56
ZSL_MES_TYPE_PRESSURE
@ ZSL_MES_TYPE_PRESSURE
Definition:
base.h:72
ZSL_MES_TYPE_COORDINATES
@ ZSL_MES_TYPE_COORDINATES
Definition:
base.h:60
ZSL_MES_TYPE_MASS
@ ZSL_MES_TYPE_MASS
Definition:
base.h:68
ZSL_MES_TYPE_MOMENTUM
@ ZSL_MES_TYPE_MOMENTUM
Definition:
base.h:69
ZSL_MES_TYPE_AMPLITUDE
@ ZSL_MES_TYPE_AMPLITUDE
Definition:
base.h:57
Generated by
1.8.17