CircleOS
1
|
Common functions for Open4 platforms with ILI9325 controller. More...
Go to the source code of this file.
Functions | |
void | LCD_RectRead (coord_t x, coord_t y, coord_t width, coord_t height, u8 *bmp) |
u16 | LCD_GetPixel (coord_t x, coord_t y) |
NODEBUG void | LCD_SetRect_For_Cmd (coord_t x, coord_t y, coord_t width, coord_t height) |
void | LCD_FullScreen (bool FullScreenONOFF) |
void | LCD_SendPixelData (color_t color) |
Definition in file lcd_spe_IL9325.c.
void LCD_FullScreen | ( | bool | FullScreenONOFF) |
Defines the area availbale for applications (full screen or not).
[in] | FullScreenONOFF | : ON = full screen available for applications. OFF = only application area available for applications. |
Definition at line 757 of file lcd_spe_IL9325.c.
u16 LCD_GetPixel | ( | coord_t | x, |
coord_t | y | ||
) |
Read the RGB color of the pixel the coordinate are provided in parameter.
[in] | x | The horizontal coordinate of the pixel. |
[in] | y | The vertical coordinate of the pixel. |
Definition at line 589 of file lcd_spe_IL9325.c.
void LCD_RectRead | ( | coord_t | x, |
coord_t | y, | ||
coord_t | width, | ||
coord_t | height, | ||
u8 * | bmp | ||
) |
Save the pixels of a rectangle part of the LCD into a RAM variable.
[in] | x | The horizontal coordinate of the rectangle low left corner. |
[in] | y | The vertical coordinate of the rectangle low left corner. |
[in] | width | The rectangle width in pixels. |
[in] | height | The rectangle height in pixels. |
[out] | bmp | The variable to store the read data into. |
Definition at line 474 of file lcd_spe_IL9325.c.
void LCD_SendPixelData | ( | color_t | color) |
Send a color two bytes to the LCD.
[in] | color | An unsigned short containing the data to send to the LCD. |
Definition at line 825 of file lcd_spe_IL9325.c.
NODEBUG void LCD_SetRect_For_Cmd | ( | coord_t | x, |
coord_t | y, | ||
coord_t | width, | ||
coord_t | height | ||
) |
Define the rectangle for the next command to be applied.
[in] | x | The horizontal coordinate of the rectangle low left corner. |
[in] | y | The vertical coordinate of the rectangle low left corner. |
[in] | width | The rectangle width in pixels. |
[in] | height | The rectangle height in pixels. |
Definition at line 617 of file lcd_spe_IL9325.c.