STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
lcd.h
Go to the documentation of this file.
1 
38 /* Define to prevent recursive inclusion -------------------------------------*/
39 #ifndef __LCD_H
40 #define __LCD_H
41 
42 #ifdef __cplusplus
43  extern "C" {
44 #endif
45 
46 /* Includes ------------------------------------------------------------------*/
47 #include <stdint.h>
48 
68 typedef struct
69 {
70  void (*Init)(void);
71  uint16_t (*ReadID)(void);
72  void (*DisplayOn)(void);
73  void (*DisplayOff)(void);
74  void (*SetCursor)(uint16_t, uint16_t);
75  void (*WritePixel)(uint16_t, uint16_t, uint16_t);
76  uint16_t (*ReadPixel)(uint16_t, uint16_t);
77 
78  /* Optimized operation */
79  void (*SetDisplayWindow)(uint16_t, uint16_t, uint16_t, uint16_t);
80  void (*DrawHLine)(uint16_t, uint16_t, uint16_t, uint16_t);
81  void (*DrawVLine)(uint16_t, uint16_t, uint16_t, uint16_t);
82 
83  uint16_t (*GetLcdPixelWidth)(void);
84  uint16_t (*GetLcdPixelHeight)(void);
85  void (*DrawBitmap)(uint16_t, uint16_t, uint8_t*);
86  void (*DrawRGBImage)(uint16_t, uint16_t, uint16_t, uint16_t, uint8_t*);
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 #endif /* __LCD_H */
113 
114 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/