Commit graph

47 commits

Author SHA1 Message Date
Henry Gabryjelski
134ebe7e18 typo - missing semicolon 2020-08-06 16:11:10 -07:00
Henry Gabryjelski
528a25e0ab @hathach is uncomfortable with attributes on function parameters 2020-08-05 21:27:36 -07:00
Noah Laptop
dad77cd8cc add SERCOM patch from arduino SAMD core 2020-05-28 17:20:30 -07:00
Henry Gabryjelski
52c988fea0 Mark unused parameters as such. 2020-01-16 16:14:30 -08:00
Phillip Burgess
4b57e88b4b Fix typedef syntax 2019-05-10 21:26:30 -07:00
Phillip Burgess
7616dab297 SERCOM stuff - simplify, cleanup, add SAMD21 dummy funcs 2019-05-08 09:44:05 -07:00
Phillip Burgess
651862fd47 WIP SPI SERCOM clock source changes 2019-05-07 23:30:55 -07:00
Phillip Burgess
59d869d79d WIP change SPI SERCOM clock source at runtime rather than compile-time 2019-05-07 23:05:52 -07:00
Phillip Burgess
2b2b8f0610 Add max SPI speed select menu for M4 2019-04-21 22:30:57 -07:00
dean
850c490a53 DM: fixed dpll1 freq 2018-08-30 14:56:11 -04:00
Sandeep Mistry
a62ef2633b UART frame error handling 2018-08-17 16:37:47 -04:00
Sandeep Mistry
a7c33fea4b UART: manually handle IRQ if DRE + interrupts disabled or in higher priority ISR
When write is called and TX buffer is full.
2018-01-25 11:27:16 -05: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
af14b97ee2 Use port manipulation instead of SERCOM h/w for UART RTS 2017-11-29 13:49:13 +01:00
Sandeep Mistry
7fc402f3b5 Leverage SERCOM h/w functionality for RTS and CTS 2017-11-29 13:49:13 +01:00
Sandeep Mistry
57c432e688 Add enable and disable data register interrupt APIs for UART 2017-07-11 12:51:58 +02:00
Sandeep Mistry
e77ae8fe8e Optimize SPI transfers 2016-11-17 17:17:05 -05: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
Sandeep Mistry
20104a6c77 Use asynchronous fractional mode to configure UART 2016-01-05 10:57:32 -05: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
William
b993249630 Add I2C Repeated Start Capability
Adjust requestFrom, endTransmission, and startTransmissionWire to handle
repeated starts
2015-11-17 16:00:54 -05:00
Sandeep Mistry
2ceac4411c Add getDataOrderSPI API to Sercom 2015-11-04 15:05:18 -05:00
Sandeep Mistry
4efe39eb49 Changes to get Wire slave receiver working 2015-09-08 17:47:30 -04:00
Cristian Maglie
49fe43806d Uart: fix acknowledge of UART errors
This fix lock-ups on UART errors (for example when disconnecting
and reconnecting RX/TX wires or if the method Serial.begin is
called while another device is already transmitting).
2015-07-05 13:36:52 +02:00
Thibaut VIARD
e951ca9bf8 Adding the ability to choose SERCOM Pads 2015-05-27 20:29:32 +02:00
Thibaut VIARD
ae42fd1167 Adding license in files, update platform.txt 2014-07-25 17:11:29 +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
8b1d9bfd27 SPI implement tested 2014-05-15 18:10:01 +02:00
Jonathan BAUDIN
e4ab3ba3ef Few UART corrections, modifiy Variant files 2014-05-15 11:54:59 +02:00
Jonathan BAUDIN
07e782b2b1 Fix UART EDBG and baudrate 2014-05-12 20:37:59 +02:00
Jonathan BAUDIN
86b6f1060e UART class usable 2014-05-09 19:51:30 +02:00
Jonathan BAUDIN
3c6f9b55f7 Initialize clock 2014-05-09 14:07:29 +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
ea82fe00fd Remove division operator 2014-05-06 11:03:29 +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
43b1fcd0e6 Correction about the names of few enumerations 2014-05-05 15:17:57 +02:00
Jonathan BAUDIN
f307bf454d Complete SERCOM and WIRE classes 2014-05-05 14:24:10 +02:00
Jonathan BAUDIN
1014ac90c1 Add txBuffer (ring buffer) to SercomUart.
Add SPI functions into SERCOM class and create SPI class
2014-04-28 15:49:42 +02:00
Jonathan BAUDIN
8fe524de16 Add function for Sercom SPI 2014-04-25 11:53:15 +02:00
Jonathan BAUDIN
0f9c3326ce Change constructor prototype (only 4 parameters) 2014-04-24 19:34:15 +02:00
Jonathan BAUDIN
53475b3e34 New defines for Serial configuration 2014-04-24 19:24:48 +02:00
Jonathan BAUDIN
f1e74b89c3 Finish SERCOMUart class, begin SERCOMSpi class. Corrections few errors on SERCOM class 2014-04-24 19:10:56 +02:00
Jonathan BAUDIN
30929c8d27 Create SERCOM and SERCOMUsart class 2014-04-24 19:10:35 +02:00