Hi List,
I'm trying to understand the reply while querying the bat3 but there
are a few parts I don't understand. Looking at
ftp://ftp.embeddedarm.com/bat3/GettingStarted.txt I see the definition
of the struct bat3Info but there are a few field which I don't
understand.
float supplyV; // supply voltage
float regV; // regulated supply voltage
These return values like 39812(supplyV) and 26623 (regV) when running
from a powersource (24V). On batteries these values return 1023.
dword pwm1en:1, // set if PWM1 is enabled
pwm2en:1, // set if PWM2 is enabled
offset:1, // reserved
opamp:1, // must be enabled to read battery current
buck:1, // reserved
led:1, // set if the LED on the board is on
jp3:1, // set if JP3 on the board is on
onbatt:1, // set if running on batteries
softJP3:1,// set automatically if battery voltage drops too low
locked:1; // set if bat3 has locked onto the target charge current
What is PWM1 and PWM2 for? I suppose it's UPS related but that's the
only thing I know.
softJP3 is supposed to be set when the power drops but it wasn't in my
testcase. The docs say there's more info while running 'bat3 --help'
but that isn't very clear either.
Can someone give me any help?
Tnx,
wim.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|