|
void | ph2_cfg_setup (ph2_cfg_t *cfg) |
| pH 2 configuration object setup function. More...
|
|
void | ph2_drv_interface_selection (ph2_cfg_t *cfg, ph2_drv_t drv_sel) |
| pH 2 driver interface setup function. More...
|
|
err_t | ph2_init (ph2_t *ctx, ph2_cfg_t *cfg) |
| pH 2 initialization function. More...
|
|
err_t | ph2_read_raw_adc (ph2_t *ctx, uint16_t *raw_adc) |
| pH 2 read raw ADC value function. More...
|
|
err_t | ph2_read_voltage (ph2_t *ctx, float *voltage) |
| pH 2 read voltage level function. More...
|
|
err_t | ph2_set_vref (ph2_t *ctx, float vref) |
| pH 2 set vref function. More...
|
|
err_t | ph2_calibrate (ph2_t *ctx, float pH_value) |
| Ph 2 calibrate function. More...
|
|
err_t | ph2_calculate_ph (ph2_t *ctx, float *pH_value) |
| Ph 2 calculate pH value function. More...
|
|
void | ph2_calibrate_offset (ph2_t *ctx) |
| Ph 2 calibrate offset function. More...
|
|
void | ph2_enable_st1 (ph2_t *ctx) |
| Ph 2 enable LED STAT1 function. More...
|
|
void | ph2_disable_st1 (ph2_t *ctx) |
| Ph 2 disable LED STAT1 function. More...
|
|
void | ph2_enable_st2 (ph2_t *ctx) |
| Ph 2 enable LED STAT2 function. More...
|
|
void | ph2_disable_st2 (ph2_t *ctx) |
| Ph 2 disable LED STAT2 function. More...
|
|
err_t | ph2_ds18b20_init (ph2_t *ctx, ph2_cfg_t *cfg) |
| pH 2 DS18B20 initialization function. More...
|
|
err_t | ph2_ds18b20_check_communication (ph2_t *ctx) |
| pH 2 DS18B20 check communication function. More...
|
|
err_t | ph2_ds18b20_select_device (ph2_t *ctx) |
| pH 2 DS18B20 select device function. More...
|
|
err_t | ph2_ds18b20_read_scratchpad (ph2_t *ctx, uint8_t *scratchpad) |
| pH 2 DS18B20 read scratchpad function. More...
|
|
err_t | ph2_ds18b20_write_scratchpad (ph2_t *ctx, uint8_t temp_high, uint8_t temp_low, uint8_t config) |
| pH 2 DS18B20 write scratchpad function. More...
|
|
err_t | ph2_ds18b20_default_cfg (ph2_t *ctx) |
| pH 2 DS18B20 default configuration function. More...
|
|
err_t | ph2_ds18b20_start_measurement (ph2_t *ctx) |
| pH 2 DS18B20 start measurement function. More...
|
|
err_t | ph2_ds18b20_read_temperature (ph2_t *ctx, float *temperature) |
| pH 2 DS18B20 read temperature function. More...
|
|
This file contains API for pH 2 Click Driver.