MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
28 #ifdef MIP_ENABLE_DIAGNOSTICS
31 #define MIP_DIAG_INC(counter, amount) do { if (counter + amount < counter) counter = -1; else counter += amount; } while(false)
33 #define MIP_DIAG_ZERO(counter) counter = 0
35 #else // MIP_ENABLE_DIAGNOSTICS
38 #define MIP_DIAG_INC(counter, amount) (void)amount
40 #define MIP_DIAG_ZERO(counter) (void)0
42 #endif // MIP_ENABLE_DIAGNOSTICS
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
microstrain::C::microstrain_embedded_timestamp mip_timeout
Definition: mip_types.h:16
uint32_t microstrain_embedded_timestamp
Type used for packet timestamps and timeouts.
Definition: embedded_time.h:32
C::microstrain_embedded_timestamp EmbeddedTimestamp
Definition: embedded_time.hpp:9
microstrain::EmbeddedTimestamp Timestamp
Definition: mip_types.h:50
microstrain::EmbeddedTimeout Timeout
Definition: mip_types.h:51
C::microstrain_embedded_timeout EmbeddedTimeout
Definition: embedded_time.hpp:10
microstrain::C::microstrain_embedded_timestamp mip_timestamp
Definition: mip_types.h:15