PCD8544 Interface routines (used in Nokia 3310 LCD). More...
#include "config.h"
#include "pic_utils.h"
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) |
Routines to communicate with Nokia 3310 LCD display via the PCD8544 chip
Definition in file pcd8544.h.
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().
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().
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().
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().
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().
void pcd8544_write | ( | uns8 | mem_addr, | |
uns8 | data | |||
) |