Driver for the AT30TSE75x temperature sensor with serial EEPROM.  
More...
Driver for the AT30TSE75x temperature sensor with serial EEPROM. 
- Author
 - Daniel Krebs githu.nosp@m.b@da.nosp@m.niel-.nosp@m.kreb.nosp@m.s.net 
 
Definition in file at30tse75x.h.
#include <stdint.h>
#include "periph/i2c.h"
 
Go to the source code of this file.
 | 
| int  | at30tse75x_init (at30tse75x_t *dev, i2c_t i2c, uint8_t addr) | 
|   | Initialize a AT30TSE75x device.  
  | 
|   | 
| int  | at30tse75x_save_config (const at30tse75x_t *dev) | 
|   | Save configuration register to non-volatile backup register.  
  | 
|   | 
| int  | at30tse75x_restore_config (const at30tse75x_t *dev) | 
|   | Restore configuration register from non-volatile backup register.  
  | 
|   | 
| int  | at30tse75x_get_config (const at30tse75x_t *dev, uint8_t *data) | 
|   | Get content of configuration register.  
  | 
|   | 
| int  | at30tse75x_set_config (const at30tse75x_t *dev, uint8_t data) | 
|   | Set content of configuration register.  
  | 
|   | 
| int  | at30tse75x_set_resolution (const at30tse75x_t *dev, at30tse75x_resolution_t resolution) | 
|   | Set temperature resolution.  
  | 
|   | 
| int  | at30tse75x_set_mode (const at30tse75x_t *dev, at30tse75x_mode_t mode) | 
|   | Set operation mode.  
  | 
|   | 
| int  | at30tse75x_set_alarm_polarity (const at30tse75x_t *dev, at30tse75x_alarm_polatity_t polarity) | 
|   | Set polarity of ALERT pin.  
  | 
|   | 
| int  | at30tse75x_set_fault_tolerance (const at30tse75x_t *dev, at30tse75x_fault_tolerance_t tolerance) | 
|   | Set tolerance to outlying measurements.  
  | 
|   | 
| int  | at30tse75x_set_limit_low (const at30tse75x_t *dev, int8_t t_low) | 
|   | Set T_Low limit.  
  | 
|   | 
| int  | at30tse75x_set_limit_high (const at30tse75x_t *dev, int8_t t_high) | 
|   | Set T_High limit.  
  | 
|   | 
| int  | at30tse75x_get_temperature (const at30tse75x_t *dev, float *temperature) | 
|   | Get measured temperature.  
  | 
|   | 
 | 
| enum   | at30tse75x_resolution_t { AT30TSE75X_RESOLUTION_9BIT = 0
, AT30TSE75X_RESOLUTION_10BIT = 1
, AT30TSE75X_RESOLUTION_11BIT = 2
, AT30TSE75X_RESOLUTION_12BIT = 3
 } | 
|   | Temperature resolution.  More...
  | 
|   | 
| enum   | at30tse75x_mode_t { AT30TSE75X_MODE_COMPARATOR
, AT30TSE75X_MODE_INTERRUPT
, AT30TSE75X_MODE_ONE_SHOT
 } | 
|   | Operation mode.  More...
  | 
|   | 
| enum   | at30tse75x_fault_tolerance_t { AT30TSE75X_ALARM_AFTER_1 = 0
, AT30TSE75X_ALARM_AFTER_2 = 1
, AT30TSE75X_ALARM_AFTER_4 = 2
, AT30TSE75X_ALARM_AFTER_6 = 3
 } | 
|   | After how many limit exceeding measurements the ALERT pin is set.  More...
  | 
|   | 
| enum   | at30tse75x_alarm_polatity_t { AT30TSE75X_ALARM_ACTIVE_LOW
, AT30TSE75X_ALARM_ACTIVE_HIGH
 } | 
|   | Polarity of the ALERT pin.  More...
  | 
|   |