Data Structures | Defines | Functions

grlib.h File Reference

FArquivo header de funcoes graficas no display. More...

Go to the source code of this file.

Data Structures

struct  txtinfo
 Em struct txtinfo tem os atributos do texto. More...

Defines

#define WriteSpiCommand(c)   WrSPI((c) & 0xff)
#define WriteSpiData(c)   WrSPI((c)|0x100)

Functions

void WrSPI (int c)
void lcd_nokia_init ()
void espera_ms (unsigned t)
void lcdgr_putchar (int c)
void lcdgr_puts (char *str)
void setPixel (int x, int y)
void txtattrib (struct txtinfo *ptxt)
 Funções para configuração das mensagens para aparecer no display.

Detailed Description

Author:
Marcos Augusto Stemmer

com o msp430

FENG-PUCRS Laboratorio de Processadores I

http://www.sparkfun.com/tutorial/Nokia 6100 LCD Display Driver.pdf http://www.nxp.com/acrobat_download2/datasheets/PCF8833_1.pdf

Definition in file grlib.h.


Define Documentation

#define WriteSpiCommand (   c  )     WrSPI((c) & 0xff)

Definition at line 28 of file grlib.h.

#define WriteSpiData (   c  )     WrSPI((c)|0x100)

Definition at line 29 of file grlib.h.


Function Documentation

void espera_ms ( unsigned  t  ) 

Definition at line 35 of file grlib.c.

void lcd_nokia_init (  ) 

Definition at line 61 of file grlib.c.

Here is the call graph for this function:

void lcdgr_putchar ( int  c  ) 

Definition at line 116 of file grlib.c.

void lcdgr_puts ( char *  str  ) 

Definition at line 165 of file grlib.c.

Here is the call graph for this function:

void setPixel ( int  x,
int  y 
)

Definition at line 171 of file grlib.c.

void txtattrib ( struct txtinfo ptxt  )  [inline]

Definition at line 108 of file grlib.c.

void WrSPI ( int  c  ) 

Definition at line 55 of file grlib.c.