templog 2.0.0.0
|
This file contains API for Temp-Log Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | templog_t |
Click ctx object definition. More... | |
struct | templog_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | templog_cfg_setup (templog_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPLOG_RETVAL | templog_init (templog_t *ctx, templog_cfg_t *cfg) |
Initialization function. | |
void | templog_default_cfg (templog_t *ctx) |
Click Default Configuration function. | |
void | templog_generic_write (templog_t *ctx, uint8_t reg, uint16_t transfer_data, uint8_t len) |
Generic write function. | |
uint16_t | templog_generic_read (templog_t *ctx, uint8_t reg) |
Generic read function. | |
uint16_t | temp_log_read_temp_dec (templog_t *ctx, uint16_t resolution) |
Temp read function. | |
float | temp_log_convert_to_celsius (uint16_t temperature_data) |
Convert function. | |
uint8_t | temp_log_get_alert (templog_t *ctx) |
Alert function. | |
This file contains API for Temp-Log Click driver.