STIMA
3
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
b
c
d
e
g
h
i
l
m
n
p
r
s
t
u
v
w
Functions
Variables
b
c
d
e
g
h
i
l
m
n
p
r
s
t
u
v
w
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
c
e
g
i
l
m
o
p
r
s
t
Variables
a
c
d
e
h
i
j
l
n
o
p
r
s
t
w
Enumerations
Enumerator
e
i
l
o
r
s
t
Macros
b
c
d
e
f
g
i
j
l
m
n
o
r
s
t
u
v
w
y
•
All
Classes
Files
Functions
Variables
Enumerations
Enumerator
Macros
Modules
Pages
platformio
stima_v3
test_sensordriver
include
i2c_config.h
Go to the documentation of this file.
1
3
/*********************************************************************
4
Copyright (C) 2017 Marco Baldinetti <m.baldinetti@digiteco.it>
5
authors:
6
Paolo Patruno <p.patruno@iperbole.bologna.it>
7
Marco Baldinetti <m.baldinetti@digiteco.it>
8
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License as
11
published by the Free Software Foundation; either version 2 of
12
the License, or (at your option) any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program. If not, see <http://www.gnu.org/licenses/>.
21
**********************************************************************/
22
23
#ifndef _HARDWARE_CONFIG_H
24
#define _HARDWARE_CONFIG_H
25
30
#define I2C_BUS_CLOCK (50000L)
31
36
#define I2C_MAX_DATA_LENGTH (32)
37
42
#define I2C_MAX_ERROR_COUNT (5)
43
44
#endif
Generated by
1.9.1