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 [EMAIL PROTECTED] with "unsubscribe linux-dvb" as 
subject.

Reply via email to