/* Write multiple bytes to controller, with A0 = 0 */ void LCD_X_WriteM00(unsigned char * pData, int NumBytes) { LCD_CLR_A0(); for (; NumBytes; NumBytes--) { LCD_X_WRITE(*pData); pData++; } }
/* Write multiple bytes to controller, with A0 = 0 */ void LCD_X_WriteM00_16(unsigned short * pData, int NumWords) { LCD_CLR_A0(); for (; NumWords; NumWords--) { LCD_X_WRITE(*pData); pData++; } }
/********************************************************************* * * LCD_X_8080_16_WriteM00_16 * * Purpose: * Write multiple bytes to controller, with A0 = 0 */ void LCD_X_8080_16_WriteM00_16(U16 * pData, int NumWords) { LCD_CLR_A0(); for (; NumWords; NumWords--) { LCD_X_WRITE(*pData); pData++; } }
/* Write multiple bytes to controller 2, with A0 = 1, CS0 = 0, CS1 = 1 */ void LCD_X_WriteM21(unsigned char * pData, int NumBytes) { LCD_SET_A0(); LCD_CLR_CS2(); for (; NumBytes; NumBytes--) { LCD_X_WRITE(*pData++); } LCD_SET_CS2(); }
/* Write to controller, with A0 = 1 */ void LCD_X_Write01(unsigned char c) { LCD_SET_A0(); LCD_X_WRITE(c); }
/* Write to controller, with A0 = 0 */ void LCD_X_Write00(unsigned char c) { LCD_CLR_A0(); LCD_X_WRITE(c); }
/* Write to controller 2, with A0 = 1, CS0 = 1, CS1 = 1 */ void LCD_X_Write21(unsigned char c) { LCD_SET_A0(); LCD_CLR_CS2(); LCD_X_WRITE(c); LCD_SET_CS2(); }
/* Write to controller 1, with A0 = 0, CS0 = 1, CS1 = 0 */ void LCD_X_Write10(unsigned char c) { LCD_CLR_A0(); LCD_CLR_CS1(); LCD_X_WRITE(c); LCD_SET_CS1(); }
/* Write to controller, with A0 = 1 */ void LCD_X_Write01_16(unsigned short c) { LCD_SET_A0(); LCD_X_WRITE(c); }
/* Write to controller, with A0 = 0 */ void LCD_X_Write00_16(unsigned short c) { LCD_CLR_A0(); LCD_X_WRITE(c); }
/********************************************************************* * * LCD_X_8080_16_Write01_16 * * Purpose: * Write to controller, with A0 = 1 */ void LCD_X_8080_16_Write01_16(U16 c) { LCD_SET_A0(); LCD_X_WRITE(c); }
/********************************************************************* * * LCD_X_8080_16_Write00_16 * * Purpose: * Write to controller, with A0 = 0 */ void LCD_X_8080_16_Write00_16(U16 c) { LCD_CLR_A0(); LCD_X_WRITE(c); }