LCD_Paint
TS_State
is only used within LCD_Paint.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LCD_Paint
TS_State
TS_State variable
Syntax
from
main.h:56
extern
TS_StateTypeDef
TS_State
;
Implemented in
main.c:75
References
Location
Referrer
Text
main.c:75
TS_StateTypeDef
TS_State
=
{
0
}
;
main.h:56
extern
TS_StateTypeDef
TS_State
;
ts_calibration.c:30
extern
TS_StateTypeDef
TS_State
;
main.c:139
main()
BSP_TS_ResetTouchData
(
&
TS_State
)
;
main.c:217
GetPosition()
BSP_TS_GetState
(
&
TS_State
)
;
main.c:218
GetPosition()
if
(
TS_State
.
touchDetected
)
main.c:222
GetPosition()
x
=
TouchScreen_Get_Calibrated_X
(
TS_State
.
touchX
[
0
]
)
;
main.c:223
GetPosition()
y
=
TouchScreen_Get_Calibrated_Y
(
TS_State
.
touchY
[
0
]
)
;
main.c:324
GetPosition()
TS_State
.
touchX
[
0
]
=
0
;
main.c:325
GetPosition()
TS_State
.
touchY
[
0
]
=
0
;
ts_calibration.c:156
TouchScreen_Calibration_GetPhysValues()
*
pPhysX
=
TS_State
.
touchX
[
0
]
;
ts_calibration.c:157
TouchScreen_Calibration_GetPhysValues()
*
pPhysY
=
TS_State
.
touchY
[
0
]
;
ts_calibration.c:191
TouchScreen_Calibration_WaitForPressedState()
status
=
BSP_TS_GetState
(
&
TS_State
)
;
ts_calibration.c:194
TouchScreen_Calibration_WaitForPressedState()
if
(
(
(
Pressed
==
0
)
&&
(
TS_State
.
touchDetected
==
0
)
)
||
ts_calibration.c:195
TouchScreen_Calibration_WaitForPressedState()
(
(
Pressed
==
1
)
&&
(
(
TS_State
.
touchDetected
==
1
)
||
(
TS_State
.
touchDetected
==
2
)
)
)
)
ts_calibration.c:208
TouchScreen_Calibration_WaitForPressedState()
status
=
BSP_TS_GetState
(
&
TS_State
)
;
ts_calibration.c:212
TouchScreen_Calibration_WaitForPressedState()
if
(
(
(
Pressed
==
0
)
&&
(
(
TS_State
.
touchDetected
==
1
)
||
(
TS_State
.
touchDetected
==
2
)
)
)
||
ts_calibration.c:213
TouchScreen_Calibration_WaitForPressedState()
(
(
Pressed
==
1
)
&&
(
(
TS_State
.
touchDetected
==
0
)
)
)
)
Data Use
Functions reading
TS_State
TS_State
GetPosition()
TouchScreen_Calibration_GetPhysValues()
TouchScreen_Calibration_WaitForPressedState()
all items filtered out
Type of
TS_State
TS_State
TS_StateTypeDef
all items filtered out