Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ft8xx_reference_api.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Hubert Miś
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_REFERENCE_API_H_
13#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_REFERENCE_API_H_
14
15#include <stdint.h>
16
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
47static inline void wr8(uint32_t address, uint8_t data)
48{
49 ft8xx_wr8(address, data);
50}
51
58static inline void wr16(uint32_t address, uint16_t data)
59{
60 ft8xx_wr16(address, data);
61}
62
69static inline void wr32(uint32_t address, uint32_t data)
70{
71 ft8xx_wr32(address, data);
72}
73
81static inline uint8_t rd8(uint32_t address)
82{
83 return ft8xx_rd8(address);
84}
85
93static inline uint16_t rd16(uint32_t address)
94{
95 return ft8xx_rd16(address);
96}
97
105static inline uint32_t rd32(uint32_t address)
106{
107 return ft8xx_rd32(address);
108}
109
110
112#define OPT_3D FT8XX_OPT_3D
114#define OPT_RGB565 FT8XX_OPT_RGB565
116#define OPT_MONO FT8XX_OPT_MONO
118#define OPT_NODL FT8XX_OPT_NODL
120#define OPT_FLAT FT8XX_OPT_FLAT
122#define OPT_SIGNED FT8XX_OPT_SIGNED
124#define OPT_CENTERX FT8XX_OPT_CENTERX
126#define OPT_CENTERY FT8XX_OPT_CENTERY
128#define OPT_CENTER FT8XX_OPT_CENTER
130#define OPT_RIGHTX FT8XX_OPT_RIGHTX
132#define OPT_NOBACK FT8XX_OPT_NOBACK
136#define OPT_NOTICKS FT8XX_OPT_NOTICKS
140#define OPT_NOHM FT8XX_OPT_NOHM
142#define OPT_NOPOINTER FT8XX_OPT_NOPOINTER
144#define OPT_NOSECS FT8XX_OPT_NOSECS
146#define OPT_NOHANDS FT8XX_OPT_NOHANDS
147
153static inline void cmd(uint32_t command)
154{
155 ft8xx_copro_cmd(command);
156}
157
161static inline void cmd_dlstart(void)
162{
164}
165
169static inline void cmd_swap(void)
170{
172}
173
188static inline void cmd_text(int16_t x,
189 int16_t y,
190 int16_t font,
191 uint16_t options,
192 const char *s)
193{
194 ft8xx_copro_cmd_text(x, y, font, options, s);
195}
196
215static inline void cmd_number(int16_t x,
216 int16_t y,
217 int16_t font,
218 uint16_t options,
219 int32_t n)
220{
221 ft8xx_copro_cmd_number(x, y, font, options, n);
222}
223
235static inline void cmd_calibrate(uint32_t *result)
236{
238}
239
240
242#define BITMAPS FT8XX_BITMAPS
244#define POINTS FT8XX_POINTS
249#define LINES FT8XX_LINES
251#define LINE_STRIP FT8XX_LINE_STRIP
253#define EDGE_STRIP_R FT8XX_EDGE_STRIP_R
255#define EDGE_STRIP_L FT8XX_EDGE_STRIP_L
257#define EDGE_STRIP_A FT8XX_EDGE_STRIP_A
259#define EDGE_STRIP_B FT8XX_EDGE_STRIP_B
264#define RECTS FT8XX_RECTS
265
289#define BEGIN(prim) FT8XX_BEGIN(prim)
290
312#define CLEAR(c, s, t) FT8XX_CLEAR(c, s, t)
313
323#define CLEAR_COLOR_RGB(red, green, blue) FT8XX_CLEAR_COLOR_RGB(red, green, blue)
324
335#define COLOR_RGB(red, green, blue) FT8XX_COLOR_RGB(red, green, blue)
336
342#define DISPLAY() FT8XX_DISPLAY()
343
351#define END() FT8XX_END()
352
365#define LINE_WIDTH(width) FT8XX_LINE_WIDTH(width)
366
385#define TAG(s) FT8XX_TAG(s)
386
399#define VERTEX2F(x, y) FT8XX_VERTEX2F(x, y)
400
416#define VERTEX2II(x, y, handle, cell) FT8XX_VERTEX2II(x, y, handle, cell)
417
418
419#if defined(CONFIG_FT800)
423 ROM_CHIPID = FT800_ROM_CHIPID,
424 ROM_FONT = FT800_ROM_FONT,
425 ROM_FONT_ADDR = FT800_ROM_FONT_ADDR,
427 RAM_PAL = FT800_RAM_PAL,
430};
431#else /* Definition of FT810 memory map */
439#endif
440
441#if defined(CONFIG_FT800)
481
494 REG_MACRO_0 = FT800_REG_MACRO_0,
495 REG_MACRO_1 = FT800_REG_MACRO_1,
496
517
520
522};
523#else /* Definition of FT810 registers */
527
567
580
602
604
607
610
618};
619#endif
620
625#ifdef __cplusplus
626}
627#endif
628
629#endif /* ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_REFERENCE_API_H_ */
irp nz macro MOVR cc s mov cc s endm endr irp aw macro LDR aa s
Definition asm-macro-32-bit-gnu.h:17
FT8XX common functions.
FT8XX coprocessor functions.
FT8XX display list commands.
FT8XX memory map.
void ft8xx_wr32(uint32_t address, uint32_t data)
Write 4 bytes (32 bits) to FT8xx memory.
void ft8xx_wr8(uint32_t address, uint8_t data)
Write 1 byte (8 bits) to FT8xx memory.
uint32_t ft8xx_rd32(uint32_t address)
Read 4 bytes (32 bits) from FT8xx memory.
uint8_t ft8xx_rd8(uint32_t address)
Read 1 byte (8 bits) from FT8xx memory.
uint16_t ft8xx_rd16(uint32_t address)
Read 2 bytes (16 bits) from FT8xx memory.
void ft8xx_wr16(uint32_t address, uint16_t data)
Write 2 bytes (16 bits) to FT8xx memory.
void ft8xx_copro_cmd_dlstart(void)
Start a new display list.
void ft8xx_copro_cmd_number(int16_t x, int16_t y, int16_t font, uint16_t options, int32_t n)
Draw a decimal number.
void ft8xx_copro_cmd_calibrate(uint32_t *result)
Execute the touch screen calibration routine.
void ft8xx_copro_cmd_swap(void)
Swap the current display list.
void ft8xx_copro_cmd_text(int16_t x, int16_t y, int16_t font, uint16_t options, const char *s)
Draw text.
void ft8xx_copro_cmd(uint32_t cmd)
Execute a display list command by co-processor engine.
@ FT800_REG_PLAY
Definition ft8xx_memory.h:82
@ FT800_REG_PLAYBACK_LENGTH
Definition ft8xx_memory.h:90
@ FT800_REG_VSYNC0
Definition ft8xx_memory.h:66
@ FT800_REG_FREQUENCY
Definition ft8xx_memory.h:51
@ FT800_REG_PLAYBACK_FORMAT
Definition ft8xx_memory.h:93
@ FT800_REG_PLAYBACK_PLAY
Definition ft8xx_memory.h:95
@ FT800_REG_SWIZZLE
Definition ft8xx_memory.h:72
@ FT800_REG_TOUCH_DIRECT_XY
Definition ft8xx_memory.h:122
@ FT800_REG_TOUCH_TRANSFORM_A
Definition ft8xx_memory.h:115
@ FT800_REG_RENDERMODE
Definition ft8xx_memory.h:52
@ FT800_REG_TOUCH_TRANSFORM_F
Definition ft8xx_memory.h:120
@ FT800_REG_CMD_DL
Definition ft8xx_memory.h:103
@ FT800_REG_TOUCH_TAG
Definition ft8xx_memory.h:114
@ FT800_REG_TAP_CRC
Definition ft8xx_memory.h:56
@ FT800_REG_DITHER
Definition ft8xx_memory.h:71
@ FT800_REG_GPIO_DIR
Definition ft8xx_memory.h:83
@ FT800_REG_SOUND
Definition ft8xx_memory.h:81
@ FT800_REG_VSIZE
Definition ft8xx_memory.h:65
@ FT800_REG_HOFFSET
Definition ft8xx_memory.h:59
@ FT800_REG_TRACKER
Definition ft8xx_memory.h:125
@ FT800_REG_SNAPSHOT
Definition ft8xx_memory.h:54
@ FT800_REG_TOUCH_TRANSFORM_D
Definition ft8xx_memory.h:118
@ FT800_REG_TAP_MASK
Definition ft8xx_memory.h:57
@ FT800_REG_OUTBITS
Definition ft8xx_memory.h:70
@ FT800_REG_TAG_X
Definition ft8xx_memory.h:76
@ FT800_REG_TOUCH_DIRECT_Z1Z2
Definition ft8xx_memory.h:123
@ FT800_REG_CPURESET
Definition ft8xx_memory.h:55
@ FT800_REG_CLOCK
Definition ft8xx_memory.h:50
@ FT800_REG_CMD_WRITE
Definition ft8xx_memory.h:102
@ FT800_REG_TOUCH_TRANSFORM_C
Definition ft8xx_memory.h:117
@ FT800_REG_VOL_PB
Definition ft8xx_memory.h:79
@ FT800_REG_TOUCH_TRANSFORM_E
Definition ft8xx_memory.h:119
@ FT800_REG_INT_FLAGS
Definition ft8xx_memory.h:86
@ FT800_REG_VOL_SOUND
Definition ft8xx_memory.h:80
@ FT800_REG_HSYNC0
Definition ft8xx_memory.h:61
@ FT800_REG_TOUCH_ADC_MODE
Definition ft8xx_memory.h:105
@ FT800_REG_TOUCH_CHARGE
Definition ft8xx_memory.h:106
@ FT800_REG_SNAPY
Definition ft8xx_memory.h:53
@ FT800_REG_TOUCH_RZTHRESH
Definition ft8xx_memory.h:109
@ FT800_REG_ID
Definition ft8xx_memory.h:48
@ FT800_REG_HSIZE
Definition ft8xx_memory.h:60
@ FT800_REG_HSYNC1
Definition ft8xx_memory.h:62
@ FT800_REG_VOFFSET
Definition ft8xx_memory.h:64
@ FT800_REG_TAG_Y
Definition ft8xx_memory.h:77
@ FT800_REG_TAG
Definition ft8xx_memory.h:78
@ FT800_REG_TOUCH_TAG_XY
Definition ft8xx_memory.h:113
@ FT800_REG_TOUCH_OVERSAMPLE
Definition ft8xx_memory.h:108
@ FT800_REG_PCLK
Definition ft8xx_memory.h:75
@ FT800_REG_TOUCH_RAW_XY
Definition ft8xx_memory.h:110
@ FT800_REG_TOUCH_SCREEN_XY
Definition ft8xx_memory.h:112
@ FT800_REG_MACRO_1
Definition ft8xx_memory.h:99
@ FT800_REG_PCLK_POL
Definition ft8xx_memory.h:74
@ FT800_REG_DLSWAP
Definition ft8xx_memory.h:68
@ FT800_REG_HCYCLE
Definition ft8xx_memory.h:58
@ FT800_REG_CMD_READ
Definition ft8xx_memory.h:101
@ FT800_REG_INT_EN
Definition ft8xx_memory.h:87
@ FT800_REG_FRAMES
Definition ft8xx_memory.h:49
@ FT800_REG_INT_MASK
Definition ft8xx_memory.h:88
@ FT800_REG_PLAYBACK_FREQ
Definition ft8xx_memory.h:92
@ FT800_REG_CSPREAD
Definition ft8xx_memory.h:73
@ FT800_REG_VCYCLE
Definition ft8xx_memory.h:63
@ FT800_REG_PLAYBACK_LOOP
Definition ft8xx_memory.h:94
@ FT800_REG_TOUCH_RZ
Definition ft8xx_memory.h:111
@ FT800_REG_ROTATE
Definition ft8xx_memory.h:69
@ FT800_REG_VSYNC1
Definition ft8xx_memory.h:67
@ FT800_REG_PLAYBACK_START
Definition ft8xx_memory.h:89
@ FT800_REG_PWM_HZ
Definition ft8xx_memory.h:96
@ FT800_REG_TOUCH_TRANSFORM_B
Definition ft8xx_memory.h:116
@ FT800_REG_TOUCH_MODE
Definition ft8xx_memory.h:104
@ FT800_REG_TOUCH_SETTLE
Definition ft8xx_memory.h:107
@ FT800_REG_PWM_DUTY
Definition ft8xx_memory.h:97
@ FT800_REG_MACRO_0
Definition ft8xx_memory.h:98
@ FT800_REG_PLAYBACK_READPTR
Definition ft8xx_memory.h:91
@ FT800_REG_GPIO
Definition ft8xx_memory.h:84
@ FT810_REG_TOUCH_TRANSFORM_F
Definition ft8xx_memory.h:204
@ FT810_REG_PWM_DUTY
Definition ft8xx_memory.h:183
@ FT810_REG_HSYNC0
Definition ft8xx_memory.h:145
@ FT810_REG_PLAYBACK_LOOP
Definition ft8xx_memory.h:180
@ FT810_REG_TOUCH_SETTLE
Definition ft8xx_memory.h:191
@ FT810_REG_SNAPSHOT
Definition ft8xx_memory.h:138
@ FT810_REG_TOUCH_CONFIG
Definition ft8xx_memory.h:205
@ FT810_REG_SNAPY
Definition ft8xx_memory.h:137
@ FT810_REG_PLAYBACK_LENGTH
Definition ft8xx_memory.h:176
@ FT810_REG_TAG_Y
Definition ft8xx_memory.h:161
@ FT810_REG_CLOCK
Definition ft8xx_memory.h:134
@ FT810_REG_VOFFSET
Definition ft8xx_memory.h:148
@ FT810_REG_TOUCH_ADC_MODE
Definition ft8xx_memory.h:189
@ FT810_REG_PLAYBACK_FORMAT
Definition ft8xx_memory.h:179
@ FT810_REG_RENDERMODE
Definition ft8xx_memory.h:136
@ FT810_REG_TOUCH_RAW_XY
Definition ft8xx_memory.h:194
@ FT810_REG_TAP_MASK
Definition ft8xx_memory.h:141
@ FT810_REG_VSYNC1
Definition ft8xx_memory.h:151
@ FT810_REG_FREQUENCY
Definition ft8xx_memory.h:135
@ FT810_REG_TRACKER
Definition ft8xx_memory.h:215
@ FT810_REG_TRACKER3
Definition ft8xx_memory.h:218
@ FT810_REG_TOUCH_TAG_XY
Definition ft8xx_memory.h:197
@ FT810_REG_HSYNC1
Definition ft8xx_memory.h:146
@ FT810_REG_ROTATE
Definition ft8xx_memory.h:153
@ FT810_REG_INT_MASK
Definition ft8xx_memory.h:174
@ FT810_REG_SOUND
Definition ft8xx_memory.h:165
@ FT810_REG_PLAYBACK_READPTR
Definition ft8xx_memory.h:177
@ FT810_REG_DITHER
Definition ft8xx_memory.h:155
@ FT810_REG_TOUCH_MODE
Definition ft8xx_memory.h:188
@ FT810_REG_HCYCLE
Definition ft8xx_memory.h:142
@ FT810_REG_TOUCH_RZ
Definition ft8xx_memory.h:195
@ FT810_REG_INT_EN
Definition ft8xx_memory.h:173
@ FT810_REG_TAP_CRC
Definition ft8xx_memory.h:140
@ FT810_REG_TOUCH_TRANSFORM_D
Definition ft8xx_memory.h:202
@ FT810_REG_PWM_HZ
Definition ft8xx_memory.h:182
@ FT810_REG_TOUCH_OVERSAMPLE
Definition ft8xx_memory.h:192
@ FT810_REG_CMD_READ
Definition ft8xx_memory.h:185
@ FT810_REG_SPI_WIDTH
Definition ft8xx_memory.h:207
@ FT810_REG_PCLK_POL
Definition ft8xx_memory.h:158
@ FT810_REG_CMDB_SPACE
Definition ft8xx_memory.h:212
@ FT810_REG_TOUCH_DIRECT_XY
Definition ft8xx_memory.h:209
@ FT810_REG_MEDIAFIFO_READ
Definition ft8xx_memory.h:220
@ FT810_REG_ID
Definition ft8xx_memory.h:132
@ FT810_REG_PLAYBACK_FREQ
Definition ft8xx_memory.h:178
@ FT810_REG_HOFFSET
Definition ft8xx_memory.h:143
@ FT810_REG_TOUCH_TAG
Definition ft8xx_memory.h:198
@ FT810_REG_VOL_SOUND
Definition ft8xx_memory.h:164
@ FT810_REG_TRACKER4
Definition ft8xx_memory.h:219
@ FT810_REG_VCYCLE
Definition ft8xx_memory.h:147
@ FT810_REG_TOUCH_RZTHRESH
Definition ft8xx_memory.h:193
@ FT810_REG_TOUCH_TRANSFORM_A
Definition ft8xx_memory.h:199
@ FT810_REG_TOUCH_TRANSFORM_B
Definition ft8xx_memory.h:200
@ FT810_REG_TOUCH_TRANSFORM_E
Definition ft8xx_memory.h:203
@ FT810_REG_MEDIAFIFO_WRITE
Definition ft8xx_memory.h:221
@ FT810_REG_TOUCH_TRANSFORM_C
Definition ft8xx_memory.h:201
@ FT810_REG_VOL_PB
Definition ft8xx_memory.h:163
@ FT810_REG_TAG_X
Definition ft8xx_memory.h:160
@ FT810_REG_PLAYBACK_START
Definition ft8xx_memory.h:175
@ FT810_REG_GPIO
Definition ft8xx_memory.h:168
@ FT810_REG_FRAMES
Definition ft8xx_memory.h:133
@ FT810_REG_PLAY
Definition ft8xx_memory.h:166
@ FT810_REG_GPIO_DIR
Definition ft8xx_memory.h:167
@ FT810_REG_CSPREAD
Definition ft8xx_memory.h:157
@ FT810_REG_VSIZE
Definition ft8xx_memory.h:149
@ FT810_REG_TRIM
Definition ft8xx_memory.h:130
@ FT810_REG_TOUCH_DIRECT_Z1Z2
Definition ft8xx_memory.h:210
@ FT810_REG_SWIZZLE
Definition ft8xx_memory.h:156
@ FT810_REG_CMD_WRITE
Definition ft8xx_memory.h:186
@ FT810_REG_CPURESET
Definition ft8xx_memory.h:139
@ FT810_REG_CMD_DL
Definition ft8xx_memory.h:187
@ FT810_REG_GPIOX
Definition ft8xx_memory.h:170
@ FT810_REG_TOUCH_CHARGE
Definition ft8xx_memory.h:190
@ FT810_REG_CMDB_WRITE
Definition ft8xx_memory.h:213
@ FT810_REG_PLAYBACK_PLAY
Definition ft8xx_memory.h:181
@ FT810_REG_TRACKER1
Definition ft8xx_memory.h:216
@ FT810_REG_GPIOX_DIR
Definition ft8xx_memory.h:169
@ FT810_REG_TOUCH_SCREEN_XY
Definition ft8xx_memory.h:196
@ FT810_REG_TRACKER2
Definition ft8xx_memory.h:217
@ FT810_REG_TAG
Definition ft8xx_memory.h:162
@ FT810_REG_HSIZE
Definition ft8xx_memory.h:144
@ FT810_REG_DLSWAP
Definition ft8xx_memory.h:152
@ FT810_REG_INT_FLAGS
Definition ft8xx_memory.h:172
@ FT810_REG_VSYNC0
Definition ft8xx_memory.h:150
@ FT810_REG_PCLK
Definition ft8xx_memory.h:159
@ FT810_REG_OUTBITS
Definition ft8xx_memory.h:154
@ FT810_RAM_CMD
Definition ft8xx_memory.h:43
@ FT810_REG_
Definition ft8xx_memory.h:42
@ FT810_RAM_DL
Definition ft8xx_memory.h:41
@ FT810_RAM_G
Definition ft8xx_memory.h:40
@ FT800_ROM_FONT_ADDR
Definition ft8xx_memory.h:31
@ FT800_RAM_G
Definition ft8xx_memory.h:28
@ FT800_RAM_CMD
Definition ft8xx_memory.h:35
@ FT800_REG_
Definition ft8xx_memory.h:34
@ FT800_ROM_FONT
Definition ft8xx_memory.h:30
@ FT800_RAM_PAL
Definition ft8xx_memory.h:33
@ FT800_RAM_DL
Definition ft8xx_memory.h:32
@ FT800_ROM_CHIPID
Definition ft8xx_memory.h:29
static uint32_t rd32(uint32_t address)
Read 4 bytes (32 bits) from FT8xx memory.
Definition ft8xx_reference_api.h:105
static void cmd_swap(void)
Swap the current display list.
Definition ft8xx_reference_api.h:169
static void wr8(uint32_t address, uint8_t data)
Write 1 byte (8 bits) to FT8xx memory.
Definition ft8xx_reference_api.h:47
static void cmd_calibrate(uint32_t *result)
Execute the touch screen calibration routine.
Definition ft8xx_reference_api.h:235
static uint16_t rd16(uint32_t address)
Read 2 bytes (16 bits) from FT8xx memory.
Definition ft8xx_reference_api.h:93
static void wr32(uint32_t address, uint32_t data)
Write 4 bytes (32 bits) to FT8xx memory.
Definition ft8xx_reference_api.h:69
static void cmd_dlstart(void)
Start a new display list.
Definition ft8xx_reference_api.h:161
static void wr16(uint32_t address, uint16_t data)
Write 2 bytes (16 bits) to FT8xx memory.
Definition ft8xx_reference_api.h:58
ft8xx_register_address_t
FT810 register addresses.
Definition ft8xx_reference_api.h:525
ft8xx_memory_map_t
Main parts of FT810 memory map.
Definition ft8xx_reference_api.h:433
static void cmd_number(int16_t x, int16_t y, int16_t font, uint16_t options, int32_t n)
Draw a decimal number.
Definition ft8xx_reference_api.h:215
static void cmd(uint32_t command)
Execute a display list command by co-processor engine.
Definition ft8xx_reference_api.h:153
static void cmd_text(int16_t x, int16_t y, int16_t font, uint16_t options, const char *s)
Draw text.
Definition ft8xx_reference_api.h:188
static uint8_t rd8(uint32_t address)
Read 1 byte (8 bits) from FT8xx memory.
Definition ft8xx_reference_api.h:81
@ REG_TOUCH_TRANSFORM_F
Definition ft8xx_reference_api.h:600
@ REG_PWM_DUTY
Definition ft8xx_reference_api.h:579
@ REG_MEDIAFIFO_WRITE
Definition ft8xx_reference_api.h:617
@ REG_HSYNC1
Definition ft8xx_reference_api.h:542
@ REG_TAG_X
Definition ft8xx_reference_api.h:556
@ REG_PCLK_POL
Definition ft8xx_reference_api.h:554
@ REG_TOUCH_SETTLE
Definition ft8xx_reference_api.h:587
@ REG_TOUCH_TRANSFORM_A
Definition ft8xx_reference_api.h:595
@ REG_PLAY
Definition ft8xx_reference_api.h:562
@ REG_CLOCK
Definition ft8xx_reference_api.h:530
@ REG_TOUCH_ADC_MODE
Definition ft8xx_reference_api.h:585
@ REG_VSYNC1
Definition ft8xx_reference_api.h:547
@ REG_CMDB_SPACE
Definition ft8xx_reference_api.h:608
@ REG_TOUCH_TRANSFORM_E
Definition ft8xx_reference_api.h:599
@ REG_TRACKER2
Definition ft8xx_reference_api.h:613
@ REG_HSIZE
Definition ft8xx_reference_api.h:540
@ REG_TOUCH_DIRECT_Z1Z2
Definition ft8xx_reference_api.h:606
@ REG_TAP_CRC
Definition ft8xx_reference_api.h:536
@ REG_TRACKER1
Definition ft8xx_reference_api.h:612
@ REG_HOFFSET
Definition ft8xx_reference_api.h:539
@ REG_DITHER
Definition ft8xx_reference_api.h:551
@ REG_MEDIAFIFO_READ
Definition ft8xx_reference_api.h:616
@ REG_GPIOX_DIR
Definition ft8xx_reference_api.h:565
@ REG_OUTBITS
Definition ft8xx_reference_api.h:550
@ REG_TOUCH_RZTHRESH
Definition ft8xx_reference_api.h:589
@ REG_CPURESET
Definition ft8xx_reference_api.h:535
@ REG_PCLK
Definition ft8xx_reference_api.h:555
@ REG_PLAYBACK_PLAY
Definition ft8xx_reference_api.h:577
@ REG_PLAYBACK_LOOP
Definition ft8xx_reference_api.h:576
@ REG_ID
Definition ft8xx_reference_api.h:528
@ REG_TRIM
Definition ft8xx_reference_api.h:526
@ REG_PLAYBACK_FORMAT
Definition ft8xx_reference_api.h:575
@ REG_TOUCH_TAG_XY
Definition ft8xx_reference_api.h:593
@ REG_TOUCH_RAW_XY
Definition ft8xx_reference_api.h:590
@ REG_TOUCH_OVERSAMPLE
Definition ft8xx_reference_api.h:588
@ REG_GPIO_DIR
Definition ft8xx_reference_api.h:563
@ REG_SNAPSHOT
Definition ft8xx_reference_api.h:534
@ REG_PLAYBACK_FREQ
Definition ft8xx_reference_api.h:574
@ REG_TOUCH_SCREEN_XY
Definition ft8xx_reference_api.h:592
@ REG_TOUCH_TAG
Definition ft8xx_reference_api.h:594
@ REG_TOUCH_TRANSFORM_C
Definition ft8xx_reference_api.h:597
@ REG_TAP_MASK
Definition ft8xx_reference_api.h:537
@ REG_PWM_HZ
Definition ft8xx_reference_api.h:578
@ REG_TOUCH_CONFIG
Definition ft8xx_reference_api.h:601
@ REG_PLAYBACK_START
Definition ft8xx_reference_api.h:571
@ REG_INT_EN
Definition ft8xx_reference_api.h:569
@ REG_TOUCH_TRANSFORM_D
Definition ft8xx_reference_api.h:598
@ REG_DLSWAP
Definition ft8xx_reference_api.h:548
@ REG_SNAPY
Definition ft8xx_reference_api.h:533
@ REG_VOL_PB
Definition ft8xx_reference_api.h:559
@ REG_SPI_WIDTH
Definition ft8xx_reference_api.h:603
@ REG_VSIZE
Definition ft8xx_reference_api.h:545
@ REG_PLAYBACK_LENGTH
Definition ft8xx_reference_api.h:572
@ REG_VOL_SOUND
Definition ft8xx_reference_api.h:560
@ REG_INT_FLAGS
Definition ft8xx_reference_api.h:568
@ REG_INT_MASK
Definition ft8xx_reference_api.h:570
@ REG_CMD_DL
Definition ft8xx_reference_api.h:583
@ REG_TRACKER4
Definition ft8xx_reference_api.h:615
@ REG_TAG_Y
Definition ft8xx_reference_api.h:557
@ REG_FREQUENCY
Definition ft8xx_reference_api.h:531
@ REG_TRACKER3
Definition ft8xx_reference_api.h:614
@ REG_ROTATE
Definition ft8xx_reference_api.h:549
@ REG_TAG
Definition ft8xx_reference_api.h:558
@ REG_TOUCH_TRANSFORM_B
Definition ft8xx_reference_api.h:596
@ REG_HSYNC0
Definition ft8xx_reference_api.h:541
@ REG_VOFFSET
Definition ft8xx_reference_api.h:544
@ REG_VCYCLE
Definition ft8xx_reference_api.h:543
@ REG_TOUCH_RZ
Definition ft8xx_reference_api.h:591
@ REG_FRAMES
Definition ft8xx_reference_api.h:529
@ REG_CMD_WRITE
Definition ft8xx_reference_api.h:582
@ REG_GPIO
Definition ft8xx_reference_api.h:564
@ REG_TRACKER
Definition ft8xx_reference_api.h:611
@ REG_SOUND
Definition ft8xx_reference_api.h:561
@ REG_GPIOX
Definition ft8xx_reference_api.h:566
@ REG_VSYNC0
Definition ft8xx_reference_api.h:546
@ REG_TOUCH_MODE
Definition ft8xx_reference_api.h:584
@ REG_CMDB_WRITE
Definition ft8xx_reference_api.h:609
@ REG_TOUCH_DIRECT_XY
Definition ft8xx_reference_api.h:605
@ REG_RENDERMODE
Definition ft8xx_reference_api.h:532
@ REG_HCYCLE
Definition ft8xx_reference_api.h:538
@ REG_PLAYBACK_READPTR
Definition ft8xx_reference_api.h:573
@ REG_TOUCH_CHARGE
Definition ft8xx_reference_api.h:586
@ REG_SWIZZLE
Definition ft8xx_reference_api.h:552
@ REG_CMD_READ
Definition ft8xx_reference_api.h:581
@ REG_CSPREAD
Definition ft8xx_reference_api.h:553
@ REG_
Definition ft8xx_reference_api.h:436
@ RAM_G
Definition ft8xx_reference_api.h:434
@ RAM_DL
Definition ft8xx_reference_api.h:435
@ RAM_CMD
Definition ft8xx_reference_api.h:437
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
__INT16_TYPE__ int16_t
Definition stdint.h:73
Definition errno.c:37
static fdata_t data[2]
Definition test_fifo_contexts.c:15