Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
picvue.h File Reference

Go to the source code of this file.

Data Structures

struct  pvc_defs
 

Macros

#define PVC_NLINES   2
 
#define PVC_DISPMEM   80
 
#define PVC_LINELEN   PVC_DISPMEM / PVC_NLINES
 
#define PVC_VISIBLE_CHARS   16
 
#define BM_SIZE   8
 
#define MAX_PROGRAMMABLE_CHARS   8
 
#define DISP_OFF   0
 
#define DISP_ON   (1 << 2)
 
#define CUR_ON   (1 << 1)
 
#define CUR_BLINK   (1 << 0)
 
#define DISPLAY   (1 << 3)
 
#define CURSOR   0
 
#define RIGHT   (1 << 2)
 
#define LEFT   0
 

Functions

void pvc_write_string (const unsigned char *str, u8 addr, int line)
 
void pvc_write_string_centered (const unsigned char *str, int line)
 
void pvc_dump_string (const unsigned char *str)
 
int pvc_program_cg (int charnum, u8 bitmap[BM_SIZE])
 
void pvc_dispcnt (u8 cmd)
 
void pvc_move (u8 cmd)
 
void pvc_clear (void)
 
void pvc_home (void)
 

Variables

struct pvc_defspicvue
 

Macro Definition Documentation

#define BM_SIZE   8

Definition at line 27 of file picvue.h.

#define CUR_BLINK   (1 << 0)

Definition at line 35 of file picvue.h.

#define CUR_ON   (1 << 1)

Definition at line 34 of file picvue.h.

#define CURSOR   0

Definition at line 39 of file picvue.h.

#define DISP_OFF   0

Definition at line 32 of file picvue.h.

#define DISP_ON   (1 << 2)

Definition at line 33 of file picvue.h.

#define DISPLAY   (1 << 3)

Definition at line 38 of file picvue.h.

#define LEFT   0

Definition at line 41 of file picvue.h.

#define MAX_PROGRAMMABLE_CHARS   8

Definition at line 28 of file picvue.h.

#define PVC_DISPMEM   80

Definition at line 19 of file picvue.h.

#define PVC_LINELEN   PVC_DISPMEM / PVC_NLINES

Definition at line 20 of file picvue.h.

#define PVC_NLINES   2

Definition at line 18 of file picvue.h.

#define PVC_VISIBLE_CHARS   16

Definition at line 21 of file picvue.h.

#define RIGHT   (1 << 2)

Definition at line 40 of file picvue.h.

Function Documentation

void pvc_clear ( void  )

Definition at line 211 of file picvue.c.

void pvc_dispcnt ( u8  cmd)

Definition at line 195 of file picvue.c.

void pvc_dump_string ( const unsigned char str)

Definition at line 138 of file picvue.c.

void pvc_home ( void  )

Definition at line 217 of file picvue.c.

void pvc_move ( u8  cmd)

Definition at line 205 of file picvue.c.

int pvc_program_cg ( int  charnum,
u8  bitmap[BM_SIZE] 
)

Definition at line 149 of file picvue.c.

void pvc_write_string ( const unsigned char str,
u8  addr,
int  line 
)

Definition at line 111 of file picvue.c.

void pvc_write_string_centered ( const unsigned char str,
int  line 
)

Definition at line 125 of file picvue.c.

Variable Documentation

struct pvc_defs* picvue

Definition at line 23 of file picvue.c.