Lines Matching refs:Device

79 	Device()->PowerOnSensor(false);
80 Device()->PowerOnSensor(true);
84 Device()->WriteReg8(SN9C102_CHIP_CTRL, 0x01); /* power down the sensor */
85 Device()->WriteReg8(SN9C102_CLOCK_SEL, 0x20); /* enable sensor clk */
86 Device()->WriteReg8(SN9C102_CHIP_CTRL, 0x04); /* power up the sensor, enable tx, sysclk@12MHz */
87 Device()->WriteReg8(SN9C102_R_B_GAIN, 0x01); /* red gain = 1+0/8 = 1, red gain = 1+1/8 !!? */
88 Device()->WriteReg8(SN9C102_G_GAIN, 0x00); /* green gain = 1+0/8 = 1 */
89 Device()->WriteReg8(SN9C102_OFFSET, 0x0a); /* 0 pix offset */
90 Device()->WriteReg8(SN9C102_CLOCK_SEL, 0x60); /* enable sensor clk, and invert it */
91 Device()->WriteReg8(SN9C102_SYNC_N_SCALE, 0x06); /* no compression, normal curve,
95 Device()->WriteReg8(SN9C102_PIX_CLK, 0xf3); /* pixclk = masterclk, sensor is slave mode */
102 Device()->WriteIIC8(0xc0, 0x80); /* AEC = 0x203 ??? */
106 Device()->WriteIIC8(0x20, 0xf6 - 0xd0); /* GAIN */
107 Device()->WriteIIC8(0x40, 0x47 - 0x40); /* Exposure */
109 Device()->WriteReg8(SN9C102_H_SIZE, 104);
110 Device()->WriteReg8(SN9C102_V_SIZE, 12);
116 Device()->WriteIIC8(0xc0, 0x80); /* AEC = 0x203 ??? */
117 Device()->WriteReg8(SN9C102_H_SIZE, 69);
118 Device()->WriteReg8(SN9C102_V_SIZE, 9);
124 //Device()->SetScale(1);
158 Device()->WriteReg8(SN9C102_H_START, /*rect.left + */104);
159 Device()->WriteReg8(SN9C102_V_START, /*rect.top + */12);
160 Device()->WriteReg8(SN9C102_PIX_CLK, 0xfb);
161 Device()->WriteReg8(SN9C102_HO_SIZE, 0x14);
162 Device()->WriteReg8(SN9C102_VO_SIZE, 0x0a);
164 Device()->WriteReg8(SN9C102_H_START, /*rect.left + */104);
165 Device()->WriteReg8(SN9C102_V_START, /*rect.top + */12);
166 Device()->WriteReg8(SN9C102_PIX_CLK, 0xf3);
167 Device()->WriteReg8(SN9C102_HO_SIZE, 0x1f);
168 Device()->WriteReg8(SN9C102_VO_SIZE, 0x1a);
172 //Device()->WriteReg8(SN9C102_CLOCK_SEL, 0x70); /* enable sensor clk, and invert it, test img */
225 //Device()->WriteIIC8(0x20, (uint8)0xf6 - (uint8)fGain);
231 Device()->WriteIIC(0x02, buf, 2);