|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
28 #ifndef USB_SERIAL_STM32_H
29 #define USB_SERIAL_STM32_H
39 #endif // USB_SERIAL_STM32_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
void event_usb_serial(void)
Call VCOM_poll() from module event function.
void init_usb_serial(void)
Init module, call VCOM_init() from here.
void periodic_usb_serial(void)
Periodic function in case you needed to send data periodically like telemetry Note that the data are ...
void usb_serial_parse_packet(int c)
Parse data from buffer Note that the function receives int, not char Because we want to be able to ca...