lcd_spe.c File Reference
The LCD driver for the ILI9325.
More...
Go to the source code of this file.
Detailed Description
- Author:
- YRT
- Date:
- 09/2009
- Note:
- Platform = Open4 STM32E Daughter Board
Definition in file lcd_spe.c.
Function Documentation
| void LCD_DrawPixel |
( |
coord_t |
XPos, |
|
|
coord_t |
YPos, |
|
|
color_t |
Color | |
|
) |
| | |
Draw a pixel on the LCD with the provided color.
- Parameters:
-
| [in] | XPos | The horizontal coordinate of the pixel. |
| [in] | YPos | The vertical coordinate of the pixel. |
| [in] | Color | The RGB color to draw the pixel with. |
- Warning:
- The (0x0) point in on the low left corner.
Definition at line 536 of file lcd_spe.c.
| u32 LCD_ReadLCDData |
( |
void |
|
) |
|
Read one data byte from the LCD.
- Returns:
- An unsigned 32 bit word containing the data returned by a LCD command.
- Precondition:
- An LCD_SendLCDCmd was done with a command returning data.
Definition at line 513 of file lcd_spe.c.
| void LCD_SendLCDCmd |
( |
u8 |
Cmd |
) |
|
Send on command byte to the LCD.
- Parameters:
-
| [in] | Cmd | An u8 containing the user command to send to the LCD. |
Definition at line 470 of file lcd_spe.c.
| void LCD_SendLCDData |
( |
u8 |
Data |
) |
|
Send one data byte to the LCD.
- Parameters:
-
| [in] | Data | An unsigned character containing the data to send to the LCD. |
- Precondition:
- An LCD_SendLCDCmd was done with a command waiting for data.
Definition at line 492 of file lcd_spe.c.