Commit graph

38 commits

Author SHA1 Message Date
hathach
9c2bdbc314
include TinyUSB header for builtin libraries if selected 2021-05-25 18:30:09 +07:00
Jordan Majd
04a2dd8ace Preserve original formatting on base sercom handler 2019-10-31 16:32:16 +00:00
Jordan Majd
e72343c867 Add the SAMD51s 4 i2c interrupts to ensure slave support 2019-10-31 01:11:32 +00:00
agdl
8f5e2eb58c Changed boradcast variable to enableGeneralCall 2017-12-15 09:06:48 -05:00
agdl
6a1295459b Allow General Calls on I2C bus (aka brodcast) 2017-12-15 09:06:48 -05:00
Sandeep Mistry
e5166fb922 Use TX buffer for slave writes, empty on master read mode + DRDY IRQ 2016-06-17 09:55:49 -04:00
Sandeep Mistry
de71470f06 Clear RX buffer in TwoWire::requestFrom before reading 2016-03-30 17:38:04 +02:00
Cristian Maglie
f763660671 Merge branch 'wire-master-repeated-starts' of https://github.com/sandeepmistry/ArduinoCore-samd 2016-01-13 11:31:38 +01:00
Cristian Maglie
04bda59c48 Merge branch 'Wire-slave' of https://github.com/sandeepmistry/ArduinoCore-samd 2015-11-18 19:01:26 +01:00
Sandeep Mistry
a2949d505f Wait for idle or bus owner state in startTransmissionWIRE instead of storing repeated start state. 2015-11-18 09:19:04 -05:00
Sandeep Mistry
9977fa3467 Make white space consistent 2015-11-17 17:34:25 -05:00
William
b993249630 Add I2C Repeated Start Capability
Adjust requestFrom, endTransmission, and startTransmissionWire to handle
repeated starts
2015-11-17 16:00:54 -05:00
Cristian Maglie
1ce4a2f012 Made multiple Wire instances fully configurable from variant 2015-11-17 17:13:14 +01:00
Cristian Maglie
0f4b0d8118 Merge branch 'i2c_scan_fix' of https://github.com/facchinm/ArduinoCore-samd into HEAD 2015-09-29 14:47:53 +02:00
Paolo Paolucci
9656a761ab Add function setClock on Wire library 2015-09-23 10:24:39 +02:00
Sandeep Mistry
9a7f2be3b7 Wire slave sender working with stops and with repeated starts 2015-09-22 17:50:45 -04:00
Sandeep Mistry
ab2ed909b3 Wire slave receiver with repeated starts working 2015-09-22 14:55:39 -04:00
Martino Facchin
3972d36c18 Wire: allow scanning bus via beginTransmission-endTransmission 2015-09-10 16:40:33 +02:00
Sandeep Mistry
4efe39eb49 Changes to get Wire slave receiver working 2015-09-08 17:47:30 -04:00
Sandeep Mistry
777a110400 implement Wire.end() for SAMD core 2015-08-25 10:48:54 -04:00
Cristian Maglie
5c6890c6c4 Merge branch 'wire-fixes' of https://github.com/cmaglie/ArduinoCore-samd 2015-08-19 17:44:33 +02:00
Cristian Maglie
024e089d66 [Wire] simplified coding unnecessarily complex (hfvogt)
In the wire library there are several functions where
an unnecessarily complex coding has been used:

  - endTransmission: the availability of data is already
    checked in while(...), therefore need not be checked
    again in the loop.
  - requestFrom: the for-loop has a predefined and fixed
    number of loops. Therefore a check whether the last
    element has been reached is unnecessary and does not
    add any benefit.

Fixes #20
2015-08-13 18:07:53 +02:00
Thibaut VIARD
9888e64d10 [zero/Wire] Adding default values for Wire custom definitions 2015-08-13 12:09:25 +02:00
Thibaut VIARD
b81bc46484 [zero] Bring more customization to Wire class 2015-08-10 13:39:47 +02:00
PaoloP74
f1c078cbf4 Update Wire.cpp 2015-07-06 11:35:46 +02:00
Cristian Maglie
30f23fb9ac Other license cleanup 2015-06-15 14:25:42 +02:00
Cristian Maglie
97f1cf6af5 Hide non-API pinPeripheral method 2015-06-15 14:16:15 +02:00
Thibaut VIARD
ae42fd1167 Adding license in files, update platform.txt 2014-07-25 17:11:29 +02:00
Jonathan BAUDIN
6c67c97fad Fix Wire bug. First bytes not read. 2014-06-02 16:23:26 +02:00
Jonathan BAUDIN
f12a643445 Fix Wire and add test with RTC 2014-05-21 12:16:28 +02:00
Jonathan BAUDIN
ff46a3c100 Fixing Wire 2014-05-20 17:34:26 +02:00
Jonathan BAUDIN
ead58260a3 Fix SERCOM Wire, add functions Wire class 2014-05-19 13:24:35 +02:00
Jonathan BAUDIN
0eca3bd649 Use new IRQ functions 2014-05-09 14:09:41 +02:00
Jonathan BAUDIN
92d2f670f0 Creating objects SERCOMx, Serial, SPI and Wire. 2014-05-07 16:56:34 +02:00
Jonathan BAUDIN
7e75870756 Correction compilation errors. 2014-05-07 16:02:25 +02:00
Jonathan BAUDIN
f6e007bc9d WIRE class finished. SERCOM class completed. Few correction in HardwareSerial and SERCOMUsart after compilation 2014-05-05 17:49:57 +02:00
Jonathan BAUDIN
f307bf454d Complete SERCOM and WIRE classes 2014-05-05 14:24:10 +02:00
Thibaut VIARD
ac73b87928 Cleanup and adding more needed files 2014-04-16 10:53:11 +02:00