MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
22 "Device-specific bitfield (128 bits). See device user manual.\nBits are least-significant-byte first. For example, bit 0 is\nlocated at bit 0 of result[0], bit 1 is located at bit 1 of result[0],\nbit 8 is located at bit 0 of result[1], and bit 127 is located at bit\n7 of result[15].",
25 {
true,
false,
false,
false,
false},
32 "data_system::BuiltInTest",
34 "Contains the continuous built-in-test (BIT) results.\n\nDue to the large size of this field, it is recommended to stream it at\na low rate or poll it on demand.\n\nThese bits are 'sticky' until the next output message. If a fault occurs\nin between scheduled messages or while the device is idle, the next\npacket with this field will have the corresponding flags set. The flag\nis then cleared unless the fault persists.\n\nUnlike the commanded BIT, some bits may be 1 in certain\nnon-fault situations, so simply checking if the result is all 0s is\nnot very useful. For example, on devices with a built-in GNSS receiver,\na 'solution fault' bit may be set before the receiver has obtained\na position fix. Consult the device manual to determine which bits are\nof interest for your application.\n\nAll unspecified bits are reserved for future use and must be ignored.\n",
50 "True if sync with the PPS signal is currently valid. False if PPS\nfeature is disabled or a PPS signal is not detected.",
53 {
true,
false,
false,
false,
false},
59 "Elapsed time in seconds since last PPS was received, with a maximum\nvalue of 255.",
62 {
true,
false,
false,
false,
false},
69 "data_system::TimeSyncStatus",
71 "Indicates whether a sync has been achieved using the PPS signal.",
87 "Bitfield containing the states for each GPIO pin.<br/>\nBit 0 (0x01): pin 1<br/>\nBit 1 (0x02): pin 2<br/>\nBit 2 (0x04): pin 3<br/>\nBit 3 (0x08): pin 4<br/>\nBits for pins that don't exist will read as 0.",
90 {
true,
false,
false,
false,
false},
97 "data_system::GpioState",
99 "Indicates the state of all of the user GPIO pins.\n\nThis message can be used to correlate external signals\nwith the device time or other data quantities. It should\ngenerally be used with slow GPIO signals as brief pulses\nshorter than the scheduled data rate will be missed.\n\nTo synchronize with faster signals and pulses, or for more accurate timestamping,\nutilize the event system and set the GPIO feature to TIMESTAMP in the 3DM GPIO\nConfiguration command (0x0C,0x41).\n\nThese GPIO states are sampled within one base period\nof the system data descriptor set.\n\nTo obtain valid readings, the desired pin(s) must be configured to the GPIO feature\n(either input or output behavior) using the 3DM GPIO Configuration command\n(0x0C,0x41). Other gpio features may work on some devices but this is not guaranteed.\nConsult the factory before producing a design relying on reading pins configured\nto other feature types.",
115 "GPIO pin number starting with 1.",
118 {
true,
false,
false,
false,
false},
124 "Value of the GPIO line in scaled volts.",
127 {
true,
false,
false,
false,
false},
134 "data_system::GpioAnalogValue",
136 "Indicates the analog value of the given user GPIO.\nThe pin must be configured for analog input.",
145 static constexpr
inline const FieldInfo* DATA_SYSTEM_FIELDS[] = {
152 static constexpr DescriptorSetInfo DATA_SYSTEM = {
@ DESCRIPTOR_SET
Definition: data_system.hpp:31
Definition: data_system.hpp:110
Definition: data_system.hpp:73
Definition: data_system.hpp:204
Definition: data_system.hpp:166