18#ifndef DS3231_PARAMS_H
19#define DS3231_PARAMS_H
29#ifndef DS3231_PARAM_I2C
30#define DS3231_PARAM_I2C I2C_DEV(0)
32#ifndef DS3231_PARAM_OPT
33#define DS3231_PARAM_OPT (DS3231_OPT_BAT_ENABLE)
35#ifndef DS3231_PARAM_INT_PIN
36#define DS3231_PARAM_INT_PIN (GPIO_UNDEF)
40#if IS_USED(MODULE_DS3231_INT)
41#define DS3231_PARAMS { .bus = DS3231_PARAM_I2C, \
42 .opt = DS3231_PARAM_OPT, \
43 .int_pin = DS3231_PARAM_INT_PIN}
45#define DS3231_PARAMS { .bus = DS3231_PARAM_I2C, \
46 .opt = DS3231_PARAM_OPT}
static const ds3231_params_t ds3231_params[]
DS3231 configuration.
Set of configuration parameters for DS3231 devices.