|
void | press_cfg_setup (press_cfg_t *cfg) |
| PRESS configuration object setup function.
|
|
err_t | press_init (press_t *ctx, press_cfg_t *cfg) |
| PRESS initialization function.
|
|
err_t | press_default_cfg (press_t *ctx) |
| PRESS default configuration function.
|
|
err_t | press_generic_write (press_t *ctx, uint8_t reg, uint8_t *data_in, uint8_t len) |
| PRESS I2C writing function.
|
|
err_t | press_generic_read (press_t *ctx, uint8_t reg, uint8_t *data_out, uint8_t len) |
| PRESS I2C reading function.
|
|
err_t | press_reg_write (press_t *ctx, uint8_t reg, uint8_t data_in) |
| PRESS I2C register writing function.
|
|
err_t | press_reg_read (press_t *ctx, uint8_t reg, uint8_t *data_out) |
| PRESS I2C register reading function.
|
|
err_t | press_sw_reset (press_t *ctx) |
| PRESS software reset function.
|
|
err_t | press_config_ah_qvar (press_t *ctx, uint8_t ah_qvar_en) |
| PRESS config AH and Qva function.
|
|
err_t | press_get_raw_data (press_t *ctx, uint32_t *press_data, uint32_t *qvar_data, uint16_t *temp_data) |
| PRESS gets the raw data function.
|
|
err_t | press_get_measurement_data (press_t *ctx, float *pressure, float *temperature) |
| PRESS gets the measurement data function.
|
|
err_t | press_get_ah_qvar_data (press_t *ctx, float *ah_qvar) |
| PRESS gets the AH/Qvar data function.
|
|
This file contains API for PRESS Click Driver.