EFM32 Pearl Gecko 1 Software Documentation
efm32pg1-doc-5.1.2
|
#include <touch.h>
Data Fields | |
uint16_t | adcx |
uint16_t | adcy |
uint8_t | pen |
uint16_t | x |
uint16_t | y |
uint16_t TOUCH_Pos_TypeDef::adcx |
ADC X readings
Definition at line 50 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 51 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 52 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 48 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 49 of file touch.h.
Referenced by ADC0_IRQHandler(), TOUCH_GetPos(), TOUCH_RecalculatePosition(), and TOUCH_StateChanged().