TOUCH_Pos_TypeDef Struct Reference
[Touch]

Touch panel position structure. More...

#include <touch.h>

Collaboration diagram for TOUCH_Pos_TypeDef:
Collaboration graph
[legend]

Data Fields

uint16_t x
 x position
uint16_t y
 y position
uint16_t adcx
 ADC X readings.
uint16_t adcy
 ADC Y readings.
uint8_t pen
 0=not pressed, 1=touched

Detailed Description

Touch panel position structure.

Definition at line 65 of file touch.h.


Field Documentation

ADC X readings.

Definition at line 68 of file touch.h.

Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), and TOUCH_RecalculatePosition().

ADC Y readings.

Definition at line 69 of file touch.h.

Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), and TOUCH_RecalculatePosition().

0=not pressed, 1=touched

Definition at line 70 of file touch.h.

Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().

x position

Definition at line 66 of file touch.h.

Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().

y position

Definition at line 67 of file touch.h.

Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().


The documentation for this struct was generated from the following file: