Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uart_arch.h File Reference
#include <stdbool.h>
#include <inttypes.h>
#include <stdio.h>
#include <sys/select.h>
#include <unistd.h>
#include <assert.h>
+ Include dependency graph for uart_arch.h:

Go to the source code of this file.

Macros

#define STDINOUT_BUFFER_SIZE   256
 
#define FD_STDIN   0
 
#define StdInOutTransmit(_char)   putchar(_char)
 
#define StdInOutGetch()
 

Functions

static bool StdInOutChAvailable (void)
 

Variables

char stdinout_buffer [STDINOUT_BUFFER_SIZE]
 
uint8_t stdinout_rx_insert_idx
 
uint8_t stdinout_rx_extract_idx
 

Macro Definition Documentation

#define FD_STDIN   0

Definition at line 9 of file uart_arch.h.

Referenced by StdInOutChAvailable().

#define STDINOUT_BUFFER_SIZE   256

Definition at line 8 of file uart_arch.h.

Referenced by StdInOutChAvailable().

#define StdInOutGetch ( )
Value:
({ \
})
uint8_t stdinout_rx_insert_idx
Definition: sim_uart_hw.c:4
char stdinout_buffer[STDINOUT_BUFFER_SIZE]
Definition: sim_uart_hw.c:3
uint8_t stdinout_rx_extract_idx
Definition: sim_uart_hw.c:5

Definition at line 37 of file uart_arch.h.

#define StdInOutTransmit (   _char)    putchar(_char)

Definition at line 36 of file uart_arch.h.

Function Documentation

static bool StdInOutChAvailable ( void  )
inlinestatic

Variable Documentation

char stdinout_buffer[STDINOUT_BUFFER_SIZE]

Definition at line 3 of file sim_uart_hw.c.

Referenced by StdInOutChAvailable().

uint8_t stdinout_rx_extract_idx

Definition at line 5 of file sim_uart_hw.c.

Referenced by StdInOutChAvailable().

uint8_t stdinout_rx_insert_idx

Definition at line 4 of file sim_uart_hw.c.

Referenced by StdInOutChAvailable().