Struct sh2_SensorMetadata
Defined in File sh2.h
Struct Documentation
-
struct sh2_SensorMetadata
Sensor Metadata Record.
See the SH-2 Reference Manual for more detail.
Public Members
-
uint8_t meVersion
Motion Engine Version.
-
uint8_t mhVersion
Motion Hub Version.
-
uint8_t shVersion
SensorHub Version.
-
uint32_t range
Same units as sensor reports.
-
uint32_t resolution
Same units as sensor reports.
-
uint16_t revision
Metadata record format revision.
-
uint16_t power_mA
[mA] Fixed point 16Q10 format
-
uint32_t minPeriod_uS
[uS]
-
uint32_t maxPeriod_uS
[uS]
-
uint32_t fifoReserved
(Unused)
-
uint32_t fifoMax
(Unused)
-
uint32_t batchBufferBytes
(Unused)
-
uint16_t qPoint1
q point for sensor values
-
uint16_t qPoint2
q point for accuracy or bias fields
-
uint16_t qPoint3
q point for sensor data change sensitivity
-
uint32_t vendorIdLen
[bytes]
-
char vendorId[48]
Vendor name and part number.
-
uint32_t sensorSpecificLen
[bytes]
-
uint8_t sensorSpecific[48]
See SH-2 Reference Manual.
-
uint8_t meVersion