Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
xsens700.c File Reference

Parser for the Xsens700 protocol. More...

#include "xsens700.h"
#include "led.h"
#include "generated/airframe.h"
#include "mcu_periph/uart.h"
+ Include dependency graph for xsens700.c:

Go to the source code of this file.

Functions

void xsens700_init (void)
 
static void xsens_ask_message_rate (uint8_t c1, uint8_t c2, uint8_t freq)
 
void xsens700_periodic (void)
 
void parse_xsens700_msg (void)
 

Variables

uint8_t xsens_errorcode
 
uint32_t xsens_msg_statusword
 
uint16_t xsens_time_stamp
 
uint16_t xsens_output_mode
 
uint32_t xsens_output_settings
 
float xsens_gps_arm_x = 0
 
float xsens_gps_arm_y = 0
 
float xsens_gps_arm_z = 0
 
struct Xsens xsens700
 
volatile int xsens_configured = 0
 

Detailed Description

Parser for the Xsens700 protocol.

Definition in file xsens700.c.

Function Documentation

void xsens700_init ( void  )

Definition at line 53 of file xsens700.c.

References Xsens::parser, XsensParser::status, UNINIT, xsens700, xsens_configured, xsens_msg_statusword, and xsens_time_stamp.

Referenced by ins_xsens700_init().

+ Here is the caller graph for this function:

void xsens700_periodic ( void  )

Definition at line 71 of file xsens700.c.

References xsens_ask_message_rate(), xsens_configured, XsensHeader, and XsensTrailer.

+ Here is the call graph for this function:

static void xsens_ask_message_rate ( uint8_t  c1,
uint8_t  c2,
uint8_t  freq 
)
static

Definition at line 62 of file xsens700.c.

References foo, and XsensSend1ByAddr.

Referenced by xsens700_periodic().

+ Here is the caller graph for this function:

Variable Documentation

struct Xsens xsens700
volatile int xsens_configured = 0

Definition at line 51 of file xsens700.c.

Referenced by xsens700_init(), and xsens700_periodic().

uint8_t xsens_errorcode

Definition at line 39 of file xsens700.c.

Referenced by parse_xsens700_msg().

float xsens_gps_arm_x = 0

Definition at line 45 of file xsens700.c.

Referenced by parse_xsens700_msg().

float xsens_gps_arm_y = 0

Definition at line 46 of file xsens700.c.

Referenced by parse_xsens700_msg().

float xsens_gps_arm_z = 0

Definition at line 47 of file xsens700.c.

Referenced by parse_xsens700_msg().

uint32_t xsens_msg_statusword

Definition at line 40 of file xsens700.c.

Referenced by parse_xsens700_msg(), and xsens700_init().

uint16_t xsens_output_mode

Definition at line 42 of file xsens700.c.

uint32_t xsens_output_settings

Definition at line 43 of file xsens700.c.

uint16_t xsens_time_stamp

Definition at line 41 of file xsens700.c.

Referenced by xsens700_init().