![]() |
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 application app_sel.h header file: the compiler will pick up your defines before parsing this file.
Macros | |
#define | TMEAS_KELVIN 0 |
#define | TMEAS_CELSIUS 1 |
#define | TMEAS_FAHRENHEIT 0 |
#define | TMEAS_SENSOR_CORRECTION 1 |
#define | TMEAS_CB application function of type pTMeas_Cb_t |
#define TMEAS_KELVIN 0 |
Set this define to 1 to enable the format TMEAS_FORMAT_KELVIN
#define TMEAS_CELSIUS 1 |
Set this define to 0 to disable the format TMEAS_FORMAT_CELSIUS
#define TMEAS_FAHRENHEIT 0 |
Set this define to 1 to enable the format TMEAS_FORMAT_FAHRENHEIT
#define TMEAS_SENSOR_CORRECTION 1 |
Set this define to 0 to disable the temperature sensor correction (enabled by default). If, for your IC revision, the correction is applied straight in the TSEN calibration parameters, it must be set to 0. Otherwise, it must be left at default value (1).
#define TMEAS_CB application function of type pTMeas_Cb_t |
By default, only synchronous measurements are enabled. To enable asynchronous measurements, where the main thread execution continues and the measurement will be reported later under interrupt by calling a callback function, define that callback function here. Set this define to the function to be called.