ebeveyn
işleme
4ec41af467
Veri tabanında bu imza için bilinen anahtar bulunamadı
5 değiştirilmiş dosya ile
9 ekleme ve
9 silme
-
include/wire/WireIMXRT.h
-
src/wire/Wire.cpp
-
src/wire/WireIMXRT.cpp
-
src/wire/WireKinetis.cpp
-
src/wire/utility/twi.c
|
|
@@ -29,7 +29,7 @@ |
|
|
|
|
|
|
|
#if defined(__IMXRT1052__) || defined(__IMXRT1062__) |
|
|
|
|
|
|
|
#include <Arduino.h> |
|
|
|
#include <core/Arduino.h> |
|
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
#define BUFFER_LENGTH 32 |
|
|
@@ -19,17 +19,17 @@ |
|
|
|
Modified 2012 by Todd Krein (todd@krein.org) to implement repeated starts |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <Arduino.h> |
|
|
|
#include <core/Arduino.h> |
|
|
|
|
|
|
|
#if defined(__AVR__) |
|
|
|
|
|
|
|
#include "Wire.h" |
|
|
|
#include "wire/Wire.h" |
|
|
|
|
|
|
|
extern "C" { |
|
|
|
#include <stdlib.h> |
|
|
|
#include <string.h> |
|
|
|
#include <inttypes.h> |
|
|
|
#include "twi.h" |
|
|
|
#include "wire/utility/twi.h" |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@@ -1,6 +1,6 @@ |
|
|
|
|
|
|
|
#include "Wire.h" |
|
|
|
|
|
|
|
#include "wire/Wire.h" |
|
|
|
#include <elapsedmillis/elapsedMillis.h> |
|
|
|
|
|
|
|
#if defined(__IMXRT1062__) |
|
|
|
|
|
|
@@ -24,8 +24,8 @@ |
|
|
|
* THE SOFTWARE. |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <Arduino.h> |
|
|
|
#include "Wire.h" |
|
|
|
#include <core/Arduino.h> |
|
|
|
#include "wire/Wire.h" |
|
|
|
|
|
|
|
#if defined(__arm__) && defined(TEENSYDUINO) && (defined(__MKL26Z64__) || defined(__MK20DX128__) || defined(__MK20DX256__) || defined(__MK64FX512__) || defined(__MK66FX1M0__)) |
|
|
|
|
|
|
@@ -26,7 +26,7 @@ |
|
|
|
#include <avr/io.h> |
|
|
|
#include <avr/interrupt.h> |
|
|
|
#include <compat/twi.h> |
|
|
|
#include "Arduino.h" // for digitalWrite |
|
|
|
#include <core/Arduino.h> // for digitalWrite |
|
|
|
|
|
|
|
|
|
|
|
#ifndef cbi |