forked from Imagelibrary/rtems
idp: Add doxygen headers.
This commit is contained in:
committed by
Jennifer Averett
parent
255178ec35
commit
6b1ee0258e
15
c/src/lib/libbsp/m68k/idp/doxygen.h
Normal file
15
c/src/lib/libbsp/m68k/idp/doxygen.h
Normal 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
|
||||||
|
*/
|
||||||
@@ -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
|
#ifndef _BSP_H
|
||||||
@@ -15,6 +19,14 @@
|
|||||||
#include <rtems/motorola/mc68230.h>
|
#include <rtems/motorola/mc68230.h>
|
||||||
#include <rtems/motorola/mc68681.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 */
|
#define DUART_ADDR 0xb00003 /* base address of the MC68681 DUART */
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
|
/**
|
||||||
|
* @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)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -18,6 +25,14 @@
|
|||||||
#define LEDS_OFF 0xff
|
#define LEDS_OFF 0xff
|
||||||
#define LEDS_ON 0x0
|
#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)
|
#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
|
||||||
|
|
||||||
extern void led_putnum( char );
|
extern void led_putnum( char );
|
||||||
|
|||||||
Reference in New Issue
Block a user