33 #include "pprzlink/pprzlink_device.h"
bool VCOM_check_free_space(uint16_t len)
Checks if buffer free in VCOM buffer.
void VCOM_event(void)
Poll usb (required by libopencm3).
struct usb_serial_periph usb_serial
int VCOM_check_available(void)
Checks if data available in VCOM buffer.
struct link_device device
Generic device interface.
int VCOM_putchar(int c)
Writes one character to VCOM port.
void VCOM_send_message(void)
Send data from fifo right now.
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_set_linecoding(uint8_t mode)
int VCOM_getchar(void)
Reads one character from VCOM port.
void VCOM_allow_linecoding(uint8_t mode)