Paparazzi UAS  v5.14.0_stable-0-g3f680d1
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
#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)
 

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

Definition at line 31 of file uart_arch.h.

#define UART_SPEED (   _def)    uart_speed(_def)

Definition at line 71 of file uart_arch.h.

#define UART_TX_BUFFER_SIZE   512

Definition at line 34 of file uart_arch.h.

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.