Getting Started for FM4 S6E2DH (GAT-D)
www.cypress.com
Document No. 002-04388 Rev. *B
37
5.2
Join with Source
Follow
figure explains how to use interface to join with user’s source.
Figure 60.
How to Join with User’s Source
1*: The calling will not return until action playing complete or never return if its endless loop action, in this case, the
only method is calling Ghcproject_StopRuningAction () in an interrupt routine.
2*: Assume it is operation in touch panel detection routine.
3*: These sources are implemented by GAT-D user.
Embedded
software
GhcProject_load
Startu
p
Calling
Main routine
Calling
Calling
Calling
Graphics
GhcIrisInitialize
GhcProject_setStartupA
ction
GhcProject_RunActi
on
GhcProject_sendEv
ent_Ex
GhcFunc_getCurrentPa
ge
GhcFunc_getButtonArea
ByIndex
Calling
Event ?
Other routine
Start 2*
Calling
Loop buttons
Calling
Throw Event
Yes
No
1*
1*
GhcProject_StopRuning
Action
Calling
Push?
Yes
No
3*
3*