Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
uart_arch.h File Reference

linux uart handling More...

#include "mcu_periph/uart.h"
#include <termios.h>
+ Include dependency graph for uart_arch.h:

Go to the source code of this file.

Macros

#define UART_RX_BUFFER_SIZE   512
 
#define UART_TX_BUFFER_SIZE   512
 
#define B100000   100000
 
#define UART_SPEED(_def)   uart_speed(_def)
 

Functions

static int uart_speed (int def)
 

Detailed Description

linux uart handling

Definition in file uart_arch.h.

Macro Definition Documentation

#define B100000   100000

Definition at line 48 of file uart_arch.h.

Referenced by uart_speed().

#define UART_RX_BUFFER_SIZE   512
#define UART_SPEED (   _def)    uart_speed(_def)

Definition at line 71 of file uart_arch.h.

#define UART_TX_BUFFER_SIZE   512

Function Documentation

static int uart_speed ( int  def)
inlinestatic

Definition at line 52 of file uart_arch.h.

References B100000, B115200, B1200, B19200, B230400, B2400, B38400, B4800, B57600, B921600, and B9600.