Lines Matching refs:Device

76 	Device()->PowerOnSensor(false);
77 Device()->PowerOnSensor(true);
80 Device()->WriteReg8(SN9C102_CHIP_CTRL, 0x01); /* power down the sensor */
81 Device()->WriteReg8(SN9C102_CHIP_CTRL, 0x44); /* power up the sensor, enable tx, sysclk@24MHz */
82 Device()->WriteReg8(SN9C102_CHIP_CTRL, 0x04); /* power up the sensor, enable tx, sysclk@24MHz */
83 Device()->WriteReg8(SN9C102_R_B_GAIN, 0x00); /* red, blue gain = 1+0/8 = 1 */
84 Device()->WriteReg8(SN9C102_G_GAIN, 0x00); /* green gain = 1+0/8 = 1 */
85 Device()->WriteReg8(SN9C102_OFFSET, 0x0a); /* 10 pix offset */
86 Device()->WriteReg8(SN9C102_CLOCK_SEL, 0x60); /* enable sensor clk, and invert it */
87 Device()->WriteReg8(SN9C102_CLOCK_SEL, 0x60); /* enable sensor clk, and invert it */
88 Device()->WriteReg8(SN9C102_SYNC_N_SCALE, 0x06); /* no compression, normal curve,
92 Device()->WriteReg8(SN9C102_PIX_CLK, 0xfb); /* pixclk = 2 * masterclk, sensor is slave mode */
98 Device()->WriteReg(SN9C102_I2C_SETUP, tmp_7, 8);
100 Device()->WriteReg8(SN9C102_PIX_CLK, 0x4b);
103 Device()->WriteReg(SN9C102_I2C_SETUP, tmp_8, 8);
111 //Device()->WriteIIC8(0xc0, 0x80); /* AEC = 0x203 ??? */
112 //Device()->WriteIIC8(0x1c, 0x80); /* AEC = 0x203 ??? */
115 Device()->WriteReg8(SN9C102_H_SIZE, 69);
116 Device()->WriteReg8(SN9C102_V_SIZE, 9);
121 //Device()->SetScale(1);
155 Device()->WriteReg8(SN9C102_H_START, /*rect.left + */69);
156 Device()->WriteReg8(SN9C102_V_START, /*rect.top + */9);
157 Device()->WriteReg8(SN9C102_PIX_CLK, 0xfb);
158 Device()->WriteReg8(SN9C102_HO_SIZE, 0x14);
159 Device()->WriteReg8(SN9C102_VO_SIZE, 0x0a);
162 //Device()->WriteReg8(SN9C102_CLOCK_SEL, 0x70); /* enable sensor clk, and invert it, test img */
215 //Device()->WriteIIC8(0x20, (uint8)0xf6 - (uint8)fGain);
221 Device()->WriteIIC(0x02, buf, 2);