/* 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++;
  }
}
Ejemplo n.º 2
0
/* Read multiple bytes from controller, with A0 = 0 */
void LCD_X_ReadM00_16(unsigned short * pData, int NumWords) {
  LCD_CLR_A0();
  for (; NumWords; NumWords--) {
    LCD_X_READ(*pData);
    pData++;
  }
}
Ejemplo n.º 3
0
/* 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++;
  }
}
Ejemplo n.º 4
0
/*********************************************************************
*
*       LCD_X_8080_16_ReadM00_16
*
* Purpose:
*   Read multiple bytes from controller, with A0 = 0
*/
void LCD_X_8080_16_ReadM00_16(U16 * pData, int NumWords) {
  LCD_CLR_A0();
  for (; NumWords; NumWords--) {
    LCD_X_READ(*pData);
    pData++;
  }
}
Ejemplo n.º 5
0
/*********************************************************************
*
*       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++;
  }
}
Ejemplo n.º 6
0
/* Read from controller 2, with A0 = 0, CS0 = 1, CS1 = 1 */
unsigned char LCD_X_Read20(void) {
  unsigned char c;
  LCD_CLR_CS2();
  LCD_CLR_A0();
  LCD_X_READ();
  LCD_SET_CS2();
  return c;
}
/* Read from controller, with A0 = 0 */
unsigned char LCD_X_Read00(void) {
  unsigned char c;
  LCD_CLR_A0();
  LCD_X_READ(c);
  return c;
}
/* Write to controller, with A0 = 0 */
void LCD_X_Write00(unsigned char c) {
  LCD_CLR_A0();
  LCD_X_WRITE(c);
}
Ejemplo n.º 9
0
/* Write to controller 2, with A0 = 0, CS0 = 1, CS1 = 1 */
void LCD_X_Write20(unsigned char c) {
  LCD_CLR_A0();
  LCD_CLR_CS2();
  LCD_X_WRITE(c);
  LCD_SET_CS2();
}
Ejemplo n.º 10
0
/* Read from controller, with A0 = 0 */
unsigned short LCD_X_Read00_16(void) {
  unsigned short c;
  LCD_CLR_A0();
  LCD_X_READ(c);
  return c;
}
Ejemplo n.º 11
0
/* Write to controller, with A0 = 0 */
void LCD_X_Write00_16(unsigned short c) {
  LCD_CLR_A0();
  LCD_X_WRITE(c);
}
Ejemplo n.º 12
0
/*********************************************************************
*
*       LCD_X_8080_16_Read00_16
*
* Purpose:
*   Read from controller, with A0 = 0
*/
U16 LCD_X_8080_16_Read00_16(void) {
  U16 c;
  LCD_CLR_A0();
  LCD_X_READ(c);
  return c;
}
Ejemplo n.º 13
0
/*********************************************************************
*
*       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);
}