xsensmti3 2.0.0.0
|
This file contains API for XSENS MTi-3 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | xsensmti3_t |
XSENS MTi-3 Click context object. More... | |
struct | xsensmti3_cfg_t |
XSENS MTi-3 Click configuration object. More... | |
struct | xsensmti3_quat_t |
Click quat structure definition. More... | |
struct | xsensmti3_u32_data_t |
Click 32-bit data structure definition. More... | |
struct | xsensmti3_u16_data_t |
Click 16-bit data structure definition. More... | |
struct | xsensmti3_parse_t |
Click parse structure definition. More... | |
struct | xsensmti3_data_t |
Click roll/pitch/yaw structure definition. More... | |
Macros | |
#define | XSENSMTI3_WAIT_FOR_START 0x00 |
XSENS MTi-3 control commands. | |
#define | XSENSMTI3_START_PROCESS 0x01 |
#define | XSENSMTI3_DATA_PROCESSING 0x02 |
#define | XSENSMTI3_PARSER_DATA 0x03 |
#define | XSENSMTI3_TX_DRV_BUFFER_SIZE 100 |
XSENS MTi-3 driver buffer size. | |
#define | XSENSMTI3_RX_DRV_BUFFER_SIZE 1000 |
#define | XSENSMTI3_MAP_MIKROBUS(cfg, mikrobus) |
MikroBUS pin mapping. | |
Enumerations | |
enum | xsensmti3_return_value_t { XSENSMTI3_OK = 0 , XSENSMTI3_ERROR = -1 } |
XSENS MTi-3 Click return value data. More... | |
Functions | |
void | xsensmti3_cfg_setup (xsensmti3_cfg_t *cfg) |
XSENS MTi-3 configuration object setup function. | |
err_t | xsensmti3_init (xsensmti3_t *ctx, xsensmti3_cfg_t *cfg) |
XSENS MTi-3 initialization function. | |
err_t | xsensmti3_generic_write (xsensmti3_t *ctx, uint8_t *data_buf, uint16_t len) |
XSENS MTi-3 data writing function. | |
err_t | xsensmti3_generic_read (xsensmti3_t *ctx, uint8_t *data_buf, uint16_t max_len) |
XSENS MTi-3 data reading function. | |
void | xsensmti3_parser (uint8_t *rsp_buf, uint8_t start_cnt, xsensmti3_parse_t *obj) |
XSENS MTi-3 general parser. | |
void | xsensmti3_get_data (xsensmti3_quat_t *quat_obj, xsensmti3_data_t *data_obj) |
XSENS MTi-3 get Roll, Pitch and Yaw. | |
err_t | xsensmti3_check_package (uint8_t *package_buf, uint8_t *start_package) |
XSENS MTi-3 checks package. | |
This file contains API for XSENS MTi-3 Click Driver.