make Doxygen happy by giving the private data structure a unique name
This commit is contained in:
+16
-16
@@ -1,17 +1,16 @@
|
||||
/** \file server/drivers/MtxOrb.c
|
||||
* 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
|
||||
2001, Andre Breiler
|
||||
2001, Philip Pokorny
|
||||
@@ -118,8 +117,9 @@ typedef enum {
|
||||
} CGmode;
|
||||
|
||||
|
||||
typedef struct {
|
||||
int fd; /* The LCD file descriptor */
|
||||
/** private data for the \c MtxOrb driver */
|
||||
typedef struct MtxOrb_private_data {
|
||||
int fd; /**< LCD file descriptor */
|
||||
|
||||
/* dimensions */
|
||||
int width, height;
|
||||
@@ -132,8 +132,8 @@ typedef struct {
|
||||
/* defineable characters */
|
||||
CGmode ccmode;
|
||||
|
||||
int output_state; /* static data from MtxOrb_output */
|
||||
int contrast; /* static data from set/get_contrast */
|
||||
int output_state; /**< current output state */
|
||||
int contrast; /**< current contrast */
|
||||
int brightness;
|
||||
int offbrightness;
|
||||
|
||||
@@ -144,7 +144,7 @@ typedef struct {
|
||||
int keys;
|
||||
int keypad_test_mode;
|
||||
|
||||
char info[255]; /* static data from MtxOrb_get_info */
|
||||
char info[255]; /**< info string contents */
|
||||
} PrivateData;
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ MtxOrb_init (Driver *drvthis)
|
||||
|
||||
PrivateData *p;
|
||||
|
||||
/* Alocate and store private data */
|
||||
/* Allocate and store private data */
|
||||
p = (PrivateData *) malloc(sizeof(PrivateData));
|
||||
if (p == NULL)
|
||||
return -1;
|
||||
|
||||
@@ -267,23 +267,22 @@
|
||||
#define SCR2_L 0x00
|
||||
#define SCR2_H 0x06
|
||||
|
||||
typedef struct p {
|
||||
|
||||
// display type
|
||||
int type;
|
||||
/** private data for the \c sed1330 driver */
|
||||
typedef struct sed1330_private_data {
|
||||
int type; /**< display type */
|
||||
|
||||
// wiring scheme variables to be set by sed1330_init()
|
||||
int A0;
|
||||
int nRESET;
|
||||
int nWR;
|
||||
|
||||
// which lpt port to use
|
||||
int port;
|
||||
int port; /**< LPT port to use */
|
||||
|
||||
unsigned char * framebuf_text;
|
||||
unsigned char * lcd_contents_text;
|
||||
unsigned char * framebuf_graph;
|
||||
unsigned char * lcd_contents_graph;
|
||||
unsigned char *framebuf_text;
|
||||
unsigned char *lcd_contents_text;
|
||||
unsigned char *framebuf_graph;
|
||||
unsigned char *lcd_contents_graph;
|
||||
|
||||
int width, height;
|
||||
int cellwidth, cellheight;
|
||||
|
||||
Reference in New Issue
Block a user