Commit graph

25 commits

Author SHA1 Message Date
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
8e2a8cbc99 Adding a test on serial port init
Signed-off-by: Thibaut VIARD <thibaut.viard@atmel.com>
2014-10-14 16:16:27 +02:00
Cristian Maglie
5f849abcc8 Fixed some warnings 2014-10-08 11:08:30 +02:00
Thibaut VIARD
ae42fd1167 Adding license in files, update platform.txt 2014-07-25 17:11:29 +02:00
Jonathan BAUDIN
280bc4e001 Fix SPI 2014-06-05 12:15:20 +02:00
Jonathan BAUDIN
6c67c97fad Fix Wire bug. First bytes not read. 2014-06-02 16:23:26 +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
Thibaut VIARD
770d1f85bb Fixing UART compilation 2014-05-13 00:30:04 +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
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
8fcfc4c4dd Adding interrupt register 2014-05-05 16:22:30 +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