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
sim_uart.h File Reference

Simulation of uart transmission on an Unix pipe. More...

#include <stdio.h>
+ Include dependency graph for sim_uart.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define SimUartCheckFreeSpace(_)   TRUE
#define SimUartTransmit(_x)   fputc(_x, pipe_stream)
#define SimUartPrintString(_s)   fputs(_s, pipe_stream)
#define SimUartSendMessage()   fflush(pipe_stream);
#define SimUartPrintHex16(c)   _PrintHex16(SimUartTransmit, c)


FILE * pipe_stream

Detailed Description

Simulation of uart transmission on an Unix pipe.

Definition in file sim_uart.h.

Macro Definition Documentation

#define SimUartCheckFreeSpace (   _)    TRUE

Definition at line 9 of file sim_uart.h.

#define SimUartPrintHex16 (   c)    _PrintHex16(SimUartTransmit, c)

Definition at line 14 of file sim_uart.h.

#define SimUartPrintString (   _s)    fputs(_s, pipe_stream)

Definition at line 12 of file sim_uart.h.

#define SimUartSendMessage ( )    fflush(pipe_stream);

Definition at line 13 of file sim_uart.h.

#define SimUartTransmit (   _x)    fputc(_x, pipe_stream)

Definition at line 11 of file sim_uart.h.

Variable Documentation

FILE* pipe_stream

Definition at line 3 of file sim_uart.c.

Referenced by sim_init().