From: sukhdeep@gmail.com (Sukhdeep Johar)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] temp1,temp2 calculation in w83781d.c
Date: Tue, 21 Jun 2005 09:27:09 +0000 [thread overview]
Message-ID: <2ef564dc05062100266adaab51@mail.gmail.com> (raw)
Hi,
I see the temp1 being read as :
val*10 ; where val is the value read from the register.
While temp2 is read as :
(val/128) *5. ; where val is a two byte value read from the
registers.
I understand the reason behind the division by 128.
But am not able to understand the multiplication by 5 & 10.
Can somebody please help me with this. Or point me to the relevant
material.
regards,
Sukhdeep
next reply other threads:[~2005-06-21 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-21 9:27 Sukhdeep Johar [this message]
2005-06-21 15:27 ` [lm-sensors] temp1,temp2 calculation in w83781d.c Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2ef564dc05062100266adaab51@mail.gmail.com \
--to=sukhdeep@gmail.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.