|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
50 next = (fifo->
head + 1) % fifo->
size;
70 next = (fifo->
tail + 1) % fifo->
size;
106 for (
int i = 0; i < len; ++i) {
VIC slots used for the LPC2148 define name e g gps UART1_VIC_SLOT e g modem SPI1_VIC_SLOT SPI1 in mcu_periph spi_arch c or spi_slave_hs_arch c(and some others not using the SPI peripheral yet..) I2C0_VIC_SLOT 8 mcu_periph/i2c_arch.c I2C1_VIC_SLOT 9 mcu_periph/i2c_arch.c USB_VIC_SLOT 10 usb
static void fifo_init(fifo_t *fifo, uint8_t *buf, size_t size)
void datalink_frsky_x_init(void)
static void frsky_x_serial_put_byte(void *p, long fd, uint8_t c)
static void frsky_x_serial_put_buffer(void *p, long fd, const uint8_t *data, uint16_t len)
#define UPLINK_BUFFER_SIZE
static void frsky_x_serial_send_message(void *p, long fd)
static bool fifo_get(fifo_t *fifo, uint8_t *pc)
smartPortDownlinkFn * smartPortDownlink
#define DOWNLINK_BUFFER_SIZE
static void smartPortUplink_cb(smartPortPayload_t *payload)
static bool fifo_put(fifo_t *fifo, uint8_t c)
static int fifo_free(fifo_t *fifo)
if(GpsFixValid() &&e_identification_started)
smartPortUplinkFn * smartPortUplink
uint8_t uplink_buf[UPLINK_BUFFER_SIZE]
static int frsky_x_serial_check_free_space(void *p, long *fd, uint16_t len)
uint8_t downlink_buf[DOWNLINK_BUFFER_SIZE]
struct link_device device
Generic device interface.
static int frsky_x_serial_char_available(void *p)
static int fifo_avail(fifo_t *fifo)
struct frsky_x_serial_periph frsky_x_serial
static bool smartPortDownlink_cb(uint32_t *data)
static uint8_t frsky_x_serial_get_byte(void *p)