#include "lm75.h"

Go to the source code of this file.
Functions | |
| uns8 | lm75_get_config (uns8 addr) |
| Get LM75 config register. | |
| uns16 | lm75_get_temp (uns8 addr) |
| Request temperature from LM75. | |
| void | lm75_set_config (uns8 addr, uns8 config) |
| Set LM75 config register. | |
| void | lm75_setup () |
| Setup lm75 ports and pins. | |
| uns8 lm75_get_config | ( | uns8 | addr | ) |
Gets the LM75 config register (memory location 0x01)
Definition at line 12 of file lm75.c.
References i2c_read_eeprom().

| uns16 lm75_get_temp | ( | uns8 | addr | ) |
Returns 16bit raw temperature register from LM75
Definition at line 18 of file lm75.c.
References i2c_read_eeprom_16bit().

| void lm75_set_config | ( | uns8 | addr, | |
| uns8 | config | |||
| ) |
Sets the LM75 config register (memory location 0x01)
Definition at line 7 of file lm75.c.
References i2c_write_eeprom().

| void lm75_setup | ( | void | ) |
Definition at line 3 of file lm75.c.
References i2c_setup().

1.5.5