28 #include "pprzlink/pprzlink_device.h"
37 struct link_device *
dev = &((XSENS_LINK).device);
38 if (dev->char_available(dev->periph)) {
39 while (dev->char_available(dev->periph) && !xsensparser->
msg_received) {
50 if (c != XSENS_START) {
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
volatile uint8_t msg_received
void xsens_parser_func(struct XsensParser *xsens, uint8_t c)
static const struct usb_device_descriptor dev
uint8_t msg_buf[XSENS_MAX_PAYLOAD]
Parser for the XSens protocol.
#define XSENS_MAX_PAYLOAD
Includes macros generated from xsens_MTi-G.xml.
void xsens_parser_event(struct XsensParser *xsensparser)
#define UNINIT
Receiving pprz messages.