Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] STV0299



Hi,

According to the universal driver for STV0299 obtained from this site,

	s32 snr = 0xffff - ((stv0299_readreg (i2c, 0x24) << 8)
                  		                 | stv0299_readreg (i2c, 0x25));
                	snr = 3 * (snr - 0xa100);
                	*((u16*) arg) = (snr > 0xffff) ? 0xffff :
                  (snr < 0) ? 0 : snr;

Is this according to any formula? Please help me out.

regards,
-- 
VIDYA.S
Sr. Design Engineer
EMBEDDED SOFTWARE GROUP
BPL TELECOM
BANGALORE
Ph- 6589080 extn. 2005


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index