| | |
| | | |
| | | #define LCD_SYSTEM_MODE_COMMAND_ADDR 0x84 |
| | | |
| | | #define LCD_PWR_GPIO_PORT GPIOD |
| | | #define LCD_PWR_PIN GPIO_Pin_7 |
| | | #define LCD_PWR_GPIO_PORT GPIOF |
| | | #define LCD_PWR_PIN GPIO_Pin_0 |
| | | |
| | | #define LCD_BACKLIGHT_PWR_GPIO_PORT GPIOD |
| | | #define LCD_BACKLIGHT_PWR_PIN GPIO_Pin_8 |
| | | //#define LCD_BACKLIGHT_PWR_GPIO_PORT GPIOD |
| | | //#define LCD_BACKLIGHT_PWR_PIN GPIO_Pin_8 |
| | | |
| | | //ÏÔʾÆÁµçÔ´ |
| | | #define LCD_PWR_ON GPIO_SetBits(LCD_PWR_GPIO_PORT,LCD_PWR_PIN) |
| | |
| | | #define LCD_PWR_IO_READ GPIO_ReadInputDataBit(LCD_PWR_GPIO_PORT,LCD_PWR_PIN) |
| | | |
| | | //±³¹â¿ª¹Ø |
| | | #define LCD_BACKLIGHT_ON GPIO_SetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) |
| | | #define LCD_BACKLIGHT_OFF GPIO_ResetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) |
| | | //#define LCD_BACKLIGHT_ON GPIO_SetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) |
| | | //#define LCD_BACKLIGHT_OFF GPIO_ResetBits(LCD_BACKLIGHT_PWR_GPIO_PORT,LCD_BACKLIGHT_PWR_PIN) |
| | | |
| | | /*********************************************************************** |
| | | * Ãû³Æ£ºLcd_DisplaySeg() |