Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
frsky_x.h File Reference
#include "pprzlink/pprzlink_device.h"
+ Include dependency graph for frsky_x.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fifo_t
 
struct  frsky_x_serial_periph
 

Macros

#define DOWNLINK_BUFFER_SIZE   512
 
#define UPLINK_BUFFER_SIZE   512
 

Functions

void datalink_frsky_x_init (void)
 

Variables

struct frsky_x_serial_periph frsky_x_serial
 

Data Structure Documentation

◆ fifo_t

struct fifo_t

Definition at line 52 of file usb_ser_hw.c.

Data Fields
uint8_t * buf
int head
size_t size
int tail

◆ frsky_x_serial_periph

struct frsky_x_serial_periph

Definition at line 37 of file frsky_x.h.

+ Collaboration diagram for frsky_x_serial_periph:
Data Fields
struct link_device device Generic device interface.
uint8_t downlink_buf[DOWNLINK_BUFFER_SIZE]
fifo_t downlink_fifo
uint8_t uplink_buf[UPLINK_BUFFER_SIZE]
fifo_t uplink_fifo

Macro Definition Documentation

◆ DOWNLINK_BUFFER_SIZE

#define DOWNLINK_BUFFER_SIZE   512

Definition at line 27 of file frsky_x.h.

◆ UPLINK_BUFFER_SIZE

#define UPLINK_BUFFER_SIZE   512

Definition at line 28 of file frsky_x.h.

Function Documentation

◆ datalink_frsky_x_init()

Variable Documentation

◆ frsky_x_serial

struct frsky_x_serial_periph frsky_x_serial
extern

Definition at line 1 of file frsky_x.c.

Referenced by datalink_frsky_x_init(), smartPortDownlink_cb(), and smartPortUplink_cb().