24#ifndef OV5640_SETTINGS_H
25#define OV5640_SETTINGS_H
32#define REGLIST_TAIL 0xFFFF
49 { 2560, 1920, 0, 0, 2623, 1951, 32, 16, 2844, 1968 },
50 { 2560, 1704, 0, 110, 2623, 1843, 32, 16, 2844, 1752 },
51 { 2560, 1600, 0, 160, 2623, 1791, 32, 16, 2844, 1648 },
52 { 2560, 1536, 0, 192, 2623, 1759, 32, 16, 2844, 1584 },
53 { 2560, 1440, 0, 240, 2623, 1711, 32, 16, 2844, 1488 },
54 { 2560, 1080, 0, 420, 2623, 1531, 32, 16, 2844, 1128 },
55 { 2400, 1920, 80, 0, 2543, 1951, 32, 16, 2684, 1968 },
56 { 1920, 1920, 320, 0, 2543, 1951, 32, 16, 2684, 1968 },
57 { 1088, 1920, 736, 0, 1887, 1951, 32, 16, 1884, 1968 }
60static const uint16_t ov5640_settings_default[][2] = {
61 {SYSTEM_CTROL0, 0x82},
63 {SYSTEM_CTROL0, 0x42},
72 {DRIVE_CAPABILITY, 0xc3},
73 {CLOCK_POL_CONTROL, 0x21},
77 {ISP_CONTROL_01, 0x83},
90 {ISP_CONTROL_01, 0xa3},
238 {REGLIST_TAIL, 0x00},
241static const uint16_t ov5640_settings_jpeg[][2] = {
243 {FORMAT_CTRL00, 0x30},
247 {REGLIST_TAIL, 0x00},
250static const uint16_t ov5640_settings_yuv422[][2] = {
252 {FORMAT_CTRL00, 0x30},
256static const uint16_t ov5640_settings_rgb565[][2] = {
258 {FORMAT_CTRL00, 0x61},
OV5640 register definitions (16-bit addresses).