ZMOD4510 Ultra-Low Power Ozone Firmware Documentation
zmod4xxx_types.h File Reference

zmod4xxx types More...

Go to the source code of this file.

Data Structures

struct  zmod4xxx_conf_str
 A single data set for the configuration. More...
 
struct  zmod4xxx_conf
 Structure to hold the gas sensor module configuration. More...
 
struct  zmod4xxx_dev_t
 Device structure ZMOD4xxx. More...
 

Typedefs

typedef int8_t(* zmod4xxx_i2c_ptr_t) (uint8_t addr, uint8_t reg_addr, uint8_t *data_buf, uint8_t len)
 function pointer type for i2c access More...
 
typedef void(* zmod4xxx_delay_ptr_p) (uint32_t ms)
 function pointer to hardware dependent delay function More...
 

Enumerations

enum  zmod4xxx_err {
  ZMOD4XXX_OK = 0, ERROR_INIT_OUT_OF_RANGE, ERROR_GAS_TIMEOUT, ERROR_I2C = -3,
  ERROR_SENSOR_UNSUPPORTED, ERROR_CONFIG_MISSING, ERROR_ACCESS_CONFLICT, ERROR_POR_EVENT,
  ERROR_CLEANING, ERROR_NULL_PTR
}
 error_codes Error codes More...