Commit Graph

94 Commits

Author SHA1 Message Date
aac73447b3 Implemented hardware abstraction that both hardware0 and hardware1 can use 2019-07-30 21:43:52 +02:00
fbd087808a Added enums for register bit positions 2019-07-30 20:56:16 +02:00
65bbf5e96a Refactored hardware abstraction 2019-07-30 20:29:38 +02:00
c03196493a Ran clang-format 2019-07-30 20:29:15 +02:00
470eb06345 Removed unused struct 2019-07-30 18:35:45 +02:00
099be106a7 Added C uart library by Peter Fleury as comparison 2019-07-30 18:32:00 +02:00
6ded0e1c8d Fixed rounding error in baud rate calculation 2019-07-28 19:20:03 +02:00
00cb9ad13c Added alias for first hardware uart 2019-07-28 17:58:23 +02:00
4a9cee922a Refactored class names to start with capital letter 2019-07-28 17:57:49 +02:00
8e0ba5a463 Implemented basic hardware support for transmitting 2019-07-28 17:32:51 +02:00
a71035d4b7 Specified default for hardware mode 2019-07-28 14:10:48 +02:00
fd7e8e7238 Added driving parameter 2019-07-28 14:09:09 +02:00
d9a05d0273 Fixed refactoring problem 2019-07-28 14:08:41 +02:00
2bbba0fcbd Removed unnecessary const qualifiers in template 2019-07-28 14:00:46 +02:00
29b4d85ce3 Renamed settings to config 2019-07-28 12:15:19 +02:00
ae90fdae3f Renamed choosing function 2019-07-28 10:54:47 +02:00
2364bff11f Implemented automatic type deducation depending on data bits 2019-07-28 10:49:14 +02:00
f08f607265 Fixed not implemented compiler error 2019-07-28 10:35:11 +02:00
f9c34b09ba Added basic layout for new library implementation 2019-07-27 18:55:17 +02:00
e07ba7ecd8 Fixed handling for ATmega1284P 2019-07-27 18:54:51 +02:00
81e6a9fdc0 Added support for atmega8a 2018-04-12 10:44:03 +02:00
b2a3b03867 Added git ignore and attribute files 2016-08-16 16:46:33 +02:00
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