Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
usb_serial.h File Reference

arch independent USB API More...

#include <inttypes.h>
#include "std.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.

Macros

#define UsbSInit()   VCOM_init()
 
#define UsbSCheckFreeSpace(_x)   VCOM_check_free_space(_x)
 
#define UsbSTransmit(_x)   VCOM_putchar(_x)
 
#define UsbSSendMessage()   {}
 
#define UsbSGetch()   VCOM_getchar()
 
#define UsbSChAvailable()   VCOM_check_available()
 

Functions

void VCOM_init (void)
 
int VCOM_putchar (int c)
 
int VCOM_getchar (void)
 
bool_t VCOM_check_free_space (uint8_t len)
 
int VCOM_check_available (void)
 
void VCOM_set_linecoding (uint8_t mode)
 
void VCOM_allow_linecoding (uint8_t mode)
 

Detailed Description

arch independent USB API

Definition in file usb_serial.h.

Macro Definition Documentation

#define UsbSChAvailable ( )    VCOM_check_available()

Definition at line 48 of file usb_serial.h.

#define UsbSCheckFreeSpace (   _x)    VCOM_check_free_space(_x)

Definition at line 44 of file usb_serial.h.

#define UsbSGetch ( )    VCOM_getchar()

Definition at line 47 of file usb_serial.h.

#define UsbSInit ( )    VCOM_init()

Definition at line 43 of file usb_serial.h.

#define UsbSSendMessage ( )    {}

Definition at line 46 of file usb_serial.h.

#define UsbSTransmit (   _x)    VCOM_putchar(_x)

Definition at line 45 of file usb_serial.h.

Function Documentation

void VCOM_allow_linecoding ( uint8_t  mode)

Referenced by main().

+ Here is the caller graph for this function:

int VCOM_check_available ( void  )

Referenced by main().

+ Here is the caller graph for this function:

bool_t VCOM_check_free_space ( uint8_t  len)

Referenced by main().

+ Here is the caller graph for this function:

int VCOM_getchar ( void  )

Referenced by main().

+ Here is the caller graph for this function:

void VCOM_init ( void  )

Referenced by main(), and mcu_init().

+ Here is the caller graph for this function:

int VCOM_putchar ( int  c)

Referenced by main().

+ Here is the caller graph for this function:

void VCOM_set_linecoding ( uint8_t  mode)