pressure7 2.0.0.0
|
This file contains API for Pressure 7 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 | pressure7_t |
Click ctx object definition. More... | |
struct | pressure7_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | pressure7_cfg_setup (pressure7_cfg_t *cfg) |
Config Object Initialization function. | |
PRESSURE7_RETVAL | pressure7_init (pressure7_t *ctx, pressure7_cfg_t *cfg) |
Initialization function. | |
void | pressure7_default_cfg (pressure7_t *ctx) |
Click Default Configuration function. | |
void | pressure7_generic_read (pressure7_t *ctx, uint8_t reg_addr, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
void | pressure7_send_command (pressure7_t *ctx, uint8_t cmd) |
Send command to click. | |
void | pressure7_reset (pressure7_t *ctx) |
Start reset sequence. | |
uint8_t | pressure7_read_prom (pressure7_t *ctx) |
Read calibration data from PROM. | |
void | pressure7_start_measurement (pressure7_t *ctx) |
Start measurement and calculation data. | |
void | pressure7_get_sensor_data (pressure7_t *ctx, float *Temperature, float *Pressure) |
Read Pressure and Temperature data. | |
void | pressure7_set_over_sampling_ratio (uint8_t osr_d1, uint8_t osr_d2) |
Set OSR(Over sampling ratio) for Pressure(D1) and Temperature(D2) data. | |
This file contains API for Pressure 7 Click driver.