Commit Graph

108 Commits

Author SHA1 Message Date
8f88cdccea Fix misaligned ifdef-endif pair 2020-04-13 17:17:17 +02:00
dfb076cda8 Change interrupt handler technique to not rely on function pointer and instead use user-facing macros 2020-04-13 16:43:04 +02:00
6d9ef6e4be Make variables const 2020-04-13 16:41:16 +02:00
bcd18db494 Fix double speed flag not being cleared if not used 2020-04-13 13:06:11 +02:00
04b6782ec4 Add automatic selection of double speed based on error 2020-04-12 23:57:16 +02:00
ae03c8d43e Adapt to new std compliant naming of numeric_limits 2020-04-07 19:15:05 +02:00
41b9ef74f9 Moved uart utils to separate type submodule 2020-04-07 03:50:29 +02:00
6f592dd098 Fixed missing const qualifier 2020-04-06 21:45:20 +02:00
fa0a65a94c Capitalized local constexpr variables to be more consistent 2020-04-05 03:36:05 +02:00
0e128bcb7d Made variable const 2020-04-05 03:30:22 +02:00
0a52110d47 Moved buffer closer to where needed 2020-04-05 03:28:45 +02:00
f751833a88 Made variables constexpr 2020-04-05 03:25:25 +02:00
1bd49f65fa Fixed template variable capitalization 2020-04-05 03:23:12 +02:00
cb436b11a8 Changed static assert to indicate impossible usage 2020-02-21 17:46:28 +01:00
2a2b9b8817 Added MIT license file 2020-02-01 15:36:20 +01:00
0532bf48b0 Changed library so that user has to explicitly include hardware header with int vector define set to get ISR 2019-08-15 18:58:25 +02:00
f6df6a6a18 Undid accidental regression 2019-08-15 18:49:29 +02:00
1bdc06a325 Switched to include interrupt vectors by default 2019-08-15 18:12:37 +02:00
ddf105a175 Made library header only again and provided way to disable interrupt vectors 2019-08-15 18:07:11 +02:00
2fd05483ee Replaced workaround with provided macro 2019-08-15 17:48:41 +02:00
16c9015f43 Replaced maybe_unused with unnamed parameter 2019-08-14 19:55:06 +02:00
7c21664fe4 Refactored code to get rid of code duplication 2019-08-14 19:49:42 +02:00
e326e40b38 Fixed blocking on full rx buffer and implemented support for ATmega328P 2019-08-14 18:58:21 +02:00
8d028aa635 Changed git ignore to ignore make output 2019-08-11 10:04:15 +02:00
c4700ed824 Fixed non-compliant use of constexpr for pointers 2019-08-10 14:12:10 +02:00
1ee9bc8ca4 Removed sign from maxNumDigits, because sign is handled separately anyway 2019-08-07 19:59:48 +02:00
1c026e8eb3 Updated git ignore file 2019-08-05 21:18:36 +02:00
c4f38cbcdf Changed template parameter order 2019-08-05 20:05:59 +02:00
87e6936051 Added enabling of interrupts for interrupt driven uart 2019-08-05 17:59:33 +02:00
1d633c538e Implemented numeric limits for floating point 2019-08-05 17:56:10 +02:00
231fc0de48 Changed clock header to cpp file extension 2019-08-03 20:20:20 +02:00
6438aa81c1 Added padding and case selection to txNumber 2019-08-03 19:49:01 +02:00
8153696309 Fixed flushing not blocking correctly 2019-08-03 18:45:51 +02:00
9f9f7a8de5 Added flushing of transmit buffer 2019-08-03 17:52:28 +02:00
b6c1c3b51b Fixed conversion for bases other than 10 2019-08-03 17:32:38 +02:00
8d07e2d4db Implemented overloads for printing numbers 2019-08-03 16:52:57 +02:00
fe9e67036e Implemented stream operator for some basic types 2019-08-03 16:17:07 +02:00
9f7dc0da55 Added alias for driver dependent data size 2019-08-03 16:13:52 +02:00
2a07744575 Added static_assert for transmitting numbers 2019-08-03 16:11:21 +02:00
ecdefe40e7 Implemented integral type checking 2019-08-03 16:10:19 +02:00
53b791cb05 Implemented printing of numbers 2019-08-03 15:00:41 +02:00
50e01c480d Implemented templated numeric limits 2019-08-03 14:54:23 +02:00
7d4eddbd8b Changed interface to not initialize uart on construction 2019-08-03 11:14:01 +02:00
778f5f9754 Moved always_false template to utils 2019-08-03 10:58:32 +02:00
1ca8ea2061 Removed Peter Fleury's c uart library 2019-08-03 10:47:32 +02:00
80633998c7 Removed legacy usart library 2019-08-03 10:23:53 +02:00
2cd4069654 Moved interrupt vectors to their own translation unit to solve redefinition error 2019-08-02 20:29:04 +02:00
33c3cedb1e Fixed missing headers 2019-08-02 20:23:54 +02:00
925bb56f98 Added clang format file 2019-08-02 19:44:34 +02:00
a3d76a138d Implemented peeking with and without data for interrupt and blocking mode 2019-08-02 18:20:06 +02:00