Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
uart_arch.h File Reference

UART/Serial driver implementation for ChibiOS arch. More...

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

Go to the source code of this file.

Macros

#define B1200   1200
 
#define B2400   2400
 
#define B4800   4800
 
#define B9600   9600
 
#define B19200   19200
 
#define B38400   38400
 
#define B57600   57600
 
#define B100000   100000
 
#define B115200   115200
 
#define B230400   230400
 
#define B460800   460800
 
#define B921600   921600
 
#define B1000000   1000000
 
#define B1500000   1500000
 
#define B3000000   3000000
 
#define UART_SPEED(_def)   _def
 

Detailed Description

UART/Serial driver implementation for ChibiOS arch.

ChibiOS has a high level Serial Driver, for Paparazzi it is more convenient than pure UART driver (which needs callbacks etc.). This implementation is asynchronous and the RX thread has to use event flags. See ChibiOS documen- tation.

Definition in file uart_arch.h.

Macro Definition Documentation

◆ B100000

#define B100000   100000

Definition at line 47 of file uart_arch.h.

◆ B1000000

#define B1000000   1000000

Definition at line 52 of file uart_arch.h.

◆ B115200

#define B115200   115200

Definition at line 48 of file uart_arch.h.

◆ B1200

#define B1200   1200

Definition at line 40 of file uart_arch.h.

◆ B1500000

#define B1500000   1500000

Definition at line 53 of file uart_arch.h.

◆ B19200

#define B19200   19200

Definition at line 44 of file uart_arch.h.

◆ B230400

#define B230400   230400

Definition at line 49 of file uart_arch.h.

◆ B2400

#define B2400   2400

Definition at line 41 of file uart_arch.h.

◆ B3000000

#define B3000000   3000000

Definition at line 54 of file uart_arch.h.

◆ B38400

#define B38400   38400

Definition at line 45 of file uart_arch.h.

◆ B460800

#define B460800   460800

Definition at line 50 of file uart_arch.h.

◆ B4800

#define B4800   4800

Definition at line 42 of file uart_arch.h.

◆ B57600

#define B57600   57600

Definition at line 46 of file uart_arch.h.

◆ B921600

#define B921600   921600

Definition at line 51 of file uart_arch.h.

◆ B9600

#define B9600   9600

Definition at line 43 of file uart_arch.h.

◆ UART_SPEED

#define UART_SPEED (   _def)    _def

Definition at line 55 of file uart_arch.h.