pressure11 2.0.0.0
|
This file contains API for PRESSURE 11 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 | pressure11_s |
Click ctx object definition. More... | |
struct | pressure11_cfg_t |
Click configuration structure definition. More... | |
Typedefs | |
typedef uint8_t | pressure11_select_t |
Communication type. | |
typedef void(* | pressure11_master_io_t) (struct pressure11_s *, uint8_t, uint8_t *, uint8_t) |
Master Input/Output type. | |
typedef struct pressure11_s | pressure11_t |
Click ctx object definition. | |
Functions | |
void | pressure11_cfg_setup (pressure11_cfg_t *cfg) |
Config Object Initialization function. | |
PRESSURE11_RETVAL | pressure11_init (pressure11_t *ctx, pressure11_cfg_t *cfg) |
Initialization function. | |
void | pressure11_generic_write (pressure11_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic write function. | |
void | pressure11_generic_read (pressure11_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len) |
Generic read function. | |
uint8_t | pressure11_check_id (pressure11_t *ctx) |
Functions for cheking commuincation with the chip and checking its ID. | |
float | pressure11_get_temperature (pressure11_t *ctx) |
Functions for temperature reading. | |
float | pressure11_get_pressure (pressure11_t *ctx) |
Functions for pressure reading. | |
uint8_t | pressure11_get_interrupt (pressure11_t *ctx) |
Functions for read int pin. | |
This file contains API for PRESSURE 11 Click driver.