ra8806 RAIO Technology Inc., ra8806 Datasheet - Page 44

no-image

ra8806

Manufacturer Part Number
ra8806
Description
Two Layers Character/graphic Lcd Controller
Manufacturer
RAIO Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ra8806L2N-S
Manufacturer:
ST
Quantity:
2 100
Part Number:
ra8806L2N-S
Manufacturer:
RAIO
Quantity:
20 000
Part Number:
ra8806P1N-S
Manufacturer:
RAIO
Quantity:
4 000
Preliminary Version 1.2
RA O
i
TECHNOLOGY INC.
(2) Program Example:
Unsigned char X1,X2,Y1,Y2;
Touch_Panel_Enable ( );
TP_Auto_Enable ( );
TP_INT_Mask_Enable ( );
Int EXT_INT_Service_Routine
{
Else if (INT_Sta & 0x02)
Else if (INT_Sta & 0x04)
}
{
{
}
}
Execute other function
LCD_CmdWrite ( INTR );
INT_Sta = LCD_DataRead ( );
If ( INT_Sta & 0x01 )
{
}
:
:
:
:
:
:
:
:
LCD_CmdWrite(TPXR);
X1 = LCD_DataRead( );
Y1 = LCD_DataRead( );
LCD_CmdWrite(TPZR);
X2 = LCD_DataRead( ) & 0x03; // LSB two Bits of X
Y2 = LCD_DataRead( ) & 0x0C; // Least two Bits of Y
LCD_CmdWrite(TPYR);
LCD_CmdWrite(TPZR);
LCD_CmdWrite ( INTR );
LCD_DataWrite ( temp );
Execute corresponding function
LCD_CmdWrite ( INTR );
temp = LCD_DataRead ( ) & 0xfe;
:
:
:
:
44/184
Two Layers Character/Graphic LCD Controller
// Set TPCR1 Bit 7 to 1
// Set TPCR2 Bit 7 to 0
// Set INTR Bit-4 to 1
// ISR entry
// Check INT status
// MSB of X
// MSB of Y
// Clear Touch Panel status
// Jump to ISR when interrupt
// Check If TP interrupt
// Check if Key-Scan interrupt
// Check if Wakeup interrupt
www.raio.com.tw
RA8806

Related parts for ra8806