pressure17 2.0.0.0
|
This file contains API for Pressure 17 Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | pressure17_t |
Pressure 17 Click context object. More... | |
struct | pressure17_cfg_t |
Pressure 17 Click configuration object. More... | |
Enumerations | |
enum | pressure17_return_value_t { PRESSURE17_OK = 0 , PRESSURE17_ERROR = -1 } |
Pressure 17 Click return value data. More... | |
Functions | |
void | pressure17_cfg_setup (pressure17_cfg_t *cfg) |
Pressure 17 configuration object setup function. | |
err_t | pressure17_init (pressure17_t *ctx, pressure17_cfg_t *cfg) |
Pressure 17 initialization function. | |
err_t | pressure17_default_cfg (pressure17_t *ctx) |
Pressure 17 default configuration function. | |
err_t | pressure17_generic_write (pressure17_t *ctx, uint8_t reg, uint8_t *tx_buf, uint8_t tx_len) |
Pressure 17 I2C writing function. | |
err_t | pressure17_generic_read (pressure17_t *ctx, uint8_t reg, uint8_t *rx_buf, uint8_t rx_len) |
Pressure 17 I2C reading function. | |
err_t | pressure17_write_register (pressure17_t *ctx, uint8_t reg, uint8_t data_in) |
Pressure 17 write register function. | |
err_t | pressure17_read_register (pressure17_t *ctx, uint8_t reg, uint8_t *data_out) |
Pressure 17 read register function. | |
err_t | pressure17_check_communication (pressure17_t *ctx) |
Pressure 17 check communication function. | |
err_t | pressure17_read_data (pressure17_t *ctx, float *pressure, float *temperature) |
Pressure 17 read data function. | |
uint8_t | pressure17_get_int_pin (pressure17_t *ctx) |
Pressure 17 get int pin function. | |
This file contains API for Pressure 17 Click Driver.