Settings for registers of Air Quality 9 Click driver.
More...
Settings for registers of Air Quality 9 Click driver.
◆ AIRQUALITY9_AQI_UBA_EXELLENT
#define AIRQUALITY9_AQI_UBA_EXELLENT 1 |
Air Quality 9 AQI-UBA rating values.
Specified AQI-UBA rating values of Air Quality 9 Click driver.
◆ AIRQUALITY9_AQI_UBA_GOOD
#define AIRQUALITY9_AQI_UBA_GOOD 2 |
◆ AIRQUALITY9_AQI_UBA_MODERATE
#define AIRQUALITY9_AQI_UBA_MODERATE 3 |
◆ AIRQUALITY9_AQI_UBA_POOR
#define AIRQUALITY9_AQI_UBA_POOR 4 |
◆ AIRQUALITY9_AQI_UBA_UNHEALTHY
#define AIRQUALITY9_AQI_UBA_UNHEALTHY 5 |
◆ AIRQUALITY9_DEVICE_ADDRESS_0
#define AIRQUALITY9_DEVICE_ADDRESS_0 0x52 |
Air Quality 9 device address setting.
Specified setting for device slave address selection of Air Quality 9 Click driver.
◆ AIRQUALITY9_DEVICE_ADDRESS_1
#define AIRQUALITY9_DEVICE_ADDRESS_1 0x53 |
◆ AIRQUALITY9_OPMODE_DEEP_SLEEP
#define AIRQUALITY9_OPMODE_DEEP_SLEEP 0x00 |
Air Quality 9 operating mode settings.
Specified operating mode settings of Air Quality 9 Click driver.
◆ AIRQUALITY9_OPMODE_IDLE
#define AIRQUALITY9_OPMODE_IDLE 0x01 |
◆ AIRQUALITY9_OPMODE_RESET
#define AIRQUALITY9_OPMODE_RESET 0xF0 |
◆ AIRQUALITY9_OPMODE_STANDARD
#define AIRQUALITY9_OPMODE_STANDARD 0x02 |
◆ AIRQUALITY9_PART_ID_LSB
#define AIRQUALITY9_PART_ID_LSB 0x60 |
Air Quality 9 part ID value.
Specified part ID value of Air Quality 9 Click driver.
◆ AIRQUALITY9_PART_ID_MSB
#define AIRQUALITY9_PART_ID_MSB 0x01 |
◆ AIRQUALITY9_SET_DATA_SAMPLE_EDGE
Data sample selection.
This macro sets data samples for SPI modules.
- Note
- Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with airquality9_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.
◆ AIRQUALITY9_SET_DATA_SAMPLE_MIDDLE
◆ AIRQUALITY_CONFIG_INTCFG_OPEN_DRAIN
#define AIRQUALITY_CONFIG_INTCFG_OPEN_DRAIN 0x00 |
◆ AIRQUALITY_CONFIG_INTCFG_PUSH_PULL
#define AIRQUALITY_CONFIG_INTCFG_PUSH_PULL 0x20 |
◆ AIRQUALITY_CONFIG_INTDAT_BIT
#define AIRQUALITY_CONFIG_INTDAT_BIT 0x02 |
◆ AIRQUALITY_CONFIG_INTEN_BIT
#define AIRQUALITY_CONFIG_INTEN_BIT 0x01 |
◆ AIRQUALITY_CONFIG_INTGPR_BIT
#define AIRQUALITY_CONFIG_INTGPR_BIT 0x08 |
◆ AIRQUALITY_CONFIG_INTPOL_HIGH
#define AIRQUALITY_CONFIG_INTPOL_HIGH 0x40 |
◆ AIRQUALITY_CONFIG_INTPOL_LOW
#define AIRQUALITY_CONFIG_INTPOL_LOW 0x00 |
Air Quality 9 interrupt config register settings.
Specified interrupt config register settings of Air Quality 9 Click driver.
◆ AIRQUALITY_STATUS_ERROR_DETECTED
#define AIRQUALITY_STATUS_ERROR_DETECTED 0x40 |
◆ AIRQUALITY_STATUS_NEW_DATA
#define AIRQUALITY_STATUS_NEW_DATA 0x02 |
◆ AIRQUALITY_STATUS_NEW_GPR
#define AIRQUALITY_STATUS_NEW_GPR 0x01 |
◆ AIRQUALITY_STATUS_OPMODE_RUNNING
#define AIRQUALITY_STATUS_OPMODE_RUNNING 0x80 |
Air Quality 9 data status register values.
Specified data status register values of Air Quality 9 Click driver.
◆ AIRQUALITY_STATUS_VALID_FLAG_BITS
#define AIRQUALITY_STATUS_VALID_FLAG_BITS 0x0C |
◆ AIRQUALITY_STATUS_VALID_INIT_START_UP
#define AIRQUALITY_STATUS_VALID_INIT_START_UP 0x08 |
◆ AIRQUALITY_STATUS_VALID_INVALID
#define AIRQUALITY_STATUS_VALID_INVALID 0x0C |
◆ AIRQUALITY_STATUS_VALID_NORMAL_OP
#define AIRQUALITY_STATUS_VALID_NORMAL_OP 0x00 |
◆ AIRQUALITY_STATUS_VALID_WARM_UP
#define AIRQUALITY_STATUS_VALID_WARM_UP 0x04 |