OpenBIC
OpenSource Bridge-IC
tmp75.c File Reference
#include <stdio.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "libutil.h"
#include <logging/log.h>
#include "tmp75.h"
Include dependency graph for tmp75.c:

Functions

 LOG_MODULE_REGISTER (tmp75)
 
bool get_tmp75_two_byte_limit (sensor_cfg *cfg, uint8_t temp_threshold_index, uint32_t *millidegree_celsius)
 
bool tmp75_get_temp_threshold (sensor_cfg *cfg, uint8_t temp_threshold_index, uint32_t *millidegree_celsius)
 
bool set_tmp75_two_byte_limit (sensor_cfg *cfg, uint8_t temp_threshold_index, uint32_t *millidegree_celsius)
 
bool tmp75_set_temp_threshold (sensor_cfg *cfg, uint8_t temp_threshold_index, uint32_t *millidegree_celsius)
 
uint8_t tmp75_read (sensor_cfg *cfg, int *reading)
 
uint8_t tmp75_init (sensor_cfg *cfg)
 

Function Documentation

◆ get_tmp75_two_byte_limit()

bool get_tmp75_two_byte_limit ( sensor_cfg cfg,
uint8_t  temp_threshold_index,
uint32_t *  millidegree_celsius 
)
Here is the call graph for this function:

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( tmp75  )

◆ set_tmp75_two_byte_limit()

bool set_tmp75_two_byte_limit ( sensor_cfg cfg,
uint8_t  temp_threshold_index,
uint32_t *  millidegree_celsius 
)
Here is the call graph for this function:

◆ tmp75_get_temp_threshold()

bool tmp75_get_temp_threshold ( sensor_cfg cfg,
uint8_t  temp_threshold_index,
uint32_t *  millidegree_celsius 
)
Here is the call graph for this function:

◆ tmp75_init()

uint8_t tmp75_init ( sensor_cfg cfg)
Here is the call graph for this function:

◆ tmp75_read()

uint8_t tmp75_read ( sensor_cfg cfg,
int *  reading 
)
Here is the call graph for this function:

◆ tmp75_set_temp_threshold()

bool tmp75_set_temp_threshold ( sensor_cfg cfg,
uint8_t  temp_threshold_index,
uint32_t *  millidegree_celsius 
)
Here is the call graph for this function: