manometer2 2.0.0.0
|
This file contains API for Manometer 2 Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | manometer2_coef_t |
struct | manometer2_s |
Click ctx object definition. More... | |
struct | manometer2_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef struct manometer2_s | manometer2_t |
Click ctx object definition. | |
Functions | |
void | manometer2_cfg_setup (manometer2_cfg_t *cfg) |
Config Object Initialization function. | |
MANOMETER2_RETVAL | manometer2_init (manometer2_t *ctx, manometer2_cfg_t *cfg) |
Initialization function. | |
void | manometer2_default_cfg (manometer2_t *ctx) |
Click Default Configuration function. | |
void | manometer2_write_data (manometer2_t *ctx, uint8_t reg_address, uint8_t write_command) |
Generic write data function. | |
uint16_t | manometer2_read_data (manometer2_t *ctx, uint8_t reg_address) |
Generic read data function. | |
uint32_t | manometer2_read_command (manometer2_t *ctx, uint8_t reg_address) |
Generic read data function. | |
void | manometer2_reset (manometer2_t *ctx) |
Reset. | |
void | manometer2_read_coef (manometer2_t *ctx) |
Function read coeffitient. | |
float | manometer2_get_temperature (manometer2_t *ctx, uint8_t oversampling_ratio) |
Get temperature data function. | |
float | manometer2_get_pressure (manometer2_t *ctx, uint8_t oversampling_ratio) |
Get pressure data function. | |
This file contains API for Manometer 2 Click driver.