/*

                         \\\|///
                       \\  - -  //
                        (  @ @  )
+---------------------oOOo-(_)-oOOo-------------------------+
|                                                           |
|                       PCD5544.h                           |
|                     by Xiaoran Liu                        |
|                        2005.3.16                          |
|                                                           |
|                    ZERO research group                    |
|                        www.the0.net                       |
|                                                           |
|                            Oooo                           |
+----------------------oooO--(   )--------------------------+
                      (   )   ) /
                       \ (   (_/
                        \_)     

*/
#ifndef __PCD5544_H__
#define __PCD5544_H__

/*
RST - PA4
DC - PB1
SDATA - PA5
SCLK - PA2
CS - PA3
*/

#define SSI_CS                  GPIO_PIN_3
#define SSI_CLK                 GPIO_PIN_2
#define SSI_TX                  GPIO_PIN_5
//#define SSI_RX                  GPIO_PIN_4
#define LCD_RST                 GPIO_PIN_4
#define LCD_DC                  GPIO_PIN_1

void LCD_Backlight_On(void);
void LCD_Backlight_Off(void);

void LCD_Init(void);
void LCD_Cls(void);
void  LCD_GotoXY(unsigned char x, unsigned char y);
void LCD_Putchar(unsigned char character, char c);
void LCD_PrintStr(unsigned char *s, char c);

#endif

