static volatile lcdOrientation_t lcdOrientation = LCD_ORIENTATION_PORTRAIT;
static lcdProperties_t ili9328Properties = { 240, 320, TRUE, TRUE, TRUE };
static volatile lcdOrientation_t lcdOrientation = LCD_ORIENTATION_PORTRAIT;
static lcdProperties_t ili9328Properties = { 240, 320, TRUE, TRUE, TRUE };
@brief Causes a brief delay (10 ticks per unit)
*/
/**************************************************************************/
@brief Causes a brief delay (10 ticks per unit)
*/
/**************************************************************************/
/**************************************************************************/
/*!
@brief Writes the supplied 16-bit command using an 8-bit interface
*/
/**************************************************************************/
/**************************************************************************/
/*!
@brief Writes the supplied 16-bit command using an 8-bit interface
*/
/**************************************************************************/
/**************************************************************************/
/*!
@brief Writes the supplied 16-bit data using an 8-bit interface
*/
/**************************************************************************/
/**************************************************************************/
/*!
@brief Writes the supplied 16-bit data using an 8-bit interface
*/
/**************************************************************************/
void ili9328WriteData(uint16_t data)
{
CLR_CS_SET_CD_RD_WR; // Saves 18 commands compared to SET_CD; SET_RD; SET_WR; CLR_CS"
void ili9328WriteData(uint16_t data)
{
CLR_CS_SET_CD_RD_WR; // Saves 18 commands compared to SET_CD; SET_RD; SET_WR; CLR_CS"
@brief Sets the cursor to the specified X/Y position
*/
/**************************************************************************/
@brief Sets the cursor to the specified X/Y position
*/
/**************************************************************************/
ili9328Command(ILI9328_COMMANDS_HORIZONTALGRAMADDRESSSET, al);
ili9328Command(ILI9328_COMMANDS_VERTICALGRAMADDRESSSET, ah);
}
ili9328Command(ILI9328_COMMANDS_HORIZONTALGRAMADDRESSSET, al);
ili9328Command(ILI9328_COMMANDS_VERTICALGRAMADDRESSSET, ah);
}