Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ft8xx_memory.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Hubert Miś
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12#ifndef ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_MEMORY_H_
13#define ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_MEMORY_H_
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
28 FT800_RAM_G = 0x000000,
29 FT800_ROM_CHIPID = 0x0C0000,
30 FT800_ROM_FONT = 0x0BB23C,
32 FT800_RAM_DL = 0x100000,
33 FT800_RAM_PAL = 0x102000,
34 FT800_REG_ = 0x102400,
35 FT800_RAM_CMD = 0x108000
36};
37
40 FT810_RAM_G = 0x000000,
41 FT810_RAM_DL = 0x300000,
42 FT810_REG_ = 0x302000,
43 FT810_RAM_CMD = 0x308000
44};
45
48 FT800_REG_ID = 0x102400,
49 FT800_REG_FRAMES = 0x102404,
50 FT800_REG_CLOCK = 0x102408,
53 FT800_REG_SNAPY = 0x102414,
58 FT800_REG_HCYCLE = 0x102428,
60 FT800_REG_HSIZE = 0x102430,
61 FT800_REG_HSYNC0 = 0x102434,
62 FT800_REG_HSYNC1 = 0x102438,
63 FT800_REG_VCYCLE = 0x10243C,
65 FT800_REG_VSIZE = 0x102444,
66 FT800_REG_VSYNC0 = 0x102448,
67 FT800_REG_VSYNC1 = 0x10244C,
68 FT800_REG_DLSWAP = 0x102450,
69 FT800_REG_ROTATE = 0x102454,
71 FT800_REG_DITHER = 0x10245C,
75 FT800_REG_PCLK = 0x10246C,
76 FT800_REG_TAG_X = 0x102470,
77 FT800_REG_TAG_Y = 0x102474,
78 FT800_REG_TAG = 0x102478,
79 FT800_REG_VOL_PB = 0x10247C,
81 FT800_REG_SOUND = 0x102484,
82 FT800_REG_PLAY = 0x102488,
84 FT800_REG_GPIO = 0x102490,
85
87 FT800_REG_INT_EN = 0x10249C,
96 FT800_REG_PWM_HZ = 0x1024C0,
100
121
124
125 FT800_REG_TRACKER = 0x109000
127
130 FT810_REG_TRIM = 0x10256C,
131
132 FT810_REG_ID = 0x302000,
134 FT810_REG_CLOCK = 0x302008,
137 FT810_REG_SNAPY = 0x302014,
144 FT810_REG_HSIZE = 0x302034,
149 FT810_REG_VSIZE = 0x302048,
159 FT810_REG_PCLK = 0x302070,
160 FT810_REG_TAG_X = 0x302074,
161 FT810_REG_TAG_Y = 0x302078,
162 FT810_REG_TAG = 0x30207C,
165 FT810_REG_SOUND = 0x302088,
166 FT810_REG_PLAY = 0x30208C,
168 FT810_REG_GPIO = 0x302094,
170 FT810_REG_GPIOX = 0x30209C,
171
184
206
208
211
214
222};
223
228#ifdef __cplusplus
229}
230#endif
231
232#endif /* ZEPHYR_DRIVERS_MISC_FT8XX_FT8XX_MEMORY_H_ */
ft800_register_address_t
FT800 register addresses.
Definition ft8xx_memory.h:47
ft810_register_address_t
FT810 register addresses.
Definition ft8xx_memory.h:129
ft810_memory_map_t
Main parts of FT810 memory map.
Definition ft8xx_memory.h:39
ft800_memory_map_t
Main parts of FT800 memory map.
Definition ft8xx_memory.h:27
@ 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