This repository
Search
Pull requests
Issues
Marketplace
Explore
@bmariabeatrice
Sign out
Watch 135
Star 661 Fork 5,717 energia/Energia
forked from arduino/Arduino
Code Issues 163 Pull requests 33 Projects 0 Wiki Insights
Branch: master Find file Copy pathEnergia/hardware/msp430/cores/msp430/Wire.h
4204d2e on Sep 28, 2015
@StefanSch StefanSch FR6989 working
2 contributors @robertinant @StefanSch
RawBlameHistory
97 lines (83 sloc) 3.26 KB
/*
************************************************************************
* Wire.h
*
* Arduino core files for MSP430
* Copyright (c) 2012 Robert Wessels. All right reserved.
*
*
***********************************************************************
Derived from:
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
*/
#ifndef TwoWire_h
#define TwoWire_h
#include <inttypes.h>
#include "Stream.h"
#include <msp430.h>
#define BUFFER_LENGTH 16
#endif