|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--de.wagner_ibw.iow.i2c.LM75.LM75Temp
Inner class for LM75 temperature representation.
| Field Summary | |
(package private) int |
lsdb
Most significant data byte of this temperature. |
(package private) int |
msdb
Most significant data byte of this temperature. |
(package private) double |
temp
Double representation of this temperature. |
(package private) static double |
TEMP_MAX
Constant for maximum temperature valid for LM75. |
(package private) static double |
TEMP_MIN
Constant for minimum temperature valid for LM75. |
| Constructor Summary | |
LM75.LM75Temp(double temp)
Constructor for temperature as double value. |
|
LM75.LM75Temp(int msdb,
int lsdb)
Constructor for temperature seperated in msdb (most significant data byte) and lsdb (least significant data byte). |
|
| Method Summary | |
(package private) int |
getLsdb()
Getter for lsdb. |
(package private) int |
getMsdb()
Getter for msdb. |
(package private) double |
getTemp()
Getter for double value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final double TEMP_MIN
static final double TEMP_MAX
int msdb
int lsdb
double temp
| Constructor Detail |
public LM75.LM75Temp(int msdb,
int lsdb)
msdb - Most significant data byte read from LM75.lsdb - Least significant data byte read from LM75.public LM75.LM75Temp(double temp)
temp - Temperature as double value.| Method Detail |
int getMsdb()
int getLsdb()
double getTemp()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||