Touch panel position structure. More...
#include <touch.h>
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 |
Touch panel position structure.
Definition at line 65 of file touch.h.
uint16_t TOUCH_Pos_TypeDef::adcx |
ADC X readings.
Definition at line 68 of file touch.h.
Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), and TOUCH_RecalculatePosition().
uint16_t TOUCH_Pos_TypeDef::adcy |
ADC Y readings.
Definition at line 69 of file touch.h.
Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), and TOUCH_RecalculatePosition().
uint8_t TOUCH_Pos_TypeDef::pen |
0=not pressed, 1=touched
Definition at line 70 of file touch.h.
Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().
uint16_t TOUCH_Pos_TypeDef::x |
x position
Definition at line 66 of file touch.h.
Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().
uint16_t TOUCH_Pos_TypeDef::y |
y position
Definition at line 67 of file touch.h.
Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().