|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
33 #include "pprzlink/pprzlink_device.h"
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
int VCOM_getchar(void)
Reads one character from VCOM port.
int VCOM_peekchar(int ofs)
Reads one character from VCOM port without removing it from the queue.
struct link_device device
Generic device interface.
void VCOM_set_linecoding(uint8_t mode)
int VCOM_putchar(int c)
Writes one character to VCOM port.
void VCOM_allow_linecoding(uint8_t mode)
struct usb_serial_periph usb_serial
void VCOM_event(void)
Poll usb (required by libopencm3).
bool VCOM_check_free_space(uint16_t len)
Checks if buffer free in VCOM buffer.
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
void VCOM_send_message(void)
Send data from fifo right now.
int VCOM_check_available(void)
Checks if data available in VCOM buffer.