templog4 2.0.0.0
|
This file contains API for Temp Log 4 Click driver. More...
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | templog4_t |
Click ctx object definition. More... | |
struct | templog4_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | templog4_cfg_setup (templog4_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPLOG4_RETVAL | templog4_init (templog4_t *ctx, templog4_cfg_t *cfg) |
Initialization function. | |
void | templog4_default_cfg (templog4_t *ctx) |
Click Default Configuration function. | |
void | templog4_generic_write (templog4_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | templog4_generic_read (templog4_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | templog4_write_reg (templog4_t *ctx, uint8_t reg, uint16_t input_data) |
Generic Write function. | |
uint8_t | templog4_read_reg (templog4_t *ctx, uint8_t reg, uint16_t *out_var) |
Generic Read function. | |
void | templog4_set_addr_ptr (templog4_t *ctx, uint8_t addr) |
Set Address Pointer function. | |
void | templog4_repeated_read (templog4_t *ctx, uint16_t *out_var) |
Repeated Read function. | |
uint8_t | templog4_get_temp (templog4_t *ctx, uint8_t temp_sel, float *temp_out) |
Get Temperature function. | |
void | templog4_set_temp (templog4_t *ctx, uint8_t temp_sel, float temp_in) |
Set Temperature function. | |
This file contains API for Temp Log 4 Click driver.