4.115
Last change
on this file since 1d325e7b was
1d325e7b,
checked in by Toma Radu <radustoma@…>, on 12/06/13 at 08:52:26
|
sparc BSP shared: Improve Doxygen
Add doxygen to the header files in sparc/shared/include directory.
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * @ingroup uart |
---|
4 | * @brief APBUART via PCI - driver interface |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * COPYRIGHT (c) 2007. |
---|
9 | * Gaisler Research |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.rtems.com/license/LICENSE. |
---|
14 | * |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef __APBUART_PCI_H__ |
---|
18 | #define __APBUART_PCI_H__ |
---|
19 | |
---|
20 | #include <apbuart.h> |
---|
21 | |
---|
22 | #ifdef __cplusplus |
---|
23 | extern "C" { |
---|
24 | #endif |
---|
25 | |
---|
26 | /* Register APBUART driver, if APBUART devices are found. |
---|
27 | * bus = pointer to AMBA bus description used to search for APBUART(s). |
---|
28 | * |
---|
29 | */ |
---|
30 | |
---|
31 | int apbuart_pci_register (struct ambapp_bus * bus); |
---|
32 | |
---|
33 | /* This function must be called on APBUART interrupt. Called from the |
---|
34 | * PCI interrupt handler. |
---|
35 | * irq = AMBA IRQ assigned to the APBUART device, is found by reading |
---|
36 | * pending register on IRQMP connected to the APBUART device. |
---|
37 | * |
---|
38 | */ |
---|
39 | void apbuartpci_interrupt_handler (int irq, void *arg); |
---|
40 | |
---|
41 | extern void (*apbuart_pci_int_reg) (void *handler, int irq, void *arg); |
---|
42 | |
---|
43 | #ifdef __cplusplus |
---|
44 | } |
---|
45 | #endif |
---|
46 | |
---|
47 | #endif /* __APBUART_PCI_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.