Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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)
 

Detailed Description

linux uart handling

Definition in file uart_arch.h.

Macro Definition Documentation

◆ B100000

#define B100000   100000

Definition at line 48 of file uart_arch.h.

◆ UART_RX_BUFFER_SIZE

#define UART_RX_BUFFER_SIZE   512

Definition at line 31 of file uart_arch.h.

◆ UART_SPEED

#define UART_SPEED (   _def)    uart_speed(_def)

Definition at line 71 of file uart_arch.h.

◆ UART_TX_BUFFER_SIZE

#define UART_TX_BUFFER_SIZE   512

Definition at line 34 of file uart_arch.h.

Function Documentation

◆ uart_speed()

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.