[sane-devel] Gl646 backend help
Parag N(पराग़)
panemade at gmail.com
Fri Dec 23 13:33:23 UTC 2005
Hello,
I am not getting the commnets inerted in code for genesys_gl646
file. what i am chekcing is first gl646_init_regs function which has
lines===>
/* ST12: 0x01 0x20 0x02 0x30 0x03 0x1f 0x04 0x13 0x05 0x10 */
/* ST24: 0x01 0x20 0x02 0x30 0x03 0x1f 0x04 0x13 0x05 0x50 */
dev->reg[reg_0x01].value = 0x20 /*0x22 */ ; /* enable shading,
CCD, color, 1M */
dev->reg[reg_0x02].value = 0x30 /*0x38 */ ; /* auto home,
one-table-move, full step */
if (dev->model->motor_type == MOTOR_5345)
dev->reg[reg_0x02].value |= 0x01; /* half-step */
dev->reg[reg_0x03].value = 0x1f /*0x17 */ ; /* lamp on */
dev->reg[reg_0x04].value = 0x13 /*0x03 */ ; /* 8 bits data, 16
bits A/D, color, Wolfson fe *//* todo: according to spec, 0x0 is
reserved? */
dev->reg[reg_0x05].value = 0x00; /* 12 bits gamma, disable
gamma, 24 clocks/pixel */
i want explanation about this. in above code theres a line
dev->reg[reg_0x01].value = 0x20 /*0x22 */ ;
that states reg01 has 0x20 val with commented value 0x22. so what is
the meaning of those commented values?
regards,
Parag.
More information about the sane-devel
mailing list