Getting Started for FM4 S6E2DH (GAT-D)
www.cypress.com
Document No. 002-04388 Rev. *B
35
5.1
Interface Description
5.1.1
G h c P r o j e c t _ l o a d
Function
Load GAT-D project data in generated source
Parameter
Type
Name
Description
TGhcU32 1*
a_mcuMemorySize
Not used , set to 0
TGhcU32
a_displayListSize
Not used , set to 0
Return
TGhcBool 2*
True: success; False: fail
Note
1*: TGhcU32 is typedef of unsigned int
2*: TGhcBool is typedef of bool
5.1.2
G h c I r i s I n i t i a l i z e
Function
Graphics driver initialization
Parameter
Type
Name
Description
Void
-
-
Return
TGhcBool
True: success; False: fail
Note
5.1.3
G h c P r o j e c t _ s e t S t a r t u p A c t i o n
Function
Set action which will be played at startup
Parameter
Type
Name
Description
Void
-
-
Return
TGhcBool
True: success; False: fail
Note
The action to set is selected in GAT-D Tool.
Refer to user’s manual of GAT-D for details.
Call GhcProject_RunAction () to display.
5.1.4
G h c P r o j e c t _ R u n Ac t i o n
Function
Play the startup action
Parameter
Type
Name
Description
Void
-
-
Return
TGhcBool
True: success; False: fail
Note
Should be called after calling of GhcProject_setStartupAction ()
5.1.5
G h c P r o j e c t _ S t o p R u n i n g Ac t i o n
Function
If there is an action playing, stop the playing.
Parameter
Type
Name
Description
Void
-
-
Return
TGhcBool
True: success; False: fail
Note
This calling should be arranged in another routine different with action is playing in.