Detailed Description

Macros

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

Macro Definition Documentation

◆ CONFIG_TMP00X_CONVERSION_TIME

#define CONFIG_TMP00X_CONVERSION_TIME   (1E6)

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.

◆ CONFIG_TMP00X_I2C_ADDRESS

#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.

◆ CONFIG_TMP00X_USE_LOW_POWER

#define CONFIG_TMP00X_USE_LOW_POWER

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.

◆ CONFIG_TMP00X_USE_RAW_VALUES

#define CONFIG_TMP00X_USE_RAW_VALUES

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.