Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
ds1307_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "board.h"
19
#include "
ds1307.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
29
#ifndef DS1307_PARAM_I2C
30
#define DS1307_PARAM_I2C (I2C_DEV(0))
31
#endif
32
33
#ifndef DS1307_PARAMS
34
#define DS1307_PARAMS { .i2c = DS1307_PARAM_I2C }
35
#endif
37
41
static
const
ds1307_params_t
ds1307_params
[] =
42
{
43
DS1307_PARAMS
44
};
45
46
#ifdef __cplusplus
47
}
48
#endif
49
ds1307.h
DS1307 definitions.
ds1307_params
static const ds1307_params_t ds1307_params[]
DS1307 configuration.
Definition
ds1307_params.h:41
ds1307_params_t
Set of configuration parameters for DS1307 devices.
Definition
ds1307.h:69
Generated on Wed Apr 15 2026 07:36:48 by
1.13.2