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.
|
#define | SDP3X_ADDR1 (0x21) /* 7 bit address */ |
|
#define | SDP3X_ADDR2 (0x22) /* 7 bit address */ |
|
#define | SDP3X_ADDR3 (0x23) /* 7 bit address */ |
|
|
#define | SDP3X_MODEL_31 1 |
|
#define | SDP3X_MODEL_32 2 |
|
#define | SDP31_PRODUCT_NO_BYTE_0 0x03 |
|
#define | SDP31_PRODUCT_NO_BYTE_1 0x01 |
|
#define | SDP31_PRODUCT_NO_BYTE_3 0x01 |
|
|
#define | SDP3X_PARAM_I2C_DEV I2C_DEV(0) |
|
#define | SDP3X_PARAM_I2C_ADDR SDP3X_ADDR1 |
|
#define | SDP3X_PARAM_IRQ_PIN GPIO_UNDEF |
|
#define | SDP3X_PARAMS |
|
#define | SDP3X_SAUL_INFO { .name = "sdp3x" } |
|
◆ 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_params
◆ sdp3x_saul_info
Initial value:
Configure SAUL registry entries.
Definition at line 96 of file sdp3x_params.h.