TOUCH_Pos_TypeDef Struct Reference
Touch panel position structure
Definition at line 60
of file touch.h
.
#include <
touch.h
>
Data Fields | |
uint16_t | adcx |
uint16_t | adcy |
uint8_t | pen |
uint16_t | x |
uint16_t | y |
Field Documentation
uint16_t TOUCH_Pos_TypeDef::adcx |
ADC X readings
Definition at line 63
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 64
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 65
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 61
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 62
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:
- C:/HandsOn/super/hardware/kit/common/drivers/
touch.h