Mario Poneder / TFT_TouchPanel
Revision:
1:007113101ef7
Parent:
0:e38c94c549f4
diff -r e38c94c549f4 -r 007113101ef7 TouchPanel.cpp
--- a/TouchPanel.cpp	Tue Jan 28 10:55:53 2014 +0000
+++ b/TouchPanel.cpp	Tue Jan 28 13:16:36 2014 +0000
@@ -1,14 +1,3 @@
-/***************************************************************************//**
- * @file   TouchPanel.cpp
- * @brief  Implementation of the touch panel driver for the
- *         TFT color display MI0283QT-9A (320x240).
- * @author Mario Poneder
- * @date   28/01/2013
-*******************************************************************************/
-
-/******************************************************************************/
-/***************************** Include Files **********************************/
-/******************************************************************************/
 #include "TouchPanel.h"
 
 /***************************************************************************//**
@@ -32,9 +21,9 @@
 /***************************************************************************//**
  * @brief Calls the PollPanel method in specified intervals.
  *
- * @param touchCallbackFunction     Pointer to the touch callback function,
- *                                  which has to take the parameters 'x' and
- *                                  'y' and gets called when a touch was detected.
+ * @param touchCallbackFunction     Pointer to the touch callback function.
+ *                                  Example prototype:
+ * @code void TouchCallback(unsigned short x, unsigned short y); @endcode
  *
  * @return None.
 *******************************************************************************/
@@ -87,8 +76,7 @@
 
 /***************************************************************************//**
  * @brief Alternately reads the touch panel's X or Y coordinate and calls the
- *        touch callback function, which has to take the parameters
- *        'x' and 'y', when a touch was detected.
+ *        touch callback function when a touch was detected.
  *
  * @return None.
 *******************************************************************************/