EZR32 Leopard Gecko Software Documentation  ezr32lg-doc-4.2.1
touch.h File Reference

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
 
struct  TOUCH_Config_TypeDef
 

Macros

#define TOUCH_INIT_DEFAULT
 

Typedefs

typedef void( TOUCH_Upcall_TypeDef) (TOUCH_Pos_TypeDef *)
 

Functions

void TOUCH_Init (TOUCH_Config_TypeDef *config)
 Initialize touch panel driver. More...
 
void TOUCH_RegisterUpcall (TOUCH_Upcall_TypeDef *new_upcall)
 Register upcall which will be call every position or state change. More...
 
TOUCH_Pos_TypeDefTOUCH_GetPos (void)
 Returns current touch position and state. More...
 
int TOUCH_CalibrationTable (POINT *displayPtr, POINT *screenPtr)
 Set calibration table. More...
 
int TOUCH_IsBusy (void)
 Check status of the touch panel. More...
 

Detailed Description

Version
4.2.1

License

(C) Copyright 2014 Silicon Labs, http://www.silabs.com

This file is licensed 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.