wireport.hpp File Reference

Definition of the Arduino 'Wire Library' for TwoWire interfaces. More...

Detailed Description

Definition of the Arduino 'Wire Library' for TwoWire interfaces.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

This library is the implementation of the Arduino Wire Library for the I2C peripheral interfaces in RIOT. It supports only I2C master mode and the functions that are documented in the official Arduino Reference of this library.

The implementation is an adaptation of the original Arduino Wire Library which is published under the following copyright:

TwoWire.h - TWI/I2C library for Arduino & Wiring
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts

The documentation in this file is partially extracted from the original Arduino Reference of this library which is published under the Creative Commons Attribution-ShareAlike 3.0 License.

Definition in file wireport.hpp.

#include <inttypes.h>
#include <stddef.h>
+ Include dependency graph for wireport.hpp:

Go to the source code of this file.

Data Structures

class  TwoWire
 Class definition for the Arduino Wire library implementation. More...
 
#define ARDUINO_I2C_DEV   (I2C_DEV(0))
 Default Arduino I2C interface.
 
#define WIREPORT_BUFFER_LENGTH   32
 Buffer length used by the Arduino Wire library implementation.
 
TwoWire Wire
 
I2C
#define I2C
I2C register bank.
Definition: cc26xx_cc13xx_i2c.h:196
free
void free(void *ptr)
This is a no-op.
can
Low level device structure for ESP32 CAN (extension of candev_t)
Definition: can_esp.h:64
TwoWire
Class definition for the Arduino Wire library implementation.
Definition: wireport.hpp:70