Witmotion IMU Library  1.3.1~dev_4684448
Open source UART communication library for sensor devices manufactured by WitMotion Shenzhen Co.,Ltd
witmotion::witmotion_config_packet Struct Reference

Generic structure respresenting the standard 5-byte configuration command defined in Witmotion protocol.

#include <types.h>

Collaboration diagram for witmotion::witmotion_config_packet:
Collaboration graph

Public Attributes

uint8_t header_byte
 Header byte, set constantly to WITMOTION_CONFIG_HEADER.
 
uint8_t key_byte
 Packet type, constantly set to WITMOTION_CONFIG_KEY.
 
uint8_t address_byte
 Configuration slot address, refers to the registered values in witmotion_config_register_id.
 
union {
   uint8_t   raw [2]
 
   uint16_t   bin
 
setting
 2-byte internal data storage array represented as C-style memory union. The values should be formulated byte-by-byte referring to the actual sensor's documentation.
 

The documentation for this struct was generated from the following file: