393 lines
13 KiB
C
393 lines
13 KiB
C
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
#if defined(CONFIG_HAS_DTS_I2C)
|
|
|
|
#ifndef DT_INST_0_ADI_ADT7420_LABEL
|
|
#define DT_INST_0_ADI_ADT7420_LABEL ""
|
|
#define DT_INST_0_ADI_ADT7420_BASE_ADDRESS 0
|
|
#define DT_INST_0_ADI_ADT7420_BUS_NAME ""
|
|
#define DT_INST_0_ADI_ADT7420_INT_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ADI_ADT7420_INT_GPIOS_PIN 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ADI_ADXL362_LABEL
|
|
#define DT_INST_0_ADI_ADXL362_LABEL ""
|
|
#define DT_INST_0_ADI_ADXL362_BUS_NAME ""
|
|
#define DT_INST_0_ADI_ADXL362_BASE_ADDRESS 0
|
|
#define DT_INST_0_ADI_ADXL362_INT1_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ADI_ADXL362_INT1_GPIOS_PIN 0
|
|
#define DT_INST_0_ADI_ADXL362_CS_GPIOS_CONTROLLER 0
|
|
#define DT_INST_0_ADI_ADXL362_CS_GPIOS_PIN 0
|
|
#define DT_INST_0_ADI_ADXL362_SPI_MAX_FREQUENCY 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ADI_ADXL372_LABEL
|
|
#define DT_INST_0_ADI_ADXL372_LABEL ""
|
|
#define DT_INST_0_ADI_ADXL372_BUS_NAME ""
|
|
#define DT_INST_0_ADI_ADXL372_BASE_ADDRESS 0
|
|
#define DT_INST_0_ADI_ADXL372_INT1_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ADI_ADXL372_INT1_GPIOS_PIN 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_AVAGO_APDS9960_LABEL
|
|
#define DT_INST_0_AVAGO_APDS9960_LABEL ""
|
|
#define DT_INST_0_AVAGO_APDS9960_BUS_NAME ""
|
|
#define DT_INST_0_AVAGO_APDS9960_BASE_ADDRESS 0
|
|
#define DT_INST_0_AVAGO_APDS9960_INT_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_AVAGO_APDS9960_INT_GPIOS_PIN 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_BOSCH_BME280_LABEL
|
|
#define DT_INST_0_BOSCH_BME280_LABEL ""
|
|
#define DT_INST_0_BOSCH_BME280_BASE_ADDRESS 0
|
|
#define DT_INST_0_BOSCH_BME280_BUS_NAME ""
|
|
#define DT_BOSCH_BME280_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_BOSCH_BME680_LABEL
|
|
#define DT_INST_0_BOSCH_BME680_LABEL ""
|
|
#define DT_INST_0_BOSCH_BME680_BASE_ADDRESS 0
|
|
#define DT_INST_0_BOSCH_BME680_BUS_NAME ""
|
|
#define DT_BOSCH_BME680_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_AMS_CCS811_LABEL
|
|
#define DT_INST_0_AMS_CCS811_LABEL ""
|
|
#define DT_INST_0_AMS_CCS811_BUS_NAME ""
|
|
#define DT_INST_0_AMS_CCS811_BASE_ADDRESS 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_NXP_FXAS21002_LABEL
|
|
#define DT_INST_0_NXP_FXAS21002_LABEL ""
|
|
#define DT_INST_0_NXP_FXAS21002_BASE_ADDRESS 0
|
|
#define DT_INST_0_NXP_FXAS21002_BUS_NAME ""
|
|
#define DT_INST_0_NXP_FXAS21002_INT2_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_NXP_FXAS21002_INT2_GPIOS_PIN 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_NXP_FXOS8700_LABEL
|
|
#define DT_INST_0_NXP_FXOS8700_LABEL ""
|
|
#define DT_INST_0_NXP_FXOS8700_BASE_ADDRESS 0
|
|
#define DT_INST_0_NXP_FXOS8700_BUS_NAME ""
|
|
#define DT_INST_0_NXP_FXOS8700_INT1_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_NXP_FXOS8700_INT1_GPIOS_PIN 0
|
|
#define DT_INST_0_NXP_FXOS8700_INT2_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_NXP_FXOS8700_INT2_GPIOS_PIN 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_PANASONIC_AMG88XX_LABEL
|
|
#define DT_INST_0_PANASONIC_AMG88XX_LABEL ""
|
|
#define DT_INST_0_PANASONIC_AMG88XX_BUS_NAME ""
|
|
#define DT_INST_0_PANASONIC_AMG88XX_BASE_ADDRESS 0
|
|
#define DT_INST_0_PANASONIC_AMG88XX_INT_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_PANASONIC_AMG88XX_INT_GPIOS_PIN 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_HTS221_LABEL
|
|
#define DT_INST_0_ST_HTS221_LABEL ""
|
|
#define DT_INST_0_ST_HTS221_BUS_NAME ""
|
|
#define DT_INST_0_ST_HTS221_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_HTS221_DRDY_GPIOS_PIN 0
|
|
#define DT_INST_0_ST_HTS221_DRDY_GPIOS_CONTROLLER ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS3MDL_MAGN_LABEL
|
|
#define DT_INST_0_ST_LIS3MDL_MAGN_LABEL ""
|
|
#define DT_INST_0_ST_LIS3MDL_MAGN_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS3MDL_MAGN_BASE_ADDRESS 0x19
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LPS25HB_PRESS_LABEL
|
|
#define DT_INST_0_ST_LPS25HB_PRESS_LABEL ""
|
|
#define DT_INST_0_ST_LPS25HB_PRESS_BUS_NAME ""
|
|
#define DT_INST_0_ST_LPS25HB_PRESS_BASE_ADDRESS 0x19
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM6DS0_LABEL
|
|
#define DT_INST_0_ST_LSM6DS0_LABEL ""
|
|
#define DT_INST_0_ST_LSM6DS0_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM6DS0_BASE_ADDRESS 0x19
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_MAX_MAX30101_LABEL
|
|
#define DT_INST_0_MAX_MAX30101_BUS_NAME ""
|
|
#define DT_INST_0_MAX_MAX30101_LABEL ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_SEMTECH_SX1509B_LABEL
|
|
#define DT_INST_0_SEMTECH_SX1509B_LABEL ""
|
|
#define DT_INST_0_SEMTECH_SX1509B_BASE_ADDRESS 0
|
|
#define DT_INST_0_SEMTECH_SX1509B_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM6DSL_LABEL
|
|
#define DT_INST_0_ST_LSM6DSL_LABEL ""
|
|
#define DT_INST_0_ST_LSM6DSL_BASE_ADDRESS 0x6a
|
|
#define DT_INST_0_ST_LSM6DSL_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LSM6DSL_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM6DSO_LABEL
|
|
#define DT_INST_0_ST_LSM6DSO_LABEL ""
|
|
#define DT_INST_0_ST_LSM6DSO_BASE_ADDRESS 0x6a
|
|
#define DT_INST_0_ST_LSM6DSO_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LSM6DSO_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LPS22HB_PRESS_LABEL
|
|
#define DT_INST_0_ST_LPS22HB_PRESS_LABEL ""
|
|
#define DT_INST_0_ST_LPS22HB_PRESS_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_LPS22HB_PRESS_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_VL53L0X_LABEL
|
|
#define DT_INST_0_ST_VL53L0X_LABEL ""
|
|
#define DT_INST_0_ST_VL53L0X_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_VL53L0X_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM303DLHC_MAGN_LABEL
|
|
#define DT_INST_0_ST_LSM303DLHC_MAGN_LABEL ""
|
|
#define DT_INST_0_ST_LSM303DLHC_MAGN_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM303DLHC_MAGN_BASE_ADDRESS 0x1e
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2DH_LABEL
|
|
#define DT_INST_0_ST_LIS2DH_LABEL ""
|
|
#define DT_INST_0_ST_LIS2DH_BASE_ADDRESS 0x19
|
|
#define DT_INST_0_ST_LIS2DH_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LIS2DH_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_SENSIRION_SHT3XD_LABEL
|
|
#define DT_INST_0_SENSIRION_SHT3XD_LABEL ""
|
|
#define DT_INST_0_SENSIRION_SHT3XD_ALERT_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_SENSIRION_SHT3XD_ALERT_GPIOS_FLAGS 0
|
|
#define DT_INST_0_SENSIRION_SHT3XD_ALERT_GPIOS_PIN 0
|
|
#define DT_INST_0_SENSIRION_SHT3XD_BASE_ADDRESS 0x44
|
|
#define DT_INST_0_SENSIRION_SHT3XD_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_SILABS_SI7006_LABEL
|
|
#define DT_INST_0_SILABS_SI7006_LABEL ""
|
|
#define DT_INST_0_SILABS_SI7006_BASE_ADDRESS 0x40
|
|
#define DT_INST_0_SILABS_SI7006_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_SILABS_SI7060_LABEL
|
|
#define DT_INST_0_SILABS_SI7060_LABEL ""
|
|
#define DT_INST_0_SILABS_SI7060_BASE_ADDRESS 0x00
|
|
#define DT_INST_0_SILABS_SI7060_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2DS12_LABEL
|
|
#define DT_INST_0_ST_LIS2DS12_LABEL ""
|
|
#define DT_INST_0_ST_LIS2DS12_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2DS12_BASE_ADDRESS 0x19
|
|
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LIS2DS12_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2MDL_LABEL
|
|
#define DT_INST_0_ST_LIS2MDL_LABEL ""
|
|
#define DT_INST_0_ST_LIS2MDL_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2MDL_BASE_ADDRESS 0x19
|
|
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LIS2MDL_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2DW12_LABEL
|
|
#define DT_INST_0_ST_LIS2DW12_LABEL ""
|
|
#define DT_INST_0_ST_LIS2DW12_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2DW12_BASE_ADDRESS 0x19
|
|
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LIS2DW12_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LPS22HH_LABEL
|
|
#define DT_INST_0_ST_LPS22HH_LABEL ""
|
|
#define DT_INST_0_ST_LPS22HH_BUS_NAME ""
|
|
#define DT_INST_0_ST_LPS22HH_BASE_ADDRESS 0x19
|
|
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_PIN 0
|
|
#define DT_ST_LPS22HH_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM9DS0_MFD_LABEL
|
|
#define DT_INST_0_ST_LSM9DS0_MFD_LABEL ""
|
|
#define DT_INST_0_ST_LSM9DS0_MFD_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM9DS0_MFD_BASE_ADDRESS 0x1d
|
|
#define DT_LSM9DS0_MFD_I2C_MASTER_DEV_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM9DS0_GYRO_LABEL
|
|
#define DT_INST_0_ST_LSM9DS0_GYRO_LABEL ""
|
|
#define DT_INST_0_ST_LSM9DS0_GYRO_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM9DS0_GYRO_BASE_ADDRESS 0x1d
|
|
#define DT_INST_0_ST_LSM9DS0_GYRO_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LSM9DS0_GYRO_IRQ_GPIOS_PIN 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_STTS751_LABEL
|
|
#define DT_INST_0_ST_STTS751_LABEL ""
|
|
#define DT_INST_0_ST_STTS751_BUS_NAME ""
|
|
#define DT_INST_0_ST_STTS751_BASE_ADDRESS 0x19
|
|
#define DT_INST_0_ST_STTS751_DRDY_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_STTS751_DRDY_GPIOS_PIN 0
|
|
#define DT_ST_STTS751_BUS_I2C 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_AMS_IAQCORE_LABEL
|
|
#define DT_INST_0_AMS_IAQCORE_LABEL ""
|
|
#define DT_INST_0_AMS_IAQCORE_BUS_NAME ""
|
|
#define DT_INST_0_AMS_IAQCORE_BASE_ADDRESS 0x00
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_AMS_ENS210_LABEL
|
|
#define DT_INST_0_AMS_ENS210_LABEL ""
|
|
#define DT_INST_0_AMS_ENS210_BUS_NAME ""
|
|
#define DT_INST_0_AMS_ENS210_BASE_ADDRESS 0x00
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_TI_HDC_LABEL
|
|
#define DT_INST_0_TI_HDC_LABEL ""
|
|
#define DT_INST_0_TI_HDC_BUS_NAME ""
|
|
#define DT_INST_0_TI_HDC_BASE_ADDRESS 0
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_TI_OPT3001_LABEL
|
|
#define DT_INST_0_TI_OPT3001_LABEL ""
|
|
#define DT_INST_0_TI_OPT3001_BASE_ADDRESS 0x00
|
|
#define DT_INST_0_TI_OPT3001_BUS_NAME ""
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_TI_TMP116_LABEL
|
|
#define DT_INST_0_TI_TMP116_LABEL ""
|
|
#define DT_INST_0_TI_TMP116_BASE_ADDRESS 0
|
|
#define DT_INST_0_TI_TMP116_BUS_NAME ""
|
|
#define DT_TI_TMP116_BUS_I2C 1
|
|
#endif
|
|
|
|
#endif /* CONFIG_HAS_DTS_I2C */
|
|
|
|
#ifndef DT_ADXL372_DEV_NAME
|
|
#define DT_ADXL372_DEV_NAME ""
|
|
#define DT_ADXL372_SPI_DEV_NAME ""
|
|
#define DT_ADXL372_SPI_DEV_SLAVE 0
|
|
#define DT_ADXL372_SPI_BUS_FREQ 8000000
|
|
|
|
#ifndef DT_INST_0_BOSCH_BMI160_LABEL
|
|
#define DT_INST_0_BOSCH_BMI160_LABEL ""
|
|
#define DT_INST_0_BOSCH_BMI160_BASE_ADDRESS 0
|
|
#define DT_INST_0_BOSCH_BMI160_BUS_NAME ""
|
|
#define DT_INST_0_BOSCH_BMI160_INT_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_BOSCH_BMI160_INT_GPIOS_PIN 0
|
|
#define DT_INST_0_BOSCH_BMI160_SPI_MAX_FREQUENCY 6400000
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_IIS3DHHC_LABEL
|
|
#define DT_INST_0_ST_IIS3DHHC_LABEL ""
|
|
#define DT_INST_0_ST_IIS3DHHC_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_IIS3DHHC_BUS_NAME ""
|
|
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_CONTROLLER_0 ""
|
|
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_PIN_0 0
|
|
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_CONTROLLER_1 ""
|
|
#define DT_INST_0_ST_IIS3DHHC_IRQ_GPIOS_PIN_1 0
|
|
#define DT_INST_0_ST_IIS3DHHC_SPI_MAX_FREQUENCY 6400000
|
|
#define DT_ST_IIS3DHHC_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2DH_LABEL
|
|
#define DT_INST_0_ST_LIS2DH_LABEL ""
|
|
#define DT_INST_0_ST_LIS2DH_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_LIS2DH_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2DH_IRQ_GPIOS_PIN 0
|
|
#define DT_INST_0_ST_LIS2DH_SPI_MAX_FREQUENCY 6400000
|
|
#define DT_ST_LIS2DH_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM6DSL_LABEL
|
|
#define DT_INST_0_ST_LSM6DSL_LABEL ""
|
|
#define DT_INST_0_ST_LSM6DSL_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_LSM6DSL_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LSM6DSL_IRQ_GPIOS_PIN 0
|
|
#define DT_INST_0_ST_LSM6DSL_SPI_MAX_FREQUENCY 6400000
|
|
#define DT_ST_LSM6DSL_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LSM6DSO_LABEL
|
|
#define DT_INST_0_ST_LSM6DSO_LABEL ""
|
|
#define DT_INST_0_ST_LSM6DSO_BASE_ADDRESS 0
|
|
#define DT_INST_0_ST_LSM6DSO_BUS_NAME ""
|
|
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LSM6DSO_IRQ_GPIOS_PIN 0
|
|
#define DT_INST_0_ST_LSM6DSO_SPI_MAX_FREQUENCY 6400000
|
|
#define DT_ST_LSM6DSO_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2DS12_LABEL
|
|
#define DT_INST_0_ST_LIS2DS12_LABEL ""
|
|
#define DT_INST_0_ST_LIS2DS12_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2DS12_SPI_MAX_FREQUENCY 100000
|
|
#define DT_INST_0_ST_LIS2DS12_BASE_ADDRESS 1
|
|
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2DS12_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LIS2DS12_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2DW12_LABEL
|
|
#define DT_INST_0_ST_LIS2DW12_LABEL ""
|
|
#define DT_INST_0_ST_LIS2DW12_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2DW12_SPI_MAX_FREQUENCY 100000
|
|
#define DT_INST_0_ST_LIS2DW12_BASE_ADDRESS 1
|
|
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2DW12_IRQ_GPIOS_PIN 0
|
|
#define DT_ST_LIS2DW12_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LIS2MDL_LABEL
|
|
#define DT_INST_0_ST_LIS2MDL_LABEL ""
|
|
#define DT_INST_0_ST_LIS2MDL_BUS_NAME ""
|
|
#define DT_INST_0_ST_LIS2MDL_SPI_MAX_FREQUENCY 100000
|
|
#define DT_INST_0_ST_LIS2MDL_BASE_ADDRESS 1
|
|
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LIS2MDL_IRQ_GPIOS_PIN 0
|
|
#define DT_INST_0_ST_LIS2MDL_CS_GPIOS_CONTROLLER 0
|
|
#define DT_INST_0_ST_LIS2MDL_CS_GPIOS_PIN 0
|
|
#define DT_ST_LIS2MDL_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_ST_LPS22HH_LABEL
|
|
#define DT_INST_0_ST_LPS22HH_LABEL ""
|
|
#define DT_INST_0_ST_LPS22HH_BUS_NAME ""
|
|
#define DT_INST_0_ST_LPS22HH_SPI_MAX_FREQUENCY 100000
|
|
#define DT_INST_0_ST_LPS22HH_BASE_ADDRESS 1
|
|
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_ST_LPS22HH_DRDY_GPIOS_PIN 0
|
|
#define DT_ST_LPS22HH_BUS_SPI 1
|
|
#endif
|
|
|
|
#ifndef DT_INST_0_MICROCHIP_ENC28J60_LABEL
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_BASE_ADDRESS 0
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_BUS_NAME ""
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_INT_GPIOS_CONTROLLER ""
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_INT_GPIOS_FLAGS 0
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_INT_GPIOS_PIN 0
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_LABEL ""
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_LOCAL_MAC_ADDRESS {0, 0, 0, 0, 0, 0}
|
|
#define DT_INST_0_MICROCHIP_ENC28J60_SPI_MAX_FREQUENCY 0
|
|
#endif
|
|
|
|
#endif /* CONFIG_HAS_DTS_SPI */
|