![]() |
NHS31xx SW API
|
These 'defines' capture the diversity settings of the module. The displayed values refer to the default settings. To override the default settings, place the defines with their desired values in the board board_sel.h header file. The compiler will pick up your defines before parsing this file.
Macros | |
#define | HUMID_CHIP_HTU21D 1 |
#define | HUMID_CHIP_SHTC3 0 |
#define | HUMID_I2C_HW 1 |
#define | HUMID_I2C_BB 0 |
#define | HUMID_POWER_PIN 6 |
#define | HUMID_PULLUP_COUNT 0 |
#define | HUMID_PULLUPS NULL |
#define HUMID_CHIP_HTU21D 1 |
Sensor chip selection for the HTU21D(F) RH/T SENSOR IC - Digital Relative Humidity sensor with Temperature output from TYCO ELECTRONICS. This option is mutually exclusive with HUMID_CHIP_SHTC3: exactly one must be non-zero. Set this to a non-zero value if the board has this sensor stuffed and if the firmware must address this sensor.
#define HUMID_CHIP_SHTC3 0 |
Sensor chip selection for the SHTC3 - Humidity and Temperature Sensor IC from SENSIRION This option is mutually exclusive with HUMID_CHIP_HTU21D: exactly one must be non-zero. Set this to a non-zero value if the board has this sensor stuffed and if the firmware must address this sensor.
#define HUMID_I2C_HW 1 |
Bus interface selection. This option is mutually exclusive with HUMID_I2C_BB: exactly one must be defined. When set to a non-zero value the I2C HW block will be used by this module for I2C communication.
#define HUMID_I2C_BB 0 |
Bus interface selection. This option is mutually exclusive with HUMID_I2C_HW: exactly one must be defined. When set to a non-zero value the i2cbbm module will be used by this module for I2C communication.
#define HUMID_POWER_PIN 6 |
The IOCON pin number that is used to power the humidity sensor. This pin on the NHS3100 is connected with the supply pin VDD on the humidity sensor.
#define HUMID_PULLUP_COUNT 0 |
The number of GPIO's that are used as pull-up for the I2C lines. Must match the length of HUMID_PULLUPS.
#define HUMID_PULLUPS NULL |
The GPIO's used as pull-up for the I2C lines. Refers to an array of type uint32_t with size HUMID_PULLUP_COUNT.