Sign In
Upload
Manuals
Brands
Bridgetek Manuals
Controller
FT801
Bridgetek FT801 Manuals
Manuals and User Guides for Bridgetek FT801. We have
1
Bridgetek FT801 manual available for free PDF download: Programming Manual
Bridgetek FT801 Programming Manual (263 pages)
FT800 Series
Brand:
Bridgetek
| Category:
Controller
| Size: 3 MB
Table of Contents
Table of Contents
2
1 Introduction
9
API Reference Definitions
9
Overview
9
Scope
9
Appendix B - List of Figures & Tables
12
List of Figures
12
List of Tables
31
2 Programming Model
11
General Software Architecture
11
Display Configuration and Initialization
12
Figure 1: Software Architecture
12
Figure 2: Horizontal Timing
13
Horizontal Timing
13
Figure 3: Vertical Timing
14
Figure 4: Pixel Clocking with no CSPREAD
14
Figure 5: Pixel Clocking with CSPREAD
14
Signals Updating Timing Control
14
Vertical Timing
14
Timing Example: 480X272 at 60Hz
15
Initialization Sequence
16
Sound Synthesizer
17
Audio Playback
18
Figure 7: Getting Start Example Image
19
Getting Started
19
Graphics Routines
19
Coordinate Plane
20
Figure 6: FT800 Graphics Coordinates Plane in Pixel Precision
20
Drawing Pattern
21
Writing Display Lists
26
Bitmap Transformation Matrix
27
Color and Transparency
27
VERTEX2II and VERTEX2F
28
Performance
30
Screenshot
30
Table 1 Bitmap Rendering Performance
31
3 Register Description
32
Graphics Engine Registers
32
Table 2 REG_SWIZZLE and RGB Pins Mapping Table
34
Touch Engine Registers (FT800 Only)
47
Audio Engine Registers
62
Co-Processor Engine Registers
68
Miscellaneous Registers
70
4 Display List Commands
81
Graphics State
81
Table 3 Graphics Context
81
4.2 Command Encoding
82
Command Encoding
82
Table 4 FT800 Graphics Primitives List
82
Command Groups
83
Setting Graphics State
83
Table 5 Graphics Bitmap Format Table
83
Drawing Actions
84
Execution Control
84
Alpha_Func
85
Figure 8: the Constants of ALPHA_FUNC
85
Begin
86
Bitmaps
86
Edge_Strip_A
86
Edge_Strip_B
86
Edge_Strip_L
86
Edge_Strip_R
86
Graphics Primitive
86
Lines
86
Line_Strip
86
Points
86
Bitmap_Handle
88
Bitmap_Layout
89
Table 7 BITMAP_LAYOUT Format List
89
Figure 10: Pixel Format for ARGB2/1555
92
Figure 9: Pixel Format for L1/L4/L8
92
Figure 11: Pixel Format for ARGB4, RGB332, RGB565 and Palette
93
Bitmap_Size
94
Bitmap_Source
97
Bitmap_Transform_A
99
Bitmap_Transform_B
101
Bitmap_Transform_C
102
Bitmap_Transform_D
103
Bitmap_Transform_E
104
Bitmap_Transform_F
106
Blend_Func
107
Table 8 BLEND_FUNC Constant Value Definition
107
Call
110
Cell
111
Clear
112
Clear_Color_A
114
Clear_Color_Rgb
115
Clear_Stencil
117
Clear_Tag
118
Color_A
119
Color_Mask
120
Color_Rgb
122
Display
123
End
124
Jump
125
Line_Width
126
Macro
127
Point_Size
128
Restore_Context
129
Return
130
Save Context
131
Scissor_Size
132
Scissor_Xy
134
Stencil_Func
135
Stencil_Mask
137
Figure 12: STENCIL_OP Constants Definition
138
Stencil_Op
138
Tag
140
Tag_Mask
141
Vertex2F
142
Vertex2Ii
143
5 Co-Processor Engine Commands
144
Document Reference No.: BRT_000030 Clearance No.: BRT#037
145
Co-Processor Handling of Display List Commands
146
Synchronization
146
ROM and RAM Fonts
147
Cautions
148
Table 9 FT800 Font Metrics Block Format
148
Fault Scenarios
149
Widgets Color Settings
149
Widgets Physical Dimension
149
Co-Processor Engine Graphics State
150
Table 10 Widgets Color Setup Table
150
Table 11 Co-Processor Engine Graphics State
150
Definition of Parameter OPTION
151
Table 12 Parameter OPTION Definition
151
Co-Processor Engine Resources
153
Command Groups
153
CMD_DLSTART - Start a New Display List
155
CMD_COLDSTART - Set Co-Processor Engine State to
156
CMD_SWAP - Swap the Current Display List
156
Default Values
156
CMD_INTERRUPT - Trigger Interrupt INT_CMDFLAG
158
CMD_APPEND - Append Memory to Display List
159
CMD_REGREAD - Read a Register Value
160
CMD_MEMWRITE - Write Bytes into Memory
161
CMD_INFLATE - Decompress Data into Memory
163
CMD_LOADIMAGE - Load a JPEG Image
164
CMD_MEMCRC - Compute a CRC-32 for Memory
166
CMD_MEMZERO - Write Zero to a Block of Memory
167
CMD_MEMSET - Fill Memory with a Byte Value
168
CMD_MEMCPY - Copy a Block of Memory
169
CMD_BUTTON - Draw a Button
170
CMD_CLOCK - Draw an Analog Clock
173
CMD_FGCOLOR - Set the Foreground Color
178
CMD_BGCOLOR - Set the Background Color
179
CMD_GRADCOLOR - Set the 3D Button Highlight Color
181
CMD_GAUGE - Draw a Gauge
183
CMD_GRADIENT - Draw a Smooth Color Gradient
190
CMD_KEYS - Draw a Row of Keys
194
CMD_PROGRESS - Draw a Progress Bar
199
CMD_SCROLLBAR - Draw a Scroll Bar
202
CMD_SLIDER - Draw a Slider
205
CMD_DIAL - Draw a Rotary Dial Control
208
CMD_TOGGLE - Draw a Toggle Switch
211
CMD_TEXT - Draw Text
214
CMD_NUMBER - Draw a Decimal Number
218
CMD_GETMATRIX - Retrieves the Current Matrix
221
CMD_SETMATRIX - Write the Current Matrix to the Display List
221
Coefficients
221
CMD_GETPTR - Get the End Memory Address of Inflated Data
223
By CMD_LOADIMAGE
224
CMD_SCALE - Apply a Scale to the Current Matrix
224
CMD_ROTATE - Apply a Rotation to the Current Matrix
227
CMD_TRANSLATE - Apply a Translation to the Current Matrix
229
CMD_CALIBRATE - Execute the Touch Screen Calibration Routine
231
CMD_SPINNER - Start an Animated Spinner
232
CMD_SCREENSAVER - Start an Animated Screensaver
236
CMD_SKETCH - Start a Continuous Sketch Update
237
CMD_STOP - Stop any of Spinner, Screensaver or Sketch
239
CMD_SETFONT - Set up a Custom Font
240
CMD_TRACK - Track Touches for a Graphics Object
241
CMD_SNAPSHOT - Take a Snapshot of the Current Screen
245
CMD_LOGO - Play FTDI Logo Animation
246
6 FT801 Operation
247
FT801 Introduction
247
FT801 Touch Engine
247
FT801 Touch Registers
247
Calibration
253
Register Summary
253
Table 13 Touch Registers Map Table
253
CMD_CSKETCH - Capacitive Touch Specific Sketch
254
7 Contact Information
256
Acronyms & Abbreviations
257
Appendix A - References
257
Document References
257
Appendix B - List of Figures & Tables List of Figures
258
Appendix B - List of Figures & Tables
258
List of Figures
258
List of Tables
258
Appendix C - Memory Map
259
Appendix D - List of Code Snippet
260
Appendix E - List of Registers
261
Advertisement
Advertisement
Related Products
Bridgetek FT800
Bridgetek FT900
Bridgetek Categories
Touchscreen
Controller
Switch
Microcontrollers
Accessories
More Bridgetek Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL