| | |
| | | |
| | | #define LCD_SYSTEM_MODE_COMMAND_ADDR 0x84 |
| | | |
| | | #define LCD_PWR_GPIO_PORT GPIOB |
| | | #define LCD_PWR_PIN GPIO_Pin_6 |
| | | #define LCD_PWR_GPIO_PORT GPIOD |
| | | #define LCD_PWR_PIN GPIO_Pin_7 |
| | | |
| | | #define LCD_BACKLIGHT_PWR_GPIO_PORT GPIOB |
| | | #define LCD_BACKLIGHT_PWR_PIN GPIO_Pin_5 |
| | | #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_OFF GPIO_ResetBits(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) |
| | |
| | | void Lcd_Write_Reg(uint8_t sadd,uint8_t * pBuffer,uint8_t len); |
| | | void Lcd_Write(uint8_t cmd_add,uint8_t * pBuffer,uint8_t len); |
| | | |
| | | void Lcd_DisplayFirstLine_23A(uint8_t show_type,double number); |
| | | void Lcd_DisplaySecondLine_23A(uint8_t show_type,double number); |
| | | void Lcd_DisplayFirstLine_23A(u8 show_type,double number); |
| | | void Lcd_DisplaySecondLine_23A(u8 show_type,double number); |
| | | |
| | | void Lcd_DisplayDigit_23A(unsigned char Position ,uint8_t Digit); |
| | | void Lcd_DisplayDigit_23A(unsigned char Position ,u8 Digit); |
| | | void Lcd_ClearDigit_23A(unsigned char Position); |
| | | |
| | | void Lcd_DisplayLetter(uint8_t position,LCD_LETTERS_T letter); |
| | | void Lcd_IO_Init(void); |
| | | void Lcd_GPIO_Init(void); |
| | | |
| | | |
| | | #endif |