|
Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
arch independent USB API More...
#include <inttypes.h>#include "std.h"#include "pprzlink/pprzlink_device.h"#include "mcu_periph/uart.h"#include "mcu_arch.h"
Include dependency graph for usb_serial.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | usb_serial_periph |
Macros | |
| #define | USB_RX_BUFFER_SIZE UART_RX_BUFFER_SIZE |
| #define | USBD_NUMBER 1 |
Functions | |
| void | VCOM_init (void) |
| int | VCOM_putchar (int c) |
| int | VCOM_getchar (void) |
| int | VCOM_peekchar (int ofs) |
| bool | VCOM_check_free_space (uint16_t len) |
| int | VCOM_check_available (void) |
| void | VCOM_set_linecoding (uint8_t mode) |
| void | VCOM_allow_linecoding (uint8_t mode) |
| void | VCOM_send_message (void) |
| void | VCOM_event (void) |
Variables | |
| struct usb_serial_periph | usb_serial |
arch independent USB API
Definition in file usb_serial.h.
| struct usb_serial_periph |
Definition at line 51 of file usb_serial.h.
Collaboration diagram for usb_serial_periph:| Data Fields | ||
|---|---|---|
| struct link_device | device | Generic device interface. |
| uint16_t | nb_bytes | |
| void * | reg_addr | |
| uint8_t | rx_buf[USB_RX_BUFFER_SIZE] | Receive buffer. |
| uint16_t | rx_read_idx | |
| #define USB_RX_BUFFER_SIZE UART_RX_BUFFER_SIZE |
Definition at line 38 of file usb_serial.h.
| #define USBD_NUMBER 1 |
Definition at line 48 of file usb_serial.h.
|
extern |