OpenBIC
OpenSource Bridge-IC
|
#include <stdio.h>
#include "sensor.h"
#include "hal_i2c.h"
#include "libutil.h"
#include <logging/log.h>
#include "tmp75.h"
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) |
bool get_tmp75_two_byte_limit | ( | sensor_cfg * | cfg, |
uint8_t | temp_threshold_index, | ||
uint32_t * | millidegree_celsius | ||
) |
LOG_MODULE_REGISTER | ( | tmp75 | ) |
bool set_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 | ||
) |
uint8_t tmp75_init | ( | sensor_cfg * | cfg | ) |
uint8_t tmp75_read | ( | sensor_cfg * | cfg, |
int * | reading | ||
) |
bool tmp75_set_temp_threshold | ( | sensor_cfg * | cfg, |
uint8_t | temp_threshold_index, | ||
uint32_t * | millidegree_celsius | ||
) |