ezocarrierph 2.1.0.0
|
This file contains API for EZO Carrier pH Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_uart.h"
Go to the source code of this file.
Data Structures | |
struct | ezocarrierph_t |
EZO Carrier pH Click context object. More... | |
struct | ezocarrierph_cfg_t |
EZO Carrier pH Click configuration object. More... | |
Enumerations | |
enum | ezocarrierph_drv_t { EZOCARRIERPH_DRV_SEL_I2C , EZOCARRIERPH_DRV_SEL_UART } |
EZO Carrier pH Click driver selector. More... | |
enum | ezocarrierph_return_value_t { EZOCARRIERPH_OK = 0 , EZOCARRIERPH_ERROR = -1 , EZOCARRIERPH_ERROR_TIMEOUT = -2 } |
EZO Carrier pH Click return value data. More... | |
Functions | |
void | ezocarrierph_cfg_setup (ezocarrierph_cfg_t *cfg) |
EZO Carrier pH configuration object setup function. | |
void | ezocarrierph_drv_interface_sel (ezocarrierph_cfg_t *cfg, ezocarrierph_drv_t drv_sel) |
EZO Carrier pH driver interface setup function. | |
err_t | ezocarrierph_init (ezocarrierph_t *ctx, ezocarrierph_cfg_t *cfg) |
EZO Carrier pH initialization function. | |
err_t | ezocarrierph_generic_write (ezocarrierph_t *ctx, uint8_t *data_in, uint16_t len) |
EZO Carrier pH data writing function. | |
err_t | ezocarrierph_generic_read (ezocarrierph_t *ctx, uint8_t *data_out, uint16_t len) |
EZO Carrier pH data reading function. | |
void | ezocarrierph_send_cmd (ezocarrierph_t *ctx, uint8_t *cmd) |
Send command function. | |
void | ezocarrierph_send_cmd_with_par (ezocarrierph_t *ctx, uint8_t *cmd, uint8_t *param_buf) |
Send command function with parameter. | |
void | ezocarrierph_send_cmd_check (ezocarrierph_t *ctx, uint8_t *cmd) |
Check the sent command. | |
This file contains API for EZO Carrier pH Click Driver.
enum ezocarrierph_drv_t |