Detailed Description


#define CONFIG_TMP00X_I2C_ADDRESS   (0x40)
 Default Address. More...
 Default Conversion Time in us. More...
 Default low power mode. More...
 Default raw value mode. More...

Macro Definition Documentation



Default Conversion Time in us.

The duration of the analog-to-digital(A/D) conversion is determined by the conversion rate bits CR0, CR1 and CR2. For more information refer to the datasheet.

Definition at line 133 of file tmp00x.h.


#define CONFIG_TMP00X_I2C_ADDRESS   (0x40)

Default Address.

TMP006/TMP007 allows for up to 8 devices on a single bus. The address value depends on the state of ADR0 and ADR1 pins. Default value (0x40) corresponds to ADR0 and ADR1 pins tied to GND. For more information refer to the 'Serial Bus Address' section in the datasheet.

Definition at line 110 of file tmp00x.h.



Default low power mode.

Set this to 1 to put the device in low power mode between measurements otherwise the device will always be on. Enabling this adds a CONFIG_TMP00X_CONVERSION_TIME us delay to each measurement call for bringing the device out of standby.

Definition at line 145 of file tmp00x.h.



Default raw value mode.

Set this to 1 to return raw adc readings otherwise measurements will be converted to Celsius.

Definition at line 155 of file tmp00x.h.