thermo29 2.1.0.0
|
This file contains API for Thermo 29 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
#include "spi_specifics.h"
Go to the source code of this file.
Data Structures | |
struct | thermo29_t |
Thermo 29 Click context object. More... | |
struct | thermo29_cfg_t |
Thermo 29 Click configuration object. More... | |
Enumerations | |
enum | thermo29_return_value_t { THERMO29_OK = 0 , THERMO29_ERROR = -1 } |
Thermo 29 Click return value data. More... | |
Functions | |
void | thermo29_cfg_setup (thermo29_cfg_t *cfg) |
Thermo 29 configuration object setup function. | |
err_t | thermo29_init (thermo29_t *ctx, thermo29_cfg_t *cfg) |
Thermo 29 initialization function. | |
err_t | thermo29_default_cfg (thermo29_t *ctx) |
Thermo 29 default configuration function. | |
err_t | thermo29_write_register (thermo29_t *ctx, uint8_t reg, uint16_t data_in) |
Thermo 29 write register function. | |
err_t | thermo29_read_register (thermo29_t *ctx, uint8_t reg, uint16_t *data_out) |
Thermo 29 read register function. | |
err_t | thermo29_write_registers (thermo29_t *ctx, uint8_t reg, uint16_t *data_in, uint8_t len) |
Thermo 29 write registers function. | |
err_t | thermo29_read_registers (thermo29_t *ctx, uint8_t reg, uint16_t *data_out, uint8_t len) |
Thermo 29 read registers function. | |
uint8_t | thermo29_get_alert_pin (thermo29_t *ctx) |
Thermo 29 get alert pin function. | |
void | thermo29_enable_crc (thermo29_t *ctx) |
Thermo 29 enable crc function. | |
void | thermo29_disable_crc (thermo29_t *ctx) |
Thermo 29 disable crc function. | |
err_t | thermo29_check_communication (thermo29_t *ctx) |
Thermo 29 check communication function. | |
err_t | thermo29_read_unique_id (thermo29_t *ctx, uint16_t *unique_id) |
Thermo 29 read unique id function. | |
err_t | thermo29_read_temperature (thermo29_t *ctx, float *temperature) |
Thermo 29 read temperature function. | |
err_t | thermo29_clear_alert_status (thermo29_t *ctx) |
Thermo 29 clear alert status function. | |
This file contains API for Thermo 29 Click Driver.