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:76
References
Location
Referrer
Text
main.c:76
TS_StateTypeDef
TS_State
=
{
0
}
;
main.h:56
extern
TS_StateTypeDef
TS_State
;
ts_calibration.c:30
extern
TS_StateTypeDef
TS_State
;
main.c:145
main()
BSP_TS_ResetTouchData
(
&
TS_State
)
;
main.c:215
GetPosition()
BSP_TS_GetState
(
&
TS_State
)
;
main.c:216
GetPosition()
if
(
TS_State
.
touchDetected
)
main.c:220
GetPosition()
x
=
TouchScreen_Get_Calibrated_X
(
TS_State
.
touchX
[
0
]
)
;
main.c:221
GetPosition()
y
=
TouchScreen_Get_Calibrated_Y
(
TS_State
.
touchY
[
0
]
)
;
main.c:322
GetPosition()
TS_State
.
touchX
[
0
]
=
0
;
main.c:323
GetPosition()
TS_State
.
touchY
[
0
]
=
0
;
ts_calibration.c:159
TouchScreen_Calibration_GetPhysValues()
*
pPhysX
=
TS_State
.
touchX
[
0
]
;
ts_calibration.c:160
TouchScreen_Calibration_GetPhysValues()
*
pPhysY
=
TS_State
.
touchY
[
0
]
;
ts_calibration.c:194
TouchScreen_Calibration_WaitForPressedState()
status
=
BSP_TS_GetState
(
&
TS_State
)
;
ts_calibration.c:197
TouchScreen_Calibration_WaitForPressedState()
if
(
(
(
Pressed
==
0
)
&&
(
TS_State
.
touchDetected
==
0
)
)
||
ts_calibration.c:198
TouchScreen_Calibration_WaitForPressedState()
(
(
Pressed
==
1
)
&&
(
(
TS_State
.
touchDetected
==
1
)
||
(
TS_State
.
touchDetected
==
2
)
)
)
)
ts_calibration.c:210
TouchScreen_Calibration_WaitForPressedState()
status
=
BSP_TS_GetState
(
&
TS_State
)
;
ts_calibration.c:214
TouchScreen_Calibration_WaitForPressedState()
if
(
(
(
Pressed
==
0
)
&&
(
(
TS_State
.
touchDetected
==
1
)
||
(
TS_State
.
touchDetected
==
2
)
)
)
||
ts_calibration.c:215
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