RTEMS  5.1
apbuart_termios.h
1 /*
2  * COPYRIGHT (c) 1989-1998.
3  * On-Line Applications Research Corporation (OAR).
4  *
5  * Modified for LEON3 BSP.
6  * COPYRIGHT (c) 2004.
7  * Gaisler Research.
8  *
9  * The license and distribution terms for this file may be
10  * found in the file LICENSE in this distribution or at
11  * http://www.rtems.org/license/LICENSE.
12  */
13 
14 #ifndef APBUART_TERMIOS_H
15 #define APBUART_TERMIOS_H
16 
17 #include <rtems/termiostypes.h>
18 #include "grlib.h"
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif /* __cplusplus */
23 
26  struct apbuart_regs *regs;
27  unsigned int freq_hz;
29  volatile int sending;
30  char *buf;
31 };
32 
33 extern const rtems_termios_device_handler apbuart_handler_interrupt;
34 
35 extern const rtems_termios_device_handler apbuart_handler_polled;
36 
37 #ifdef __cplusplus
38 }
39 #endif /* __cplusplus */
40 
41 #endif /* APBUART_TERMIOS_H */
Termios device context.
Definition: termiostypes.h:75
ISR_Vector_number rtems_vector_number
Control block type used to manage the vectors.
Definition: intr.h:47
Definition: grlib.h:39
Definition: apbuart_termios.h:24
Common GRLIB AMBA Core Register definitions.
Termios device handler.
Definition: termiostypes.h:141