idp: Add doxygen headers.

This commit is contained in:
Szkocsovszki Zsolt
2014-01-03 08:14:49 -06:00
committed by Jennifer Averett
parent 255178ec35
commit 6b1ee0258e
3 changed files with 46 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
/**
* @defgroup bsp_m68k M68K
*
* @ingroup bsp_kit
*
* @brief M68K Board Support Packages
*/
/**
* @defgroup m68k_idp M68K IDP Modules
*
* @ingroup bsp_m68k
*
* @brief M68K IDP Modules
*/

View File

@@ -1,6 +1,10 @@
/* bsp.h
/**
* @file
*
* This include file contains all Motorola 680x0 IDP board IO definitions.
* @ingroup idp_bsp
*
* @brief This include file contains all Motorola 680x0 IDP board
* IO definitions.
*/
#ifndef _BSP_H
@@ -15,6 +19,14 @@
#include <rtems/motorola/mc68230.h>
#include <rtems/motorola/mc68681.h>
/**
* @defgroup idp_bsp IO definitions
*
* @ingroup m68k_idp
*
* @brief Motorola 680x0 IDP board IO definitions
*/
#define DUART_ADDR 0xb00003 /* base address of the MC68681 DUART */
/* Constants */

View File

@@ -1,6 +1,13 @@
/**
* @file
*
* @ingroup m68k_leds
*
* @brief Led Control
*/
/*
* leds.c -- control the led's on a Motorola mc68ec0x0 board.
* Written by rob@cygnus.com (Rob Savoye)
* Written by rob@cygnus.com (Rob Savoye)
*/
#ifndef __LEDS_H__
@@ -18,6 +25,14 @@
#define LEDS_OFF 0xff
#define LEDS_ON 0x0
/**
* @defgroup m68k_leds Led Control
*
* @ingroup m68k_idp
*
* @brief control the led's on a Motorola mc68ec0x0 board
*/
#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
extern void led_putnum( char );