|
void | cooler_cfg_setup (cooler_cfg_t *cfg) |
| Cooler configuration object setup function. More...
|
|
err_t | cooler_init (cooler_t *ctx, cooler_cfg_t *cfg) |
| Cooler initialization function. More...
|
|
err_t | cooler_default_cfg (cooler_t *ctx) |
| Cooler default configuration function. More...
|
|
err_t | cooler_generic_write (cooler_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| Cooler data writing function. More...
|
|
err_t | cooler_generic_read (cooler_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| Cooler data reading function. More...
|
|
err_t | cooler_data_write (cooler_t *ctx, uint8_t reg, uint16_t data_in) |
| Cooler 16-bit data writing function. More...
|
|
err_t | cooler_data_read (cooler_t *ctx, uint8_t reg, uint16_t *data_out) |
| Cooler 16-bit data reading function. More...
|
|
err_t | cooler_get_device_id (cooler_t *ctx, uint16_t *device_id) |
| Cooler get device ID function. More...
|
|
err_t | cooler_sensor_voltage (cooler_t *ctx, float *voltage) |
| Cooler get sensor voltage result function. More...
|
|
err_t | cooler_get_object_temperature (cooler_t *ctx, float *temperature) |
| Cooler get object temperature function. More...
|
|
uint8_t | cooler_get_alert (cooler_t *ctx) |
| Cooler fault indication function. More...
|
|
err_t | cooler_read_raw_adc (cooler_t *ctx, uint16_t *raw_adc) |
| Cooler read raw ADC value function. More...
|
|
err_t | cooler_read_voltage (cooler_t *ctx, float *voltage) |
| Cooler read voltage level function. More...
|
|
err_t | cooler_set_vref (cooler_t *ctx, float vref) |
| Cooler set vref function. More...
|
|
void | cooler_set_in1_pin (cooler_t *ctx) |
| Cooler set IN1 pin state function. More...
|
|
void | cooler_clear_in1_pin (cooler_t *ctx) |
| Cooler IN1 pin clearing function. More...
|
|
void | cooler_set_in2_pin (cooler_t *ctx) |
| Cooler set IN2 pin state function. More...
|
|
void | cooler_clear_in2_pin (cooler_t *ctx) |
| Cooler IN2 pin clearing function. More...
|
|
err_t | cooler_set_out_state (cooler_t *ctx, cooler_out_state_t out_state) |
| Cooler set output function. More...
|
|
This file contains API for Cooler Click Driver.