Touch panel driver prototypes and definitions. More...
#include "em_device.h"
#include "em_adc.h"
#include "calibrate.h"
Go to the source code of this file.
Data Structures | |
struct | TOUCH_Pos_TypeDef |
Touch panel position structure. More... | |
struct | TOUCH_Config_TypeDef |
Touch configuration structure. More... | |
Defines | |
#define | TOUCH_INIT_DEFAULT |
Initializes Touch default values. | |
Typedefs | |
typedef void( | TOUCH_Upcall_TypeDef )(TOUCH_Pos_TypeDef *) |
touch panel upcall type definition | |
Functions | |
void | TOUCH_Init (TOUCH_Config_TypeDef *config) |
Initialize touch panel driver. | |
void | TOUCH_RegisterUpcall (TOUCH_Upcall_TypeDef *new_upcall) |
Register upcall which will be call every position or state change. | |
TOUCH_Pos_TypeDef * | TOUCH_GetPos (void) |
Returns current touch position and state. | |
int | TOUCH_CalibrationTable (POINT *displayPtr, POINT *screenPtr) |
Set calibration table. | |
int | TOUCH_IsBusy (void) |
Check status of the touch panel. |
Touch panel driver prototypes and definitions.
(C) Copyright 2014 Silicon Labs, http://www.silabs.com
This file is licensensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.
Definition in file touch.h.