Device driver params interface for the SDP3x sensor.
More...
#include "board.h"
#include "sdp3x.h"
#include "saul_reg.h"
#include "periph/gpio.h"
Go to the source code of this file.
◆ SDP31_PRODUCT_NO_BYTE_0
#define SDP31_PRODUCT_NO_BYTE_0 0x03 |
◆ SDP31_PRODUCT_NO_BYTE_1
#define SDP31_PRODUCT_NO_BYTE_1 0x01 |
◆ SDP31_PRODUCT_NO_BYTE_3
#define SDP31_PRODUCT_NO_BYTE_3 0x01 |
◆ SDP3X_ADDR1
#define SDP3X_ADDR1 (0x21) /* 7 bit address */ |
◆ SDP3X_ADDR2
#define SDP3X_ADDR2 (0x22) /* 7 bit address */ |
◆ SDP3X_ADDR3
#define SDP3X_ADDR3 (0x23) /* 7 bit address */ |
◆ SDP3X_MODEL_31
◆ SDP3X_MODEL_32
◆ SDP3X_NUMOF
Get the number of configured SDP3X devices.
Definition at line 91 of file sdp3x_params.h.
◆ SDP3X_PARAM_I2C_ADDR
#define SDP3X_PARAM_I2C_ADDR SDP3X_ADDR1 |
◆ SDP3X_PARAM_I2C_DEV
#define SDP3X_PARAM_I2C_DEV I2C_DEV(0) |
◆ SDP3X_PARAM_IRQ_PIN
◆ SDP3X_PARAMS
Value: { .i2c_dev = SDP3X_PARAM_I2C_DEV, \
.i2c_addr = SDP3X_PARAM_I2C_ADDR, \
.irq_pin = SDP3X_PARAM_IRQ_PIN }
Definition at line 69 of file sdp3x_params.h.
◆ SDP3X_SAUL_INFO
#define SDP3X_SAUL_INFO { .name = "sdp3x" } |
◆ sdp3x_params
◆ sdp3x_saul_info
Initial value:
Configure SAUL registry entries.
Definition at line 96 of file sdp3x_params.h.