From a77c3719f83940a026b23ad601b175069dd0420f Mon Sep 17 00:00:00 2001 From: Szkocsovszki Zsolt Date: Fri, 3 Jan 2014 13:35:39 +0100 Subject: powerpc/mvme3100: Improve Doxygen --- c/src/lib/libbsp/powerpc/mvme3100/doxygen.h | 15 +++++++++++++++ .../libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h | 8 ++++++++ c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h | 17 ++++++++++++++--- c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h | 17 +++++++++++++++-- .../lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h | 16 ++++++++++++++-- c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h | 19 +++++++++++++++++-- 6 files changed, 83 insertions(+), 9 deletions(-) create mode 100644 c/src/lib/libbsp/powerpc/mvme3100/doxygen.h diff --git a/c/src/lib/libbsp/powerpc/mvme3100/doxygen.h b/c/src/lib/libbsp/powerpc/mvme3100/doxygen.h new file mode 100644 index 0000000000..59ae7ef00e --- /dev/null +++ b/c/src/lib/libbsp/powerpc/mvme3100/doxygen.h @@ -0,0 +1,15 @@ +/** + * @defgroup bsp_powerpc POWERPC + * + * @ingroup bsp_kit + * + * @brief POWERPC Board Support Packages + */ + +/** + * @defgroup powerpc_mvme3100 POWERPC MVME3100 Modules + * + * @ingroup bsp_powerpc + * + * @brief POWERPC MVME3100 Modules + */ \ No newline at end of file diff --git a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h index 7ebebb0b00..181b45f468 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h @@ -1,3 +1,11 @@ +/** + * @file + * + * @ingroup powerpc_mpc8540i2cbusdrv + * + * @brief I2C bus driver for mpc8540-based boards + */ + #ifndef MPC8540_I2C_BUS_DRIVER_H #define MPC8540_I2C_BUS_DRIVER_H diff --git a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h index 22e55f5a6d..51a48702e8 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h @@ -1,5 +1,12 @@ +/** + * @file + * + * @ingroup mvme3100_bsp + * + * @brief This file contains BSP API definition. + */ + /* - * bsp.h -- contain BSP API definition. * * Copyright (C) 1999 Eric Valette. valette@crf.canon.fr * @@ -21,8 +28,12 @@ #include #include -/* - * confdefs.h overrides for this BSP: +/** + * @defgroup mvme3100_bsp confdefs.h overrides + * + * @ingroup powerpc_mvme3100 + * + * @brief confdefs.h overrides for this BSP: */ #define BSP_INTERRUPT_STACK_SIZE (16 * 1024) diff --git a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h index 1b521df9a2..9f7c907df5 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h @@ -1,3 +1,12 @@ +/** + * @file + * + * @ingroup powerpc_irq + * + * @brief This include file describe the data structure and the functions + * implemented by RTEMS to write interrupt handlers. + */ + /* irq.h * * This include file describe the data structure and the functions implemented @@ -30,8 +39,12 @@ extern "C" { #endif -/* - * rtems_irq_number Definitions +/** + * @defgroup powerpc_irq Definitions + * + * @ingroup powerpc_mvme3100 + * + * @brief rtems_irq_number Definitions */ /* Must pad number of external sources to 16 because diff --git a/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h b/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h index f84c760cd0..7eb0358eae 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h @@ -1,3 +1,11 @@ +/** + * @file + * + * @ingroup powerpc_iftsecpub + * + * @brief IF_TSEC_PUB Support + */ + #ifndef IF_TSEC_PUBLIC_INTERFACE_H #define IF_TSEC_PUBLIC_INTERFACE_H @@ -60,8 +68,12 @@ struct tsec_private; /********** Low-level Driver API ****************/ -/* - * This API provides driver access to applications that +/** + * @defgroup powerpc_iftsecpub Low-level Driver API + * + * @ingroup powerpc_mvme3100 + * + * @brief This API provides driver access to applications that * want to use e.g., the second ethernet interface * independently from the BSD TCP/IP stack. E.g., for * raw ethernet packet communication... diff --git a/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h b/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h index 0d0186dcab..5692ac57d5 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h @@ -1,8 +1,14 @@ +/** + * @file + * + * @ingroup powerpc_vmeconfig + * + * @brief mvme3100 BSP specific address space configuration parameters + */ + #ifndef RTEMS_BSP_VME_CONFIG_H #define RTEMS_BSP_VME_CONFIG_H -/* mvme3100 BSP specific address space configuration parameters */ - /* * Authorship * ---------- @@ -97,6 +103,15 @@ * universe. The default setup tries to use interrupt * sharing. */ + +/** + * @defgroup powerpc_vme BSP_VME_INSTALL_IRQ_MGR Support + * + * @ingroup powerpc_mvme3100 + * + * @brief BSP_VME_INSTALL_IRQ_MGR Support Package + */ + #define BSP_VME_INSTALL_IRQ_MGR(err) \ do { \ err = vmeTsi148InstallIrqMgrAlt(\ -- cgit v1.2.3