Nuvoton
/
NuMaker-mbed-emWin-example
NuMaker emWin HMI
Diff: tslib/M48XTouchPanel.h
- Revision:
- 1:c0f972361605
- Child:
- 6:d15151941247
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tslib/M48XTouchPanel.h Wed Feb 27 14:34:09 2019 +0800 @@ -0,0 +1,22 @@ +#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