templog3 2.0.0.0
|
This file contains API for Temp Log 3 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 | templog3_t |
Click ctx object definition. More... | |
struct | templog3_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | templog3_cfg_setup (templog3_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPLOG3_RETVAL | templog3_init (templog3_t *ctx, templog3_cfg_t *cfg) |
Initialization function. | |
void | templog3_default_cfg (templog3_t *ctx) |
Click Default Configuration function. | |
uint8_t | templog3_write_reg (templog3_t *ctx, uint8_t reg_addr, uint16_t data_in) |
Generic Write function. | |
uint8_t | templog3_read_reg (templog3_t *ctx, uint8_t reg_addr, uint16_t *data_out) |
Generic Read function. | |
uint8_t | templog3_set_addr_ptr (templog3_t *ctx, uint8_t reg_addr) |
Set Address Pointer function. | |
void | templog3_repeated_read (templog3_t *ctx, uint16_t *data_out) |
Repeated Read function. | |
uint8_t | templog3_get_temp (templog3_t *ctx, uint8_t temp_sel, float *temp_out) |
Get Temperature function. | |
uint8_t | templog3_set_temp (templog3_t *ctx, uint8_t temp_sel, float temp_in) |
Set Temperature function. | |
uint8_t | templog3_check_alarm (templog3_t *ctx) |
Alarm-Event Check function. | |
void | templog3_wait_conv_done (templog3_t *ctx) |
Conversion Time function. | |
void | templog3_eeprom_byte_write (templog3_t *ctx, uint8_t reg_addr, uint8_t data_in, uint8_t eeprom_mode) |
EEPROM Single Write function. | |
void | templog3_eeprom_page_write (templog3_t *ctx, uint8_t reg_addr, uint8_t *data_in) |
EEPROM Page Write function. | |
void | templog3_eeprom_curr_addr_read (templog3_t *ctx, uint8_t *current_address) |
EEPROM Current Address Read function. | |
void | templog3_eeprom_byte_read (templog3_t *ctx, uint8_t reg_addr, uint8_t *data_out) |
EEPROM Single Read function. | |
uint8_t | templog3_eeprom_sequential_read (templog3_t *ctx, uint8_t reg_addr, uint8_t *data_out, uint16_t num_bytes) |
EEPROM Sequential Read function. | |
This file contains API for Temp Log 3 Click driver.