TOUCH_Pos_TypeDef Struct ReferenceKit Drivers > Touch
Touch panel position structure
Definition at line 45
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 48
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 49
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 50
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 46
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 47
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:/repos/embsw_super_h1/hardware/kit/common/drivers/
touch.h