Commit Graph

72 Commits

Author SHA1 Message Date
88eb11cc02 Added blocking receive function and peek function 2016-05-26 20:15:21 +02:00
7fd6d8ddec Added separate receive line function with timeout and removed terminating string from received line 2016-05-25 23:38:02 +02:00
c261d7d309 Added getter functions for usart settings and fixed receive flush to work for all usart settings 2016-05-25 21:22:16 +02:00
e008cc8da1 Fixed flushing receive buffer to work independent of baud rate and with and without interrupts 2016-05-25 01:40:53 +02:00
99d09b0f0f Converted to submodule 2016-05-24 21:11:44 +02:00
cf1b273549 Changed receive flushing function to not need a timeout and to work with and without interrupts 2016-05-24 21:08:06 +02:00
07474c7e19 Added fushing functions and destructor 2016-05-24 20:59:46 +02:00
30c0269fca Improved code so that it automatically adjusts to whether interrupts are enabled or not and also removed useless max size paramter from receive string function 2016-05-21 21:49:56 +02:00
02d5d34e72 Further refactored printing code to be more readable 2016-05-21 20:47:18 +02:00
8ccddc483e Added C++ stream syntax for writing strings 2016-05-21 20:39:37 +02:00
8b081b8c9f Replaced c array buffer with c++ array class buffer 2016-05-21 19:11:04 +02:00
8e249b46b5 Fixed USART1 2016-05-20 22:33:47 +02:00
ef24096b04 Rewrote usart to use interrupts 2016-05-20 22:27:57 +02:00
97f0b0608b Removed fancy formatting and generic receiving and transmitting to reduce complexity and size 2016-05-20 17:02:23 +02:00
199f92dcc5 Removed trailing newlines and renamed clock to lowercase in project file 2016-05-20 15:55:19 +02:00
e4cf315d0b Changed clock name to lowercase 2016-05-20 15:51:01 +02:00
b9eb6285df Exported libraries as submodules 2016-05-20 15:46:20 +02:00
b1bd03eeb6 Really changed name to lowercase 2016-05-20 15:37:33 +02:00
3a8ec7f2c3 Changed name to lowercase 2016-05-20 15:32:42 +02:00
ef5599cedd Removed initialization from constructor to avoid resetting USART0 when constructing USART1 and replaced dynamic vector with static convert buffer 2016-05-19 22:59:22 +02:00
11ba283d0e Replaced class variables with defines 2016-05-19 22:13:06 +02:00
6ac7d71530 Initial commit 2016-05-19 21:43:10 +02:00