Defines | Functions | Variables

grlib.c File Reference

Funcoes usadas pelo display da Nokia. More...

#include <arch/nxp/lpc23xx.h>
#include "grlib.h"
#include "charset.c"

Go to the source code of this file.

Defines

#define INVERTE

Functions

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

Variables

struct txtinfoptxt

Detailed Description

Author:
Marcos Augusto Stemmer

Biblioteca grafica para display Nokia6100

Fontes de informacao:

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

P0.9 MOSI-1 DIO Dados SPI1

P0.8 DRE Reset

P0.7 DCL Clock

P0.6 DCS Chip Select

Definition in file grlib.c.


Define Documentation

#define INVERTE

Definition at line 33 of file grlib.c.


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 spiconfig ( void   ) 

Definition at line 41 of file grlib.c.

void txtattrib ( struct txtinfo pptxt  )  [inline]

Definition at line 108 of file grlib.c.

void WrSPI ( int  c  ) 

Definition at line 55 of file grlib.c.


Variable Documentation

struct txtinfo* ptxt

Definition at line 27 of file grlib.c.