|
Witmotion IMU Library 1.3.1~dev_7ac354c
Open source UART communication library for sensor devices manufactured by WitMotion Shenzhen Co.,Ltd
|
Generic structure respresenting the standard 5-byte configuration command defined in Witmotion protocol.
#include <types.h>

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. | ||