Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
mt9f002_regs.h
Go to the documentation of this file.
1 #ifndef MT9F002_REGS_H
2 #define MT9F002_REGS_H
3 
4 #define MT9F002_ADDRESS 0x20
5 #define MT9F002_NUM_OF_REGISTERS 367
6 #define MT9F002_SCALER_N 16
7 #define MT9F002_LINE_LENGTH_MAX 0xFFFF
8 #define MT9F002_FRAME_LENGTH_MAX 0xFFFF
9 
10 #define MT9F002_MODEL_ID 0x0000
11 #define MT9F002_REVISION_NUMBER 0x0002
12 #define MT9F002_MANUFACTURER_ID 0x0003
13 #define MT9F002_SMIA_VERSION 0x0004
14 #define MT9F002_FRAME_COUNT 0x0005
15 #define MT9F002_PIXEL_ORDER 0x0006
16 #define MT9F002_DATA_PEDESTAL 0x0008
17 #define MT9F002_FRAME_FORMAT_MODEL_TYPE 0x0040
18 #define MT9F002_FRAME_FORMAT_MODEL_SUBTYPE 0x0041
19 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_0 0x0042
20 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_1 0x0044
21 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_2 0x0046
22 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_3 0x0048
23 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_4 0x004A
24 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_5 0x004C
25 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_6 0x004E
26 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_7 0x0050
27 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_8 0x0052
28 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_9 0x0054
29 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_10 0x0056
30 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_11 0x0058
31 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_12 0x005A
32 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_13 0x005C
33 #define MT9F002_FRAME_FORMAT_DESCRIPTOR_14 0x005E
34 #define MT9F002_ANALOG_GAIN_CAPABILITY 0x0080
35 #define MT9F002_ANALOG_GAIN_CODE_MIN 0x0084
36 #define MT9F002_ANALOG_GAIN_CODE_MAX 0x0086
37 #define MT9F002_ANALOG_GAIN_CODE_STEP 0x0088
38 #define MT9F002_ANALOG_GAIN_TYPE 0x008A
39 #define MT9F002_ANALOG_GAIN_M0 0x008C
40 #define MT9F002_ANALOG_GAIN_C0 0x008E
41 #define MT9F002_ANALOG_GAIN_M1 0x0090
42 #define MT9F002_ANALOG_GAIN_C1 0x0092
43 #define MT9F002_DATA_FORMAT_MODEL_TYPE 0x00C0
44 #define MT9F002_DATA_FORMAT_MODEL_SUBTYPE 0x00C1
45 #define MT9F002_DATA_FORMAT_DESCRIPTOR_0 0x00C2
46 #define MT9F002_DATA_FORMAT_DESCRIPTOR_1 0x00C4
47 #define MT9F002_DATA_FORMAT_DESCRIPTOR_2 0x00C6
48 #define MT9F002_DATA_FORMAT_DESCRIPTOR_3 0x00C8
49 #define MT9F002_DATA_FORMAT_DESCRIPTOR_4 0x00CA
50 #define MT9F002_DATA_FORMAT_DESCRIPTOR_5 0x00CC
51 #define MT9F002_DATA_FORMAT_DESCRIPTOR_6 0x00CE
52 #define MT9F002_MODE_SELECT 0x0100
53 #define MT9F002_IMAGE_ORIENTATION 0x0101
54 #define MT9F002_SOFTWARE_RESET 0x0103
55 #define MT9F002_GROUPED_PARAMETER_HOLD 0x0104
56 #define MT9F002_MASK_CORRUPTED_FRAMES 0x0105
57 #define MT9F002_CPP_CHANNEL_IDENTIFIER 0x0110
58 #define MT9F002_CPP2_SIGNALLING_MODE 0x0111
59 #define MT9F002_CPP_DATA_FORMAT 0x0112
60 #define MT9F002_GAIN_MODE 0x0120
61 #define MT9F002_FINE_INTEGRATION_TIME 0x0200
62 #define MT9F002_COARSE_INTEGRATION_TIME 0x0202
63 #define MT9F002_ANALOG_GAIN_CODE_GLOBAL 0x0204
64 #define MT9F002_ANALOG_GAIN_CODE_GREENR 0x0206
65 #define MT9F002_ANALOG_GAIN_CODE_RED 0x0208
66 #define MT9F002_ANALOG_GAIN_CODE_BLUE 0x020A
67 #define MT9F002_ANALOG_GAIN_CODE_GREENB 0x020C
68 #define MT9F002_DIGITAL_GAIN_GREENR 0x020E
69 #define MT9F002_DIGITAL_GAIN_RED 0x0210
70 #define MT9F002_DIGITAL_GAIN_BLUE 0x0212
71 #define MT9F002_DIGITAL_GAIN_GREENB 0x0214
72 #define MT9F002_VT_PIX_CLK_DIV 0x0300
73 #define MT9F002_VT_SYS_CLK_DIV 0x0302
74 #define MT9F002_PRE_PLL_CLK_DIV 0x0304
75 #define MT9F002_PLL_MULTIPLIER 0x0306
76 #define MT9F002_OP_PIX_CLK_DIV 0x0308
77 #define MT9F002_OP_SYS_CLK_DIV 0x030A
78 #define MT9F002_FRAME_LENGTH_LINES 0x0340
79 #define MT9F002_LINE_LENGTH_PCK 0x0342
80 #define MT9F002_X_ADDR_START 0x0344
81 #define MT9F002_Y_ADDR_START 0x0346
82 #define MT9F002_X_ADDR_END 0x0348
83 #define MT9F002_Y_ADDR_END 0x034A
84 #define MT9F002_X_OUTPUT_SIZE 0x034C
85 #define MT9F002_Y_OUTPUT_SIZE 0x034E
86 #define MT9F002_X_EVEN_INC 0x0380
87 #define MT9F002_X_ODD_INC 0x0382
88 #define MT9F002_Y_EVEN_INC 0x0384
89 #define MT9F002_Y_ODD_INC 0x0386
90 #define MT9F002_SCALING_MODE 0x0400
91 #define MT9F002_SPATIAL_SAMPLING 0x0402
92 #define MT9F002_SCALE_M 0x0404
93 #define MT9F002_SCALE_N 0x0406
94 #define MT9F002_COMPRESSION_MODE 0x0500
95 #define MT9F002_TEST_PATTERN_MODE 0x0600
96 #define MT9F002_TEST_DATA_RED 0x0602
97 #define MT9F002_TEST_DATA_GREENR 0x0604
98 #define MT9F002_TEST_DATA_BLUE 0x0606
99 #define MT9F002_TEST_DATA_GREENB 0x0608
100 #define MT9F002_HORIZONTAL_CURSOR_WIDTH 0x060A
101 #define MT9F002_HORIZONTAL_CURSOR_POSITION 0x060C
102 #define MT9F002_VERTICAL_CURSOR_WIDTH 0x060E
103 #define MT9F002_VERTICAL_CURSOR_POSITION 0x0610
104 #define MT9F002_INTEGRATION_TIME_CAPABILITY 0x1000
105 #define MT9F002_COARSE_INTEGRATION_TIME_MIN 0x1004
106 #define MT9F002_COARSE_INTEGRATION_TIME_MAX_MARGIN 0x1006
107 #define MT9F002_FINE_INTEGRATION_TIME_MIN 0x1008
108 #define MT9F002_FINE_INTEGRATION_TIME_MAX_MARGIN 0x100A
109 #define MT9F002_DIGITAL_GAIN_CAPABILITY 0x1080
110 #define MT9F002_DIGITAL_GAIN_MIN 0x1084
111 #define MT9F002_DIGITAL_GAIN_MAX 0x1086
112 #define MT9F002_DIGITAL_GAIN_STEP_SIZE 0x1088
113 #define MT9F002_MIN_EXT_CLK_FREQ_MHZ 0x1100
114 #define MT9F002_MAX_EXT_CLK_FREQ_MHZ 0x1104
115 #define MT9F002_MIN_PRE_PLL_CLK_DIV 0x1108
116 #define MT9F002_MAX_PRE_PLL_CLK_DIV 0x110A
117 #define MT9F002_MIN_PLL_IP_FREQ_MHZ 0x110C
118 #define MT9F002_MAX_PLL_IP_FREQ_MHZ 0x1110
119 #define MT9F002_MIN_PLL_MULTIPLIER 0x1114
120 #define MT9F002_MAX_PLL_MULTIPLIER 0x1116
121 #define MT9F002_MIN_PLL_OP_FREQ_MHZ 0x1118
122 #define MT9F002_MAX_PLL_OP_FREQ_MHZ 0x111C
123 #define MT9F002_MIN_VT_SYS_CLK_DIV 0x1120
124 #define MT9F002_MAX_VT_SYS_CLK_DIV 0x1122
125 #define MT9F002_MIN_VT_SYS_CLK_FREQ_MHZ 0x1124
126 #define MT9F002_MAX_VT_SYS_CLK_FREQ_MHZ 0x1128
127 #define MT9F002_MIN_VT_PIX_CLK_FREQ_MHZ 0x112C
128 #define MT9F002_MAX_VT_PIX_CLK_FREQ_MHZ 0x1130
129 #define MT9F002_MIN_VT_PIX_CLK_DIV 0x1134
130 #define MT9F002_MAX_VT_PIX_CLK_DIV 0x1136
131 #define MT9F002_MIN_FRAME_LENGTH_LINES 0x1140
132 #define MT9F002_MAX_FRAME_LENGTH_LINES 0x1142
133 #define MT9F002_MIN_LINE_LENGTH_PCK 0x1144
134 #define MT9F002_MAX_LINE_LENGTH_PCK 0x1146
135 #define MT9F002_MIN_LINE_BLANKING_PCK 0x1148
136 #define MT9F002_MIN_FRAME_BLANKING_LINES 0x114A
137 #define MT9F002_MIN_OP_SYS_CLK_DIV 0x1160
138 #define MT9F002_MAX_OP_SYS_CLK_DIV 0x1162
139 #define MT9F002_MIN_OP_SYS_CLK_FREQ_MHZ 0x1164
140 #define MT9F002_MAX_OP_SYS_CLK_FREQ_MHZ 0x1168
141 #define MT9F002_MIN_OP_PIX_CLK_DIV 0x116C
142 #define MT9F002_MAX_OP_PIX_CLK_DIV 0x116E
143 #define MT9F002_MIN_OP_PIX_CLK_FREQ_MHZ 0x1170
144 #define MT9F002_MAX_OP_PIX_CLK_FREQ_MHZ 0x1174
145 #define MT9F002_X_ADDR_MIN 0x1180
146 #define MT9F002_Y_ADDR_MIN 0x1182
147 #define MT9F002_X_ADDR_MAX 0x1184
148 #define MT9F002_Y_ADDR_MAX 0x1186
149 #define MT9F002_MIN_EVEN_INC 0x11C0
150 #define MT9F002_MAX_EVEN_INC 0x11C2
151 #define MT9F002_MIN_ODD_INC 0x11C4
152 #define MT9F002_MAX_ODD_INC 0x11C6
153 #define MT9F002_SCALING_CAPABILITY 0x1200
154 #define MT9F002_SCALER_M_MIN 0x1204
155 #define MT9F002_SCALER_M_MAX 0x1206
156 #define MT9F002_SCALER_N_MIN 0x1208
157 #define MT9F002_SCALER_N_MAX 0x120A
158 #define MT9F002_COMPRESSION_CAPABILITY 0x1300
159 #define MT9F002_MATRIX_ELEMENT_REDINRED 0x1400
160 #define MT9F002_MATRIX_ELEMENT_GREENINRED 0x1402
161 #define MT9F002_MATRIX_ELEMENT_BLUEINRED 0x1404
162 #define MT9F002_MATRIX_ELEMENT_REDINGREEN 0x1406
163 #define MT9F002_MATRIX_ELEMENT_GREENINGREEN 0x1408
164 #define MT9F002_MATRIX_ELEMENT_BLUEINGREEN 0x140A
165 #define MT9F002_MATRIX_ELEMENT_REDINBLUE 0x140C
166 #define MT9F002_MATRIX_ELEMENT_GREENINBLUE 0x0140E
167 #define MT9F002_MATRIX_ELEMENT_BLUEINBLUE 0x1410
168 #define MT9F002_MODEL_ID_ 0x3000
169 #define MT9F002_Y_ADDR_START_ 0x3002
170 #define MT9F002_X_ADDR_START_ 0x3004
171 #define MT9F002_Y_ADDR_END_ 0x3006
172 #define MT9F002_X_ADDR_END_ 0x3008
173 #define MT9F002_FRAME_LENGTH_LINES_ 0x300A
174 #define MT9F002_LINE_LENGTH_PCK_ 0x300C
175 #define MT9F002_FINE_CORRECTION 0x3010
176 #define MT9F002_COARSE_INTEGRATION_TIME_ 0x3012
177 #define MT9F002_FINE_INTEGRATION_TIME_ 0x3014
178 #define MT9F002_ROW_SPEED 0x3016
179 #define MT9F002_EXTRA_DELAY 0x3018
180 #define MT9F002_RESET_REGISTER 0x301A
181 #define MT9F002_MODE_SELECT_ 0x301C
182 #define MT9F002_IMAGE_ORIENTATION_ 0x301D
183 #define MT9F002_DATA_PEDESTAL_ 0x301E
184 #define MT9F002_SOFTWARE_RESET_ 0x3021
185 #define MT9F002_GROUPED_PARAMETER_HOLD_ 0x3022
186 #define MT9F002_MASK_CORRUPTED_FRAMES_ 0x3023
187 #define MT9F002_PIXEL_ORDER_ 0x3024
188 #define MT9F002_GPI_STATUS 0x3026
189 #define MT9F002_ANALOG_GAIN_CODE_GLOBAL_ 0x3028
190 #define MT9F002_ANALOG_GAIN_CODE_GREENR_ 0x302A
191 #define MT9F002_ANALOG_GAIN_CODE_RED_ 0x302C
192 #define MT9F002_ANALOG_GAIN_CODE_BLUE_ 0x302E
193 #define MT9F002_ANALOG_GAIN_CODE_GREENB_ 0x3030
194 #define MT9F002_DIGITAL_GAIN_GREENR_ 0x3032
195 #define MT9F002_DIGITAL_GAIN_RED_ 0x3036
196 #define MT9F002_DIGITAL_GAIN_BLUE_ 0x3038
197 #define MT9F002_DIGITAL_GAIN_GREENB_ 0x3038
198 #define MT9F002_SMIA_VERSION_ 0x303A
199 #define MT9F002_FRAME_COUNT_ 0x303B
200 #define MT9F002_FRAME_STATUS 0x303C
201 #define MT9F002_READ_MODE 0x3040
202 #define MT9F002_FLASH 0x3046
203 #define MT9F002_FLASH_COUNT 0x3048
204 #define MT9F002_GREEN1_GAIN 0x3056
205 #define MT9F002_BLUE_GAIN 0x3058
206 #define MT9F002_RED_GAIN 0x305A
207 #define MT9F002_GREEN2_GAIN 0x305C
208 #define MT9F002_GLOBAL_GAIN 0x305E
209 #define MT9F002_SMIA_TEST 0x3064
210 #define MT9F002_DATAPATH_STATUS 0x306A
211 #define MT9F002_DATAPATH_SELECT 0x306E
212 #define MT9F002_TEST_PATTERN_MODE_ 0x3070
213 #define MT9F002_TEST_DATA_RED_ 0x3072
214 #define MT9F002_TEST_DATA_GREENR_ 0x3074
215 #define MT9F002_TEST_DATA_BLUE_ 0x3076
216 #define MT9F002_TEST_DATA_GREENB_ 0x3078
217 #define MT9F002_TEST_RAW_MODE 0x307A
218 #define MT9F002_X_EVEN_INC_ 0x30A0
219 #define MT9F002_X_ODD_INC_ 0x30A2
220 #define MT9F002_Y_EVEN_INC_ 0x30A4
221 #define MT9F002_Y_ODD_INC_ 0x30A6
222 #define MT9F002_CALIB_GREEN1_ASC1 0x30A8
223 #define MT9F002_CALIB_BLUE_ASC1 0x30AA
224 #define MT9F002_CALIB_RED_ASC1 0x30AC
225 #define MT9F002_CALIB_GREEN2_ASC1 0x30AE
226 #define MT9F002_DIGITAL_TEST 0x30B0
227 #define MT9F002_CALIB_GLOBAL 0x30BC
228 #define MT9F002_CALIB_CONTROL 0x30C0
229 #define MT9F002_CALIB_GREEN1 0x30C2
230 #define MT9F002_CALIB_BLUE 0x30C4
231 #define MT9F002_CALIB_RED 0x30C6
232 #define MT9F002_CALIB_GREEN2 0x30C8
233 #define MT9F002_COLUMN_CORRECTION 0x30D4
234 #define MT9F002_CTX_CONTROL_REG 0x30E8
235 #define MT9F002_CTX_WR_DATA_REG 0x30EA
236 #define MT9F002_CTX_RD_DATA_REG 0x30EC
237 #define MT9F002_DARK_CONTROL3 0x30EE
238 #define MT9F002_OTPM_TCFG_READ_4B 0x3138
239 #define MT9F002_OTPM_CFG 0x3140
240 #define MT9F002_GLOBAL_FLASH_START 0x315A
241 #define MT9F002_GLOBAL_SEQ_TRIGGER 0x315E
242 #define MT9F002_GLOBAL_RST_END 0x3160
243 #define MT9F002_GLOBAL_SHUTTER_START1 0x3162
244 #define MT9F002_GLOBAL_SHUTTER_START2 0x3164
245 #define MT9F002_GLOBAL_READ_START 0x3166
246 #define MT9F002_GLOBAL_READ_START2 0x3168
247 #define MT9F002_DAC_RSTLO 0x316A
248 #define MT9F002_ANALOG_CONTROL4 0x3176
249 #define MT9F002_ANALOG_CONTROL5 0x3178
250 #define MT9F002_ANALOG_CONTROL7 0x317C
251 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_0 0x31A0
252 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_1 0x31A2
253 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_2 0x31A4
254 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_3 0x31A6
255 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_4 0x31A8
256 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_5 0x31AA
257 #define MT9F002_SERIAL_FORMAT_DESCRIPTOR_6 0x31AC
258 #define MT9F002_SERIAL_FORMAT 0x31AE
259 #define MT9F002_FRAME_PREAMBLE 0x31B0
260 #define MT9F002_LINE_PREAMBLE 0x31B2
261 #define MT9F002_MIPI_TIMING_0 0x31B4
262 #define MT9F002_MIPI_TIMING_1 0x31B6
263 #define MT9F002_MIPI_TIMING_2 0x31B8
264 #define MT9F002_MIPI_TIMING_3 0x31BA
265 #define MT9F002_MIPI_TIMING_4 0x31BC
266 #define MT9F002_HISPI_TIMING 0x31C0
267 #define MT9F002_HISPI_CONTROL_STATUS 0x31C6
268 #define MT9F002_HORIZONTAL_CURSOR_POSITION_ 0x31E8
269 #define MT9F002_VERTICAL_CURSOR_POSITION_ 0x31EA
270 #define MT9F002_HORIZONTAL_CURSOR_WIDTH_ 0x31EC
271 #define MT9F002_VERTICAL_CURSOR_WIDTH_ 0x31EE
272 #define MT9F002_I2C_IDS_MIPI_DEFAULT 0x31F2
273 #define MT9F002_I2C_IDS 0x31FC
274 #define MT9F002_P_GR_P0Q0 0x3600
275 #define MT9F002_P_GR_P0Q1 0x3602
276 #define MT9F002_P_GR_P0Q2 0x3604
277 #define MT9F002_P_GR_P0Q3 0x3606
278 #define MT9F002_P_GR_P0Q4 0x3608
279 #define MT9F002_P_RD_P0Q0 0x360A
280 #define MT9F002_P_RD_P0Q1 0x360C
281 #define MT9F002_P_RD_P0Q2 0x360E
282 #define MT9F002_P_RD_P0Q3 0x3610
283 #define MT9F002_P_RD_P0Q4 0x3612
284 #define MT9F002_P_BL_P0Q0 0x3614
285 #define MT9F002_P_BL_P0Q1 0x3616
286 #define MT9F002_P_BL_P0Q2 0x3618
287 #define MT9F002_P_BL_P0Q3 0x361A
288 #define MT9F002_P_BL_P0Q4 0x361C
289 #define MT9F002_P_GB_P0Q0 0x361E
290 #define MT9F002_P_GB_P0Q1 0x3620
291 #define MT9F002_P_GB_P0Q2 0x3622
292 #define MT9F002_P_GB_P0Q3 0x3624
293 #define MT9F002_P_GB_P0Q4 0x3626
294 #define MT9F002_P_GR_P1Q0 0x3640
295 #define MT9F002_P_GR_P1Q1 0x3642
296 #define MT9F002_P_GR_P1Q2 0x3644
297 #define MT9F002_P_GR_P1Q3 0x3646
298 #define MT9F002_P_GR_P1Q4 0x3648
299 #define MT9F002_P_RD_P1Q0 0x364A
300 #define MT9F002_P_RD_P1Q1 0x364C
301 #define MT9F002_P_RD_P1Q2 0x364E
302 #define MT9F002_P_RD_P1Q3 0x3650
303 #define MT9F002_P_RD_P1Q4 0x3652
304 #define MT9F002_P_BL_P1Q0 0x3654
305 #define MT9F002_P_BL_P1Q1 0x3656
306 #define MT9F002_P_BL_P1Q2 0x3658
307 #define MT9F002_P_BL_P1Q3 0x365A
308 #define MT9F002_P_BL_P1Q4 0x365C
309 #define MT9F002_P_GB_P1Q0 0x365E
310 #define MT9F002_P_GB_P1Q1 0x3660
311 #define MT9F002_P_GB_P1Q2 0x3662
312 #define MT9F002_P_GB_P1Q3 0x3664
313 #define MT9F002_P_GB_P1Q4 0x3666
314 #define MT9F002_P_GR_P2Q0 0x3680
315 #define MT9F002_P_GR_P2Q1 0x3682
316 #define MT9F002_P_GR_P2Q2 0x3684
317 #define MT9F002_P_GR_P2Q3 0x3686
318 #define MT9F002_P_GR_P2Q4 0x3688
319 #define MT9F002_P_RD_P2Q0 0x368A
320 #define MT9F002_P_RD_P2Q1 0x368C
321 #define MT9F002_P_RD_P2Q2 0x368E
322 #define MT9F002_P_RD_P2Q3 0x3690
323 #define MT9F002_P_RD_P2Q4 0x3692
324 #define MT9F002_P_BL_P2Q0 0x3694
325 #define MT9F002_P_BL_P2Q1 0x3696
326 #define MT9F002_P_BL_P2Q2 0x3698
327 #define MT9F002_P_BL_P2Q3 0x369A
328 #define MT9F002_P_BL_P2Q4 0x369C
329 #define MT9F002_P_GB_P2Q0 0x369E
330 #define MT9F002_P_GB_P2Q1 0x36A0
331 #define MT9F002_P_GB_P2Q2 0x36A2
332 #define MT9F002_P_GB_P2Q3 0x36A4
333 #define MT9F002_P_GB_P2Q4 0x36A6
334 #define MT9F002_P_GR_P3Q0 0x36C0
335 #define MT9F002_P_GR_P3Q1 0x36C2
336 #define MT9F002_P_GR_P3Q2 0x36C4
337 #define MT9F002_P_GR_P3Q3 0x36C6
338 #define MT9F002_P_GR_P3Q4 0x36C8
339 #define MT9F002_P_RD_P3Q0 0x36CA
340 #define MT9F002_P_RD_P3Q1 0x36CC
341 #define MT9F002_P_RD_P3Q2 0x36CE
342 #define MT9F002_P_RD_P3Q3 0x36D0
343 #define MT9F002_P_RD_P3Q4 0x36D2
344 #define MT9F002_P_BL_P3Q0 0x36D4
345 #define MT9F002_P_BL_P3Q1 0x36D6
346 #define MT9F002_P_BL_P3Q2 0x36D8
347 #define MT9F002_P_BL_P3Q3 0x36DA
348 #define MT9F002_P_BL_P3Q4 0x36DC
349 #define MT9F002_P_GB_P3Q0 0x36DE
350 #define MT9F002_P_GB_P3Q1 0x36E0
351 #define MT9F002_P_GB_P3Q2 0x36E2
352 #define MT9F002_P_GB_P3Q3 0x36E4
353 #define MT9F002_P_GB_P3Q4 0x36E6
354 #define MT9F002_P_GR_P4Q0 0x3700
355 #define MT9F002_P_GR_P4Q1 0x3702
356 #define MT9F002_P_GR_P4Q2 0x3704
357 #define MT9F002_P_GR_P4Q3 0x3706
358 #define MT9F002_P_GR_P4Q4 0x3708
359 #define MT9F002_P_RD_P4Q0 0x370A
360 #define MT9F002_P_RD_P4Q1 0x370C
361 #define MT9F002_P_RD_P4Q2 0x370E
362 #define MT9F002_P_RD_P4Q3 0x3710
363 #define MT9F002_P_RD_P4Q4 0x3712
364 #define MT9F002_P_BL_P4Q0 0x3714
365 #define MT9F002_P_BL_P4Q1 0x3716
366 #define MT9F002_P_BL_P4Q2 0x3718
367 #define MT9F002_P_BL_P4Q3 0x371A
368 #define MT9F002_P_BL_P4Q4 0x371C
369 #define MT9F002_P_GB_P4Q0 0x371E
370 #define MT9F002_P_GB_P4Q1 0x3720
371 #define MT9F002_P_GB_P4Q2 0x3722
372 #define MT9F002_P_GB_P4Q3 0x3724
373 #define MT9F002_P_GB_P4Q4 0x3726
374 #define MT9F002_POLY_SC_ENABLE 0x3780
375 #define MT9F002_POLY_ORIGIN_C 0x3782
376 #define MT9F002_POLY_ORIGIN_R 0x3784
377 #define MT9F002_P_GR_Q5 0x37C0
378 #define MT9F002_P_RD_Q5 0x37C2
379 #define MT9F002_P_BL_Q5 0x37C4
380 #define MT9F002_P_GB_Q5 0x37C6
381 #define MT9F002_DAC_ID_FBIAS 0x3EF8
382 #define MT9F002_MFR_3D00 0x3D00
383 #define MT9F002_MFR_3D02 0x3D02
384 #define MT9F002_MFR_3D04 0x3D04
385 #define MT9F002_MFR_3D06 0x3D06
386 #define MT9F002_MFR_3D08 0x3D08
387 #define MT9F002_MFR_3D0A 0x3D0A
388 #define MT9F002_MFR_3D0C 0x3D0C
389 #define MT9F002_MFR_3D0E 0x3D0E
390 #define MT9F002_MFR_3D10 0x3D10
391 #define MT9F002_MFR_3D12 0x3D12
392 #define MT9F002_MFR_3D14 0x3D14
393 #define MT9F002_MFR_3D16 0x3D16
394 #define MT9F002_MFR_3D18 0x3D18
395 #define MT9F002_MFR_3D1A 0x3D1A
396 #define MT9F002_MFR_3D1C 0x3D1C
397 #define MT9F002_MFR_3D1E 0x3D1E
398 #define MT9F002_MFR_3D20 0x3D20
399 #define MT9F002_MFR_3D22 0x3D22
400 #define MT9F002_MFR_3D24 0x3D24
401 #define MT9F002_MFR_3D26 0x3D26
402 #define MT9F002_MFR_3D28 0x3D28
403 #define MT9F002_MFR_3D2A 0x3D2A
404 #define MT9F002_MFR_3D2C 0x3D2C
405 #define MT9F002_MFR_3D2E 0x3D2E
406 #define MT9F002_MFR_3D30 0x3D30
407 #define MT9F002_MFR_3D32 0x3D32
408 #define MT9F002_MFR_3D34 0x3D34
409 #define MT9F002_MFR_3D36 0x3D36
410 #define MT9F002_MFR_3D38 0x3D38
411 #define MT9F002_MFR_3D3A 0x3D3A
412 #define MT9F002_MFR_3D3C 0x3D3C
413 #define MT9F002_MFR_3D3E 0x3D3E
414 #define MT9F002_MFR_3D40 0x3D40
415 #define MT9F002_MFR_3D42 0x3D42
416 #define MT9F002_MFR_3D44 0x3D44
417 #define MT9F002_MFR_3D46 0x3D46
418 #define MT9F002_MFR_3D48 0x3D48
419 #define MT9F002_MFR_3D4A 0x3D4A
420 #define MT9F002_MFR_3D4C 0x3D4C
421 #define MT9F002_MFR_3D4E 0x3D4E
422 #define MT9F002_MFR_3D50 0x3D50
423 #define MT9F002_MFR_3D52 0x3D52
424 #define MT9F002_MFR_3D54 0x3D54
425 #define MT9F002_MFR_3D56 0x3D56
426 #define MT9F002_MFR_3D58 0x3D58
427 #define MT9F002_MFR_3D5A 0x3D5A
428 #define MT9F002_MFR_3D5C 0x3D5C
429 #define MT9F002_MFR_3D5E 0x3D5E
430 #define MT9F002_MFR_3D60 0x3D60
431 #define MT9F002_MFR_3D62 0x3D62
432 #define MT9F002_MFR_3D64 0x3D64
433 #define MT9F002_MFR_3D66 0x3D66
434 #define MT9F002_MFR_3D68 0x3D68
435 #define MT9F002_MFR_3D6A 0x3D6A
436 #define MT9F002_MFR_3D6C 0x3D6C
437 #define MT9F002_MFR_3D6E 0x3D6E
438 #define MT9F002_MFR_3D70 0x3D70
439 #define MT9F002_MFR_3D72 0x3D72
440 #define MT9F002_MFR_3D74 0x3D74
441 #define MT9F002_MFR_3D76 0x3D76
442 #define MT9F002_MFR_3D78 0x3D78
443 #define MT9F002_MFR_3D7A 0x3D7A
444 #define MT9F002_MFR_3D7C 0x3D7C
445 #define MT9F002_MFR_3D7E 0x3D7E
446 #define MT9F002_MFR_3D80 0x3D80
447 #define MT9F002_MFR_3D82 0x3D82
448 #define MT9F002_MFR_3D84 0x3D84
449 #define MT9F002_MFR_3D86 0x3D86
450 #define MT9F002_MFR_3D88 0x3D88
451 #define MT9F002_MFR_3D8A 0x3D8A
452 #define MT9F002_MFR_3D8C 0x3D8C
453 #define MT9F002_MFR_3D8E 0x3D8E
454 #define MT9F002_MFR_3D90 0x3D90
455 #define MT9F002_MFR_3D92 0x3D92
456 #define MT9F002_MFR_3D94 0x3D94
457 #define MT9F002_MFR_3D96 0x3D96
458 #define MT9F002_MFR_3D98 0x3D98
459 #define MT9F002_MFR_3D9A 0x3D9A
460 #define MT9F002_MFR_3D9C 0x3D9C
461 #define MT9F002_MFR_3D9E 0x3D9E
462 #define MT9F002_MFR_3DA0 0x3DA0
463 #define MT9F002_MFR_3DA2 0x3DA2
464 #define MT9F002_MFR_3DA4 0x3DA4
465 #define MT9F002_MFR_3DA6 0x3DA6
466 #define MT9F002_MFR_3DA8 0x3DA8
467 #define MT9F002_MFR_3DAA 0x3DAA
468 #define MT9F002_MFR_3DAC 0x3DAC
469 #define MT9F002_MFR_3DAE 0x3DAE
470 #define MT9F002_MFR_3DB0 0x3DB0
471 #define MT9F002_MFR_3DB2 0x3DB2
472 #define MT9F002_MFR_3DB4 0x3DB4
473 #define MT9F002_MFR_3DB6 0x3DB6
474 #define MT9F002_MFR_3DB8 0x3DB8
475 #define MT9F002_MFR_3DBA 0x3DBA
476 #define MT9F002_MFR_3DBC 0x3DBC
477 #define MT9F002_MFR_3DBE 0x3DBE
478 #define MT9F002_MFR_3DC0 0x3DC0
479 #define MT9F002_MFR_3DC2 0x3DC2
480 #define MT9F002_MFR_3DC4 0x3DC4
481 #define MT9F002_MFR_3DC6 0x3DC6
482 #define MT9F002_MFR_3DC8 0x3DC8
483 #define MT9F002_MFR_3DCA 0x3DCA
484 #define MT9F002_MFR_3DCC 0x3DCC
485 #define MT9F002_MFR_3DCE 0x3DCE
486 #define MT9F002_MFR_3DD0 0x3DD0
487 #define MT9F002_MFR_3DD2 0x3DD2
488 #define MT9F002_MFR_3DD4 0x3DD4
489 #define MT9F002_MFR_3DD6 0x3DD6
490 #define MT9F002_MFR_3DD8 0x3DD8
491 #define MT9F002_MFR_3DDA 0x3DDA
492 #define MT9F002_MFR_3DDC 0x3DDC
493 #define MT9F002_MFR_3DDE 0x3DDE
494 #define MT9F002_MFR_3DE0 0x3DE0
495 #define MT9F002_MFR_3DE2 0x3DE2
496 #define MT9F002_MFR_3DE4 0x3DE4
497 #define MT9F002_MFR_3DE6 0x3DE6
498 #define MT9F002_MFR_3DE8 0x3DE8
499 #define MT9F002_MFR_3DEA 0x3DEA
500 #define MT9F002_MFR_3DEC 0x3DEC
501 #define MT9F002_MFR_3DEE 0x3DEE
502 #define MT9F002_MFR_3DF0 0x3DF0
503 #define MT9F002_MFR_3DF2 0x3DF2
504 #define MT9F002_MFR_3DF4 0x3DF4
505 #define MT9F002_MFR_3DF6 0x3DF6
506 #define MT9F002_MFR_3DF8 0x3DF8
507 #define MT9F002_MFR_3DFA 0x3DFA
508 #define MT9F002_MFR_3DFC 0x3DFC
509 #define MT9F002_MFR_3DFE 0x3DFE
510 #define MT9F002_MFR_3E00 0x3E00
511 #define MT9F002_MFR_3E02 0x3E02
512 #define MT9F002_MFR_3E04 0x3E04
513 #define MT9F002_MFR_3E06 0x3E06
514 #define MT9F002_MFR_3E08 0x3E08
515 #define MT9F002_MFR_3E0A 0x3E0A
516 #define MT9F002_MFR_3E0C 0x3E0C
517 #define MT9F002_MFR_3E0E 0x3E0E
518 #define MT9F002_MFR_3E10 0x3E10
519 #define MT9F002_MFR_3E12 0x3E12
520 #define MT9F002_MFR_3E14 0x3E14
521 #define MT9F002_MFR_3E16 0x3E16
522 #define MT9F002_MFR_3E18 0x3E18
523 #define MT9F002_MFR_3E1A 0x3E1A
524 #define MT9F002_MFR_3E1C 0x3E1C
525 #define MT9F002_MFR_3E1E 0x3E1E
526 #define MT9F002_MFR_3E20 0x3E20
527 #define MT9F002_MFR_3E22 0x3E22
528 #define MT9F002_MFR_3E24 0x3E24
529 #define MT9F002_MFR_3E26 0x3E26
530 #define MT9F002_MFR_3E28 0x3E28
531 #define MT9F002_MFR_3E2A 0x3E2A
532 #define MT9F002_MFR_3E2C 0x3E2C
533 #define MT9F002_MFR_3E2E 0x3E2E
534 #define MT9F002_MFR_3E30 0x3E30
535 #define MT9F002_MFR_3E32 0x3E32
536 #define MT9F002_MFR_3E34 0x3E34
537 #define MT9F002_MFR_3E36 0x3E36
538 #define MT9F002_MFR_3E38 0x3E38
539 #define MT9F002_MFR_3E3A 0x3E3A
540 #define MT9F002_MFR_3E3C 0x3E3C
541 #define MT9F002_MFR_3E3E 0x3E3E
542 #define MT9F002_MFR_3E40 0x3E40
543 #define MT9F002_MFR_3E42 0x3E42
544 #define MT9F002_MFR_3E44 0x3E44
545 #define MT9F002_MFR_3E46 0x3E46
546 #define MT9F002_MFR_3E48 0x3E48
547 #define MT9F002_MFR_3E4A 0x3E4A
548 #define MT9F002_MFR_3E4C 0x3E4C
549 #define MT9F002_MFR_3E4E 0x3E4E
550 #define MT9F002_MFR_3E50 0x3E50
551 #define MT9F002_MFR_3E52 0x3E52
552 #define MT9F002_MFR_3E54 0x3E54
553 #define MT9F002_MFR_3E56 0x3E56
554 #define MT9F002_MFR_3E58 0x3E58
555 #define MT9F002_MFR_3E5A 0x3E5A
556 #define MT9F002_MFR_3E5C 0x3E5C
557 #define MT9F002_MFR_3E5E 0x3E5E
558 #define MT9F002_MFR_3E60 0x3E60
559 #define MT9F002_MFR_3E62 0x3E62
560 #define MT9F002_MFR_3E64 0x3E64
561 #define MT9F002_MFR_3E66 0x3E66
562 #define MT9F002_MFR_3E68 0x3E68
563 #define MT9F002_MFR_3E6A 0x3E6A
564 #define MT9F002_MFR_3E6C 0x3E6C
565 #define MT9F002_MFR_3E6E 0x3E6E
566 #define MT9F002_MFR_3E70 0x3E70
567 #define MT9F002_MFR_3E72 0x3E72
568 #define MT9F002_MFR_3E74 0x3E74
569 #define MT9F002_MFR_3E76 0x3E76
570 #define MT9F002_MFR_3E78 0x3E78
571 #define MT9F002_MFR_3E7A 0x3E7A
572 #define MT9F002_MFR_3E7C 0x3E7C
573 #define MT9F002_MFR_3E7E 0x3E7E
574 #define MT9F002_MFR_3E80 0x3E80
575 #define MT9F002_MFR_3E82 0x3E82
576 #define MT9F002_MFR_3E84 0x3E84
577 #define MT9F002_MFR_3E86 0x3E86
578 #define MT9F002_MFR_3E88 0x3E88
579 #define MT9F002_MFR_3E8A 0x3E8A
580 #define MT9F002_MFR_3E8C 0x3E8C
581 #define MT9F002_MFR_3E8E 0x3E8E
582 #define MT9F002_MFR_3E90 0x3E90
583 #define MT9F002_MFR_3E92 0x3E92
584 #define MT9F002_MFR_3E94 0x3E94
585 #define MT9F002_MFR_3E96 0x3E96
586 #define MT9F002_MFR_3E98 0x3E98
587 #define MT9F002_MFR_3E9A 0x3E9A
588 #define MT9F002_MFR_3E9C 0x3E9C
589 #define MT9F002_MFR_3E9E 0x3E9E
590 #define MT9F002_MFR_3EA0 0x3EA0
591 #define MT9F002_MFR_3EA2 0x3EA2
592 #define MT9F002_MFR_3EA4 0x3EA4
593 #define MT9F002_MFR_3EA6 0x3EA6
594 #define MT9F002_MFR_3EA8 0x3EA8
595 #define MT9F002_MFR_3EAA 0x3EAA
596 #define MT9F002_MFR_3EAC 0x3EAC
597 #define MT9F002_MFR_3EAE 0x3EAE
598 #define MT9F002_MFR_3EB0 0x3EB0
599 #define MT9F002_MFR_3EB2 0x3EB2
600 #define MT9F002_MFR_3EB4 0x3EB4
601 #define MT9F002_MFR_3EB6 0x3EB6
602 #define MT9F002_MFR_3EB8 0x3EB8
603 #define MT9F002_MFR_3EBA 0x3EBA
604 #define MT9F002_MFR_3EBC 0x3EBC
605 #define MT9F002_MFR_3EBE 0x3EBE
606 #define MT9F002_MFR_3EC0 0x3EC0
607 #define MT9F002_MFR_3EC2 0x3EC2
608 #define MT9F002_MFR_3EC4 0x3EC4
609 #define MT9F002_MFR_3EC6 0x3EC6
610 #define MT9F002_MFR_3EC8 0x3EC8
611 #define MT9F002_MFR_3ECA 0x3ECA
612 #define MT9F002_MFR_3176 0x3176
613 #define MT9F002_MFR_317C 0x317C
614 #define MT9F002_MFR_3EE6 0x3EE6
615 #define MT9F002_MFR_3ED8 0x3ED8
616 #define MT9F002_MFR_3EDC 0x3EDC
617 #define MT9F002_MFR_3EE2 0x3EE2
618 #define MT9F002_MFR_3EE8 0x3EE8
619 #define MT9F002_DAC_LD_14_15 0x3EDA
620 #define MT9F002_DAC_LD_24_25 0x3EE4
621 #define MT9F002_DAC_LD_28_29 0x3EE8
622 #define MT9F002_DAC_LD_30_31 0x3EEA
623 
624 #endif /* MT9F002_REGS_H */