pcd8544.h File Reference

PCD8544 Interface routines (used in Nokia 3310 LCD). More...

#include "config.h"
#include "pic_utils.h"
Include dependency graph for pcd8544.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define pcd8544_setup()   pcd8544_setup_io()

Functions

void pcd8544_clear ()
void pcd8544_init ()
void pcd8544_send_byte (uns8 b)
void pcd8544_send_command (uns8 command)
void pcd8544_send_data (uns8 data)
void pcd8544_set_pixel (uns8 x, uns8 y, uns8 colour)
void pcd8544_setup_io ()
void pcd8544_write (uns8 mem_addr, uns8 data)

Detailed Description

Routines to communicate with Nokia 3310 LCD display via the PCD8544 chip

Definition in file pcd8544.h.


Define Documentation

 
#define pcd8544_setup (  )     pcd8544_setup_io()

Definition at line 76 of file pcd8544.h.


Function Documentation

void pcd8544_clear (  ) 
void pcd8544_init (  ) 

Definition at line 55 of file pcd8544.c.

References clear_pin, pcd8544_send_command(), and set_pin.

Referenced by drv_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void pcd8544_send_byte ( uns8  b  ) 

Definition at line 107 of file pcd8544.c.

References change_pin, clear_pin, set_pin, and uns8.

Referenced by pcd8544_send_command(), and pcd8544_send_data().

Here is the caller graph for this function:

void pcd8544_send_command ( uns8  command  ) 

Definition at line 91 of file pcd8544.c.

References clear_pin, pcd8544_send_byte(), and set_pin.

Referenced by drv_paint(), and pcd8544_init().

Here is the call graph for this function:

Here is the caller graph for this function:

void pcd8544_send_data ( uns8  data  ) 

Definition at line 99 of file pcd8544.c.

References clear_pin, pcd8544_send_byte(), and set_pin.

Referenced by drv_paint().

Here is the call graph for this function:

Here is the caller graph for this function:

void pcd8544_set_pixel ( uns8  x,
uns8  y,
uns8  colour 
)
void pcd8544_setup_io (  ) 

Definition at line 40 of file pcd8544.c.

References clear_pin, make_output, and set_pin.

Referenced by drv_setup_io().

Here is the caller graph for this function:

void pcd8544_write ( uns8  mem_addr,
uns8  data 
)

Generated on Wed Dec 8 13:47:32 2010 for Pic Pack by  doxygen 1.6.1