source: rtems/c/src/lib/libbsp/sparc/leon3/include/amba.h @ df217b0b

4.115
Last change on this file since df217b0b was df217b0b, checked in by Toma Radu <radustoma@…>, on 12/04/13 at 18:07:04

leon3: improve doxygen

Add doxygen to the bsp.h, tm27.h, amba.h and leon.h files

  • Property mode set to 100644
File size: 967 bytes
Line 
1/**
2 * @file
3 * @defgroup amba AMBA Driver Handler
4 * @ingroup sparc_leon3
5 * @brief AMBA Plag & Play Bus Driver Macros
6 */
7
8/*
9 *  AMBA Plag & Play Bus Driver Macros
10 *
11 *  Macros used for AMBA Plug & Play bus scanning
12 *
13 *  COPYRIGHT (c) 2004.
14 *  Gaisler Research
15 *
16 *  The license and distribution terms for this file may be
17 *  found in the file LICENSE in this distribution or at
18 *  http://www.rtems.com/license/LICENSE.
19 */
20
21#ifndef __AMBA_H__
22#define __AMBA_H__
23
24#define LEON3_IO_AREA 0xfff00000
25#define LEON3_CONF_AREA 0xff000
26#define LEON3_AHB_SLAVE_CONF_AREA (1 << 11)
27
28#define LEON3_AHB_CONF_WORDS 8
29#define LEON3_APB_CONF_WORDS 2
30#define LEON3_AHB_MASTERS 64
31#define LEON3_AHB_SLAVES 64
32#define LEON3_APB_SLAVES 16
33
34#include <ambapp.h>
35#include <grlib.h>
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41/* The AMBA Plug&Play info of the bus that the LEON3 sits on */
42extern struct ambapp_bus ambapp_plb;
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif /* __AMBA_H__ */
Note: See TracBrowser for help on using the repository browser.