19#ifndef DS3234_PARAMS_H
20#define DS3234_PARAMS_H
33#ifndef DS3234_PARAM_SPI
34#define DS3234_PARAM_SPI (SPI_DEV(0))
36#ifndef DS3234_PARAM_CS
37#define DS3234_PARAM_CS (GPIO_PIN(0, 0))
39#ifndef DS3234_PARAM_CLK
40#define DS3234_PARAM_CLK (SPI_CLK_1MHZ)
43#define DS3234_PARAMS \
45 .spi = DS3234_PARAM_SPI, \
46 .cs = DS3234_PARAM_CS, \
47 .clk = DS3234_PARAM_CLK, \
static const ds3234_params_t ds3234_params[]
Configure DS3234 devices.
Parameters for the DS3234 device driver.