FOSSASAT-1B
TMP100 Temperature Sensor Configuration
Collaboration diagram for TMP100 Temperature Sensor Configuration:

Macros

#define BOARD_TEMP_SENSOR_ADDR   0b1001100
 
#define BATTERY_TEMP_SENSOR_ADDR   0b1001011
 
#define TEMP_SENSOR_REG_CONFIG   0b01
 
#define TEMP_SENSOR_RESOLUTION_9_BITS   0b00000000
 
#define TEMP_SENSOR_RESOLUTION_10_BITS   0b00100000
 
#define TEMP_SENSOR_RESOLUTION_11_BITS   0b01000000
 
#define TEMP_SENSOR_RESOLUTION_12_BITS   0b01100000
 

Detailed Description

Test:
(ID CONF_TMP100_T0) (SEV 1) Check that the TMP100 sensor returns the correct value (given the resolution) from the Wire connection.

Macro Definition Documentation

◆ BATTERY_TEMP_SENSOR_ADDR

#define BATTERY_TEMP_SENSOR_ADDR   0b1001011

Battery TMP100 temperature sensor Wire address.

Definition at line 428 of file configuration.h.

◆ BOARD_TEMP_SENSOR_ADDR

#define BOARD_TEMP_SENSOR_ADDR   0b1001100

Board TMP100 temperature sensor Wire address.

Definition at line 427 of file configuration.h.

◆ TEMP_SENSOR_REG_CONFIG

#define TEMP_SENSOR_REG_CONFIG   0b01

Initial temperature sensor configuration value (1).

Definition at line 429 of file configuration.h.

◆ TEMP_SENSOR_RESOLUTION_10_BITS

#define TEMP_SENSOR_RESOLUTION_10_BITS   0b00100000

e.g. 0.25 deg. C

Definition at line 431 of file configuration.h.

◆ TEMP_SENSOR_RESOLUTION_11_BITS

#define TEMP_SENSOR_RESOLUTION_11_BITS   0b01000000

e.g. 0.125 deg. C

Definition at line 432 of file configuration.h.

◆ TEMP_SENSOR_RESOLUTION_12_BITS

#define TEMP_SENSOR_RESOLUTION_12_BITS   0b01100000

e.g. 0.0625 deg. C

Definition at line 433 of file configuration.h.

◆ TEMP_SENSOR_RESOLUTION_9_BITS

#define TEMP_SENSOR_RESOLUTION_9_BITS   0b00000000

e.g. 0.5 deg. C

Definition at line 430 of file configuration.h.