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
* Copyright (C) 2017 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
18
#ifndef DS1307_PARAMS_H
19
#define DS1307_PARAMS_H
20
21
#include "board.h"
22
#include "
ds1307.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#ifndef DS1307_PARAM_I2C
33
#define DS1307_PARAM_I2C (I2C_DEV(0))
34
#endif
35
36
#ifndef DS1307_PARAMS
37
#define DS1307_PARAMS { .i2c = DS1307_PARAM_I2C }
38
#endif
44
static
const
ds1307_params_t
ds1307_params
[] =
45
{
46
DS1307_PARAMS
47
};
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* DS1307_PARAMS_H */
ds1307.h
DS1307 definitions.
ds1307_params
static const ds1307_params_t ds1307_params[]
DS1307 configuration.
Definition
ds1307_params.h:44
ds1307_params_t
Set of configuration parameters for DS1307 devices.
Definition
ds1307.h:69
Generated on Sat Nov 16 2024 04:50:50 by
1.9.8