thermo19 2.0.0.0
|
This file contains API for Thermo 19 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_one_wire.h"
Go to the source code of this file.
Data Structures | |
struct | thermo19_t |
Thermo 19 Click context object. More... | |
struct | thermo19_cfg_t |
Thermo 19 Click configuration object. More... | |
Enumerations | |
enum | thermo19_gpio_sel_t { THERMO19_GPIO_0 , THERMO19_GPIO_1 } |
Thermo 19 Click gpio selector. More... | |
enum | thermo19_return_value_t { THERMO19_OK = 0 , THERMO19_ERROR = -1 } |
Thermo 19 Click return value data. More... | |
Functions | |
void | thermo19_cfg_setup (thermo19_cfg_t *cfg) |
Thermo 19 configuration object setup function. | |
void | thermo19_gpio_selection (thermo19_cfg_t *cfg, thermo19_gpio_sel_t gpio_sel) |
Thermo 19 driver interface setup function. | |
err_t | thermo19_init (thermo19_t *ctx, thermo19_cfg_t *cfg) |
Thermo 19 initialization function. | |
err_t | thermo19_default_cfg (thermo19_t *ctx) |
Thermo 19 default configuration function. | |
err_t | thermo19_check_communication (thermo19_t *ctx) |
Thermo 19 check communication function. | |
err_t | thermo19_select_device (thermo19_t *ctx) |
Thermo 19 select device function. | |
err_t | thermo19_start_measurement (thermo19_t *ctx) |
Thermo 19 start measurement function. | |
err_t | thermo19_read_scratchpad (thermo19_t *ctx, uint8_t *scratchpad) |
Thermo 19 read scratchpad function. | |
err_t | thermo19_write_scratchpad (thermo19_t *ctx, uint16_t temp_high, uint16_t temp_low, uint8_t config) |
Thermo 19 write scratchpad function. | |
err_t | thermo19_read_temperature (thermo19_t *ctx, float *temperature) |
Thermo 19 read temperature function. | |
uint8_t | thermo19_get_alert_pin (thermo19_t *ctx) |
Thermo 19 get alert pin function. | |
This file contains API for Thermo 19 Click Driver.
enum thermo19_gpio_sel_t |