Go to the documentation of this file.
19 #ifndef M5602_S5K83A_H_
20 #define M5602_S5K83A_H_
24 #define S5K83A_FLIP 0x01
25 #define S5K83A_HFLIP_TUNE 0x03
26 #define S5K83A_VFLIP_TUNE 0x05
27 #define S5K83A_BRIGHTNESS 0x0a
28 #define S5K83A_EXPOSURE 0x18
29 #define S5K83A_GAIN 0x1b
30 #define S5K83A_PAGE_MAP 0xec
32 #define S5K83A_DEFAULT_GAIN 0x71
33 #define S5K83A_DEFAULT_BRIGHTNESS 0x7e
34 #define S5K83A_DEFAULT_EXPOSURE 0x00
35 #define S5K83A_MAXIMUM_EXPOSURE 0x3c
36 #define S5K83A_FLIP_MASK 0x10
37 #define S5K83A_GPIO_LED_MASK 0x10
38 #define S5K83A_GPIO_ROTATION_MASK 0x40
70 static const unsigned char preinit_s5k83a[][4] = {
110 static const unsigned char init_s5k83a[][4] = {
140 {
SENSOR, 0xaf, 0x01, 0x00},
142 {
SENSOR, 0x7b, 0xff, 0x00},
144 {
SENSOR, 0x01, 0x50, 0x00},
145 {
SENSOR, 0x12, 0x20, 0x00},
146 {
SENSOR, 0x17, 0x40, 0x00},
147 {
SENSOR, 0x1c, 0x00, 0x00},
148 {
SENSOR, 0x02, 0x70, 0x00},
149 {
SENSOR, 0x03, 0x0b, 0x00},
150 {
SENSOR, 0x04, 0xf0, 0x00},
151 {
SENSOR, 0x05, 0x0b, 0x00},
152 {
SENSOR, 0x06, 0x71, 0x00},
153 {
SENSOR, 0x07, 0xe8, 0x00},
154 {
SENSOR, 0x08, 0x02, 0x00},
155 {
SENSOR, 0x09, 0x88, 0x00},
156 {
SENSOR, 0x14, 0x00, 0x00},
157 {
SENSOR, 0x15, 0x20, 0x00},
158 {
SENSOR, 0x19, 0x00, 0x00},
159 {
SENSOR, 0x1a, 0x98, 0x00},
160 {
SENSOR, 0x0f, 0x02, 0x00},
161 {
SENSOR, 0x10, 0xe5, 0x00},
164 {
SENSOR, 0x00, 0x06, 0x00},
167 static const unsigned char start_s5k83a[][4] = {