NuMaker emWin HMI

tslib/M48XTouchPanel.h

Committer:
csyang2
Date:
2019-02-27
Revision:
1:c0f972361605
Child:
6:d15151941247

File content as of revision 1:c0f972361605:

#ifndef __M48XTOUCHPANEL_H__
#define __M48XTOUCHPANEL_H__

#define __DEMO_TSFILE_ADDR__    0x00040000 /* SPI flash 256KB address */

#define __DEMO_TS_WIDTH__       320
#define __DEMO_TS_HEIGHT__      240

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

int Init_TouchPanel(void);
int Read_TouchPanel(int *x, int *y);
int Uninit_TouchPanel(void);
int Check_TouchPanel(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif