Loading...
Searching...
No Matches
ds3231_params.h File Reference

Default configuration for DS3231 devices. More...

Detailed Description

Default configuration for DS3231 devices.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file ds3231_params.h.

Go to the source code of this file.

Variables

static const ds3231_params_t ds3231_params []
 DS3231 configuration.
 

Default configuration parameters for the DS3231 driver

#define DS3231_PARAM_I2C   I2C_DEV(0)
 
#define DS3231_PARAM_OPT   (DS3231_OPT_BAT_ENABLE)
 
#define DS3231_PARAM_INT_PIN   (GPIO_UNDEF)
 Interrupt pin.
 
#define DS3231_PARAMS
 

Macro Definition Documentation

◆ DS3231_PARAM_I2C

#define DS3231_PARAM_I2C   I2C_DEV(0)

Definition at line 30 of file ds3231_params.h.

◆ DS3231_PARAM_INT_PIN

#define DS3231_PARAM_INT_PIN   (GPIO_UNDEF)

Interrupt pin.

Definition at line 36 of file ds3231_params.h.

◆ DS3231_PARAM_OPT

#define DS3231_PARAM_OPT   (DS3231_OPT_BAT_ENABLE)

Definition at line 33 of file ds3231_params.h.

◆ DS3231_PARAMS

#define DS3231_PARAMS
Value:
{ .bus = DS3231_PARAM_I2C, \
.opt = DS3231_PARAM_OPT}

Definition at line 45 of file ds3231_params.h.

Variable Documentation

◆ ds3231_params

const ds3231_params_t ds3231_params[]
static
Initial value:
=
{
DS3231_PARAMS
}

DS3231 configuration.

Definition at line 54 of file ds3231_params.h.