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

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 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

#define B100000   100000

Definition at line 47 of file uart_arch.h.

Referenced by actuators_sbus_init(), and sbus_common_init().

#define B1000000   1000000

Definition at line 51 of file uart_arch.h.

#define B1200   1200

Definition at line 40 of file uart_arch.h.

Referenced by uart_speed().

#define B1500000   1500000

Definition at line 52 of file uart_arch.h.

#define B19200   19200

Definition at line 44 of file uart_arch.h.

Referenced by uart_speed().

#define B230400   230400

Definition at line 49 of file uart_arch.h.

Referenced by gps_ubx_ucenter_autobaud(), px4flash_event(), and uart_speed().

#define B2400   2400

Definition at line 41 of file uart_arch.h.

Referenced by uart_speed().

#define B3000000   3000000

Definition at line 53 of file uart_arch.h.

#define B38400   38400

Definition at line 45 of file uart_arch.h.

Referenced by gps_ubx_ucenter_autobaud(), and uart_speed().

#define B4800   4800

Definition at line 42 of file uart_arch.h.

Referenced by gps_ubx_ucenter_autobaud(), and uart_speed().

#define B57600   57600

Definition at line 46 of file uart_arch.h.

Referenced by gps_ubx_ucenter_autobaud(), and uart_speed().

#define B921600   921600

Definition at line 50 of file uart_arch.h.

Referenced by uart_speed().

#define B9600   9600

Definition at line 43 of file uart_arch.h.

Referenced by gps_ubx_ucenter_autobaud(), and uart_speed().

#define UART_SPEED (   _def)    _def

Definition at line 54 of file uart_arch.h.

Referenced by gps_ubx_ucenter_config_port(), and gps_ubx_ucenter_configure().