 |
NHS31xx SW API
|
12 #ifndef __UCODE_DFT_H_ 13 #define __UCODE_DFT_H_ 50 #define UCODE_I2C_HW 1 59 #define UCODE_I2C_BB 0 62 #if UCODE_I2C_HW && UCODE_I2C_BB 63 #error Only one of UCODE_I2C_HW and UCODE_I2C_BB may be set to a non-zero value. 65 #if !UCODE_I2C_HW && !UCODE_I2C_BB 66 #error One of UCODE_I2C_HW and UCODE_I2C_BB must be set to a non-zero value. 69 #ifndef UCODE_I2C_POWER_PIN 74 #define UCODE_I2C_POWER_PIN 6 77 #ifndef UCODE_I2C_SLAVE_ADDRESS 86 #define UCODE_I2C_SLAVE_ADDRESS 0x51 89 #if !UCODE_PULLUP_COUNT && !defined(UCODE_PULLUPS) 94 #define UCODE_PULLUP_COUNT 0 101 #define UCODE_PULLUPS NULL 102 #elif UCODE_PULLUP_COUNT && defined(UCODE_PULLUPS) 105 #error Both UCODE_PULLUP_COUNT and UCODE_PULLUPS must be both defined or undefined. 106 #error Define UCODE_PULLUPS as an array of type uint32_t and size UCODE_PULLUP_COUNT. 109 #ifndef UCODE_EVENT_PRISTINE 115 #define UCODE_EVENT_PRISTINE 1