EFM32 Pearl Gecko 12 Software Documentation  efm32pg12-doc-5.1.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
touch.h File Reference

Detailed Description

Touch panel driver prototypes and definitions.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. 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.

#include "em_device.h"
#include "em_adc.h"
#include "calibrate.h"

Go to the source code of this file.

Data Structures

struct  TOUCH_Config_TypeDef
 
struct  TOUCH_Pos_TypeDef
 

Macros

#define TOUCH_INIT_DEFAULT
 

Typedefs

typedef void( TOUCH_Upcall_TypeDef) (TOUCH_Pos_TypeDef *)
 

Functions

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