Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
uart_arch.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 AggieAir, A Remote Sensing Unmanned Aerial System for Scientific Applications
3  * Utah State University, http://aggieair.usu.edu/
4  *
5  * Michal Podhradsky (michal.podhradsky@aggiemail.usu.edu)
6  * Calvin Coopmans (c.r.coopmans@ieee.org)
7  *
8  *
9  * This file is part of paparazzi.
10  *
11  * paparazzi is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2, or (at your option)
14  * any later version.
15  *
16  * paparazzi is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with paparazzi; see the file COPYING. If not, write to
23  * the Free Software Foundation, 59 Temple Place - Suite 330,
24  * Boston, MA 02111-1307, USA.
25  */
35 #ifndef CHIBIOS_UART_ARCH_H
36 #define CHIBIOS_UART_ARCH_H
37 
38 #include "mcu_periph/uart.h"
39 
40 #define B1200 1200
41 #define B2400 2400
42 #define B4800 4800
43 #define B9600 9600
44 #define B19200 19200
45 #define B38400 38400
46 #define B57600 57600
47 #define B100000 100000
48 #define B115200 115200
49 #define B230400 230400
50 #define B460800 460800
51 #define B921600 921600
52 #define B1000000 1000000
53 #define B1500000 1500000
54 #define B3000000 3000000
55 #define UART_SPEED(_def) _def
56 
57 #endif /* CHIBIOS_UART_ARCH_H */
arch independent UART (Universal Asynchronous Receiver/Transmitter) API