make Doxygen happy by giving the private data structure a unique name

This commit is contained in:
marschap
2008-12-21 17:02:04 +00:00
parent 92df94302b
commit 72d5042683
2 changed files with 37 additions and 38 deletions
+16 -16
View File
@@ -1,17 +1,16 @@
/** \file server/drivers/MtxOrb.c /** \file server/drivers/MtxOrb.c
* LCDd \c MtxOrb driver for Matrix Orbital character mode displays. * LCDd \c MtxOrb driver for Matrix Orbital character mode displays.
*
* This driver supports the LCD*, LKD*, VFD*, and VKD* series of
* character mode displays by Matrix Orbital (http://www.matrixorbital.com).
*
* Data sheets for the displays this driver supports can be found at
* http://www.matrixorbital.ca/manuals/
*
* \note The GLK series of graphical displays is supported by the \c glk driver.
*/ */
/* This is the LCDproc driver for Matrix Orbital devices /*
(http://www.matrixorbital.com)
For the Matrix Orbital LCD* LKD* VFD* and VKD* displays
Applicable Data Sheets:
- http://www.matrixorbital.ca/manuals/
NOTE: GLK displays have a different driver.
Copyright (C) 1999, William Ferrell and Scott Scriven Copyright (C) 1999, William Ferrell and Scott Scriven
2001, Andre Breiler 2001, Andre Breiler
2001, Philip Pokorny 2001, Philip Pokorny
@@ -118,8 +117,9 @@ typedef enum {
} CGmode; } CGmode;
typedef struct { /** private data for the \c MtxOrb driver */
int fd; /* The LCD file descriptor */ typedef struct MtxOrb_private_data {
int fd; /**< LCD file descriptor */
/* dimensions */ /* dimensions */
int width, height; int width, height;
@@ -132,8 +132,8 @@ typedef struct {
/* defineable characters */ /* defineable characters */
CGmode ccmode; CGmode ccmode;
int output_state; /* static data from MtxOrb_output */ int output_state; /**< current output state */
int contrast; /* static data from set/get_contrast */ int contrast; /**< current contrast */
int brightness; int brightness;
int offbrightness; int offbrightness;
@@ -144,7 +144,7 @@ typedef struct {
int keys; int keys;
int keypad_test_mode; int keypad_test_mode;
char info[255]; /* static data from MtxOrb_get_info */ char info[255]; /**< info string contents */
} PrivateData; } PrivateData;
@@ -200,7 +200,7 @@ MtxOrb_init (Driver *drvthis)
PrivateData *p; PrivateData *p;
/* Alocate and store private data */ /* Allocate and store private data */
p = (PrivateData *) malloc(sizeof(PrivateData)); p = (PrivateData *) malloc(sizeof(PrivateData));
if (p == NULL) if (p == NULL)
return -1; return -1;
+8 -9
View File
@@ -267,23 +267,22 @@
#define SCR2_L 0x00 #define SCR2_L 0x00
#define SCR2_H 0x06 #define SCR2_H 0x06
typedef struct p {
// display type /** private data for the \c sed1330 driver */
int type; typedef struct sed1330_private_data {
int type; /**< display type */
// wiring scheme variables to be set by sed1330_init() // wiring scheme variables to be set by sed1330_init()
int A0; int A0;
int nRESET; int nRESET;
int nWR; int nWR;
// which lpt port to use int port; /**< LPT port to use */
int port;
unsigned char * framebuf_text; unsigned char *framebuf_text;
unsigned char * lcd_contents_text; unsigned char *lcd_contents_text;
unsigned char * framebuf_graph; unsigned char *framebuf_graph;
unsigned char * lcd_contents_graph; unsigned char *lcd_contents_graph;
int width, height; int width, height;
int cellwidth, cellheight; int cellwidth, cellheight;