MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
16 namespace data_system {
82 static constexpr
const char*
NAME =
"BuiltInTest";
83 static constexpr
const char*
DOC_NAME =
"BuiltInTest";
88 return std::make_tuple(
result);
93 return std::make_tuple(std::ref(
result));
120 static constexpr
const char*
NAME =
"TimeSyncStatus";
121 static constexpr
const char*
DOC_NAME =
"TimeSyncStatus";
175 static constexpr
const char*
NAME =
"GpioState";
176 static constexpr
const char*
DOC_NAME =
"GpioState";
181 return std::make_tuple(
states);
186 return std::make_tuple(std::ref(
states));
214 static constexpr
const char*
NAME =
"GpioAnalogValue";
215 static constexpr
const char*
DOC_NAME =
"GpioAnalogValue";
225 return std::make_tuple(std::ref(
gpio_id),std::ref(
value));
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_system.hpp:80
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
uint8_t gpio_id
Parameters.
Definition: data_system.hpp:207
auto asTuple()
Definition: data_system.hpp:129
void extract(Serializer &serializer)
Definition: data_system.cpp:69
void insert(Serializer &serializer) const
Serialization.
Definition: data_system.cpp:23
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
static constexpr const char * NAME
Definition: data_system.hpp:214
auto asTuple() const
Definition: data_system.hpp:86
auto asTuple()
Definition: data_system.hpp:91
void extract(Serializer &serializer)
Definition: data_system.cpp:56
@ DATA_BUILT_IN_TEST
Definition: data_system.hpp:33
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_system.hpp:118
static constexpr const char * NAME
Definition: data_system.hpp:175
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_system.hpp:172
static constexpr const char * NAME
Definition: data_system.hpp:82
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
static constexpr const char * DOC_NAME
Definition: data_system.hpp:176
static constexpr const char * DOC_NAME
Definition: data_system.hpp:121
auto asTuple() const
Definition: data_system.hpp:179
void extract(Serializer &serializer)
Definition: data_system.cpp:29
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_system.hpp:79
auto asTuple() const
Definition: data_system.hpp:124
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_system.hpp:173
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_system.hpp:216
bool time_sync
Parameters.
Definition: data_system.hpp:113
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: data_system.hpp:212
uint8_t states
Parameters.
Definition: data_system.hpp:169
static constexpr const char * DOC_NAME
Definition: data_system.hpp:83
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_system.hpp:174
uint8_t result[16]
Parameters.
Definition: data_system.hpp:76
void extract(Serializer &serializer)
Definition: data_system.cpp:43
static constexpr const char * NAME
Definition: data_system.hpp:120
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_system.hpp:119
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_system.hpp:213
void insert(Serializer &serializer) const
Serialization.
Definition: data_system.cpp:36
void insert(Serializer &serializer) const
Serialization.
Definition: data_system.cpp:62
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_system.hpp:117
@ DATA_TIME_SYNC_STATUS
Definition: data_system.hpp:34
auto asTuple()
Definition: data_system.hpp:223
@ DATA_GPIO_ANALOG_VALUE
Definition: data_system.hpp:36
@ DESCRIPTOR_SET
Definition: data_system.hpp:31
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_system.hpp:84
static constexpr const char * DOC_NAME
Definition: data_system.hpp:215
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_system.hpp:122
Definition: data_system.hpp:110
auto asTuple() const
Definition: data_system.hpp:218
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: data_system.hpp:211
Definition: data_system.hpp:73
auto asTuple()
Definition: data_system.hpp:184
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:22
Definition: data_system.hpp:204
void insert(Serializer &serializer) const
Serialization.
Definition: data_system.cpp:51
Definition: data_system.hpp:166
float value
Value of the GPIO line in scaled volts.
Definition: data_system.hpp:208
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: data_system.hpp:81
uint8_t last_pps_rcvd
Elapsed time in seconds since last PPS was received, with a maximum value of 255.
Definition: data_system.hpp:114
@ DATA_GPIO_STATE
Definition: data_system.hpp:35
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: data_system.hpp:177