pressure 2.0.0.0

Data Structures

struct  pressure_s
 Click context object definition. More...
 
struct  pressure_cfg_t
 Click configuration structure definition. More...
 

Typedefs

typedef void(* pressure_master_transfer_t) (struct pressure_s *, uint8_t, uint8_t *, uint8_t)
 Click master transfer function definition.
 
typedef struct pressure_s pressure_t
 Click context object definition.
 

Enumerations

enum  pressure_err_t { PRESSURE_OK = 0x0 , PRESSURE_ERR_INIT_DRV = 0xFD , PRESSURE_ERR_ADDR , PRESSURE_ERR_NDATA }
 Click error code definition. More...
 
enum  pressure_drv_select_t { PRESSURE_DRV_SEL_I2C = 0 , PRESSURE_DRV_SEL_SPI }
 Click driver selector definition. More...
 
enum  pressure_odr_t {
  PRESSURE_ODR_ONE_SHOT = 0 , PRESSURE_ODR_P1HZ_T1HZ , PRESSURE_ODR_P7HZ_T1HZ , PRESSURE_ODR_P12HZ_T1HZ ,
  PRESSURE_ODR_P25HZ_T1HZ , PRESSURE_ODR_P7HZ_T7HZ , PRESSURE_ODR_P12HZ_T12HZ , PRESSURE_ODR_P25HZ_T25HZ
}
 Click output data rate definition. More...
 
enum  pressure_pwr_ctrl_t { PRESSURE_PWR_DOWN = 0 , PRESSURE_PWR_UP }
 Click power control definition. More...
 

Detailed Description

Typedef Documentation

◆ pressure_master_transfer_t

typedef void(* pressure_master_transfer_t) (struct pressure_s *, uint8_t, uint8_t *, uint8_t)

Click master transfer function definition.

◆ pressure_t

typedef struct pressure_s pressure_t

Click context object definition.

Enumeration Type Documentation

◆ pressure_drv_select_t

Click driver selector definition.

Enumerator
PRESSURE_DRV_SEL_I2C 
PRESSURE_DRV_SEL_SPI 

◆ pressure_err_t

Click error code definition.

Enumerator
PRESSURE_OK 
PRESSURE_ERR_INIT_DRV 
PRESSURE_ERR_ADDR 
PRESSURE_ERR_NDATA 

◆ pressure_odr_t

Click output data rate definition.

Enumerator
PRESSURE_ODR_ONE_SHOT 
PRESSURE_ODR_P1HZ_T1HZ 
PRESSURE_ODR_P7HZ_T1HZ 
PRESSURE_ODR_P12HZ_T1HZ 
PRESSURE_ODR_P25HZ_T1HZ 
PRESSURE_ODR_P7HZ_T7HZ 
PRESSURE_ODR_P12HZ_T12HZ 
PRESSURE_ODR_P25HZ_T25HZ 

◆ pressure_pwr_ctrl_t

Click power control definition.

Enumerator
PRESSURE_PWR_DOWN 
PRESSURE_PWR_UP