templog5 2.0.0.0
|
This file contains API for Temp-Log 5 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 | templog5_t |
Click ctx object definition. More... | |
struct | templog5_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | templog5_cfg_setup (templog5_cfg_t *cfg) |
Config Object Initialization function. | |
TEMPLOG5_RETVAL | templog5_init (templog5_t *ctx, templog5_cfg_t *cfg) |
Initialization function. | |
void | templog5_default_cfg (templog5_t *ctx) |
Click Default Configuration function. | |
void | templog5_write_data (templog5_t *ctx, uint8_t reg, uint16_t data_in) |
Functions for write data to the TS register. | |
void | templog5_write_eeprom (templog5_t *ctx, uint8_t start_addr, uint8_t *data_in, uint8_t n_byte) |
Writes data to the EEPROM address ( maximum 16 bytes per 1 page ). | |
uint16_t | templog5_read_data (templog5_t *ctx, uint8_t reg) |
Functions for read data from registers. | |
void | templog5_read_eeprom (templog5_t *ctx, uint8_t start_addr, uint8_t *data_out, uint8_t n_byte) |
Reads data from EEPROM. | |
float | templog5_get_temperature (templog5_t *ctx) |
Temperature Data. | |
uint8_t | templog5_get_temperature_status (templog5_t *ctx) |
Teperature Status. | |
uint8_t | templog5_get_interrupt_status (templog5_t *ctx) |
EVENT Interrupt status. | |
This file contains API for Temp-Log 5 Click driver.