MySensors Library & Examples
2.3.2
hal
architecture
AVR
drivers
DigitalIO
I2cConstants.h
Go to the documentation of this file.
1
/* Arduino I2C Library
2
* Copyright (C) 2013 by William Greiman
3
*
4
* This file is part of the Arduino I2C Library
5
*
6
* This Library is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This Library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with the Arduino I2C Library. If not, see
18
* <http://www.gnu.org/licenses/>.
19
*/
28
#ifndef I2cConstants_h
29
#define I2cConstants_h
30
#include <inttypes.h>
31
34
const
uint8_t
I2C_CONTINUE
= 0;
35
38
const
uint8_t
I2C_STOP
= 1;
39
42
const
uint8_t
I2C_REP_START
= 2;
43
45
const
uint8_t
I2C_100KHZ
= 0;
46
48
const
uint8_t
I2C_400KHZ
= 1;
49
51
const
uint8_t
I2C_READ
= 1;
52
54
const
uint8_t
I2C_WRITE
= 0;
55
57
const
uint8_t
I2C_NO_PULLUPS
= 0;
58
60
const
uint8_t
I2C_INTERNAL_PULLUPS
= 1;
61
#endif // I2cConstants_h
62
I2C_STOP
const uint8_t I2C_STOP
Definition:
I2cConstants.h:38
I2C_INTERNAL_PULLUPS
const uint8_t I2C_INTERNAL_PULLUPS
Definition:
I2cConstants.h:60
I2C_CONTINUE
const uint8_t I2C_CONTINUE
Definition:
I2cConstants.h:34
I2C_REP_START
const uint8_t I2C_REP_START
Definition:
I2cConstants.h:42
I2C_400KHZ
const uint8_t I2C_400KHZ
Definition:
I2cConstants.h:48
I2C_100KHZ
const uint8_t I2C_100KHZ
Definition:
I2cConstants.h:45
I2C_NO_PULLUPS
const uint8_t I2C_NO_PULLUPS
Definition:
I2cConstants.h:57
I2C_READ
const uint8_t I2C_READ
Definition:
I2cConstants.h:51
I2C_WRITE
const uint8_t I2C_WRITE
Definition:
I2cConstants.h:54
Copyright (C) 2013-2019 Sensnology AB. Generated by
doxygen
1.8.17