source: rtems/cpukit/libcsupport/src/termios_baudtable.c @ 1c6926c1

5
Last change on this file since 1c6926c1 was 1c6926c1, checked in by Kevin Kirspel <kevin-kirspel@…>, on 03/21/17 at 19:39:48

termios: Synchronize with latest FreeBSD headers

Adding modified FreeBSD headers to synchronize RTEMS termios with
FreeBSD. Modify termios to support dedicated input and output baud for
termios structure. Updated BSPs to use dedicated input and output baud
in termios structure. Updated tools to use dedicated input and output
baud in termios structure. Updated termios testsuites to use dedicated
input and output baud in termios structure.

Close #2897.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/**
2 *  @file
3 *
4 *  @brief  RTEMS Termios Baud Table
5 *  @ingroup TermiostypesSupport
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2010.
10 *  On-Line Applications Research Corporation (OAR).
11 *
12 *  The license and distribution terms for this file may be
13 *  found in the file LICENSE in this distribution or at
14 *  http://www.rtems.org/license/LICENSE.
15 */
16
17#ifdef HAVE_CONFIG_H
18  #include "config.h"
19#endif
20
21#include <rtems/termiostypes.h>
22
23const rtems_assoc_t rtems_termios_baud_table [] = {
24  { "B0",      0,      B0 },
25  { "B50",     50,     B50 },
26  { "B75",     75,     B75 },
27  { "B110",    110,    B110 },
28  { "B134",    134,    B134 },
29  { "B150",    150,    B150 },
30  { "B200",    200,    B200 },
31  { "B300",    300,    B300 },
32  { "B600",    600,    B600 },
33  { "B1200",   1200,   B1200 },
34  { "B1800",   1800,   B1800 },
35  { "B2400",   2400,   B2400 },
36  { "B4800",   4800,   B4800 },
37  { "B9600",   9600,   B9600 },
38  { "B19200",  19200,  B19200 },
39  { "B38400",  38400,  B38400 },
40  { "B7200",   7200,   B7200 },
41  { "B14400",  14400,  B14400 },
42  { "B28800",  28800,  B28800 },
43  { "B57600",  57600,  B57600 },
44  { "B76800",  76800,  B76800 },
45  { "B115200", 115200, B115200 },
46  { "B230400", 230400, B230400 },
47  { "B460800", 460800, B460800 },
48  { "B921600", 921600, B921600 },
49  { NULL,      0,      0 }
50};
Note: See TracBrowser for help on using the repository browser.