19#ifndef HM330X_PARAMS_H
20#define HM330X_PARAMS_H
39#ifndef HM330X_PARAM_I2C_DEV
40#define HM330X_PARAM_I2C_DEV I2C_DEV(0)
45#ifndef HM330X_PARAM_RESET_PIN
46#define HM330X_PARAM_RESET_PIN GPIO_UNDEF
51#ifndef HM330X_PARAM_SET_PIN
52#define HM330X_PARAM_SET_PIN GPIO_UNDEF
57#ifndef HM330X_SAUL_INFO
58#define HM330X_SAUL_INFO { .name = "hm330x" }
64#define HM330X_PARAMS { .i2c = HM330X_PARAM_I2C_DEV, \
65 .reset_pin = HM330X_PARAM_RESET_PIN, \
66 .set_pin = HM330X_PARAM_SET_PIN }
81#define HM330X_NUMOF ARRAY_SIZE(hm330x_params)
94#define HM330X_INFO_NUM ARRAY_SIZE(hm330x_saul_info)
Internal addresses, registers and constants.
static const saul_reg_info_t hm330x_saul_info[]
Additional meta information to keep in the SAUL registry.
#define HM330X_SAUL_INFO
HM330X default SAUL information.
static const hm330x_params_t hm330x_params[]
Configuration struct.
#define HM330X_PARAMS
HM330X default parameters.
SAUL registry interface definition.
Device initialization parameters.
Additional data to collect for each entry.