|
void | hvac_cfg_setup (hvac_cfg_t *cfg) |
| HVAC configuration object setup function.
|
|
err_t | hvac_init (hvac_t *ctx, hvac_cfg_t *cfg) |
| HVAC initialization function.
|
|
err_t | hvac_generic_write (hvac_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
| HVAC I2C writing function.
|
|
err_t | hvac_generic_read (hvac_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
| HVAC I2C reading function.
|
|
err_t | hvac_scd40_write_data (hvac_t *ctx, uint16_t reg, uint16_t tx_data) |
| SCD40 generic write data function.
|
|
err_t | hvac_scd40_read_data (hvac_t *ctx, uint16_t reg, uint16_t *rx_data) |
| SCD40 generic read data function.
|
|
void | hvac_scd40_send_cmd (hvac_t *ctx, uint16_t cmd) |
| SCD40 send command function.
|
|
void | hvac_scd40_read_measurement (hvac_t *ctx, measuremen_data_t *m_data) |
| SCD40 read measurement function.
|
|
void | hvac_scd40_get_serial_number (hvac_t *ctx, uint16_t *serial_number) |
| SCD40 get serial number function.
|
|
void | hvac_scd40_get_feature_set_version (hvac_t *ctx, feature_data_t *f_data) |
| SCD40 get feature set version function.
|
|
void | hvac_scd40_set_temperature_offset (hvac_t *ctx, float temp_offset) |
| SCD40 set temperature offset function.
|
|
float | hvac_scd40_get_temperature_offset (hvac_t *ctx) |
| SCD40 get temperature offset function.
|
|
err_t | hvac_sps30_i2c_write_data (hvac_t *ctx, uint16_t reg, uint16_t tx_data) |
| SPS30 generic write data function.
|
|
err_t | hvac_sps30_i2c_read_data (hvac_t *ctx, uint16_t reg, uint16_t *rx_data) |
| SPS30 generic read data function.
|
|
void | hvac_sps30_start_measurement (hvac_t *ctx) |
| SPS30 start measurement command function.
|
|
void | hvac_sps30_stop_measurement (hvac_t *ctx) |
| SPS30 stop measurement command function.
|
|
void | hvac_sps30_device_reset (hvac_t *ctx) |
| SPS30 set device reset function.
|
|
uint8_t | hvac_sps30_get_ready_flag (hvac_t *ctx) |
| SPS30 get ready flag function.
|
|
void | hvac_sps30_read_measured_data (hvac_t *ctx, mass_and_num_cnt_data_t *m_n_c_data) |
| SPS30 read measured data function.
|
|
This file contains API for HVAC Click Driver.