Commit Graph

30 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
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
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
c4700ed824 Fixed non-compliant use of constexpr for pointers 2019-08-10 14:12:10 +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
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
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
a3d76a138d Implemented peeking with and without data for interrupt and blocking mode 2019-08-02 18:20:06 +02:00
95963295e2 Implemented blocking rx 2019-08-02 17:54:34 +02:00
0bfd303a26 Removed unneeded tx complete interrupt 2019-08-02 17:41:14 +02:00
efe1446907 Implemented interrupt driven rx for uart1 2019-08-02 17:36:07 +02:00
b90da9bd9c Moved ring buffer to it's own struct 2019-08-02 17:13:53 +02:00
51a9d30c0a Implemented interrupt driven tx 2019-08-02 16:41:53 +02:00
5d6bc4761c Changed interrupt order to match vector numbers 2019-08-02 15:46:07 +02:00
3aeb43ee1e Added basic structure to support interrupt driven operation 2019-08-02 12:18:35 +02:00
a13a1ca9ab Fixed header includes 2019-08-02 12:18:35 +02:00
bdf4bd169e Moved hardware abstraction to separate header 2019-08-02 12:18:35 +02:00
f0a3cd6da8 Improved formatting 2019-07-30 21:51:13 +02:00
6861b8f5d1 Added force inline to reduce code size 2019-07-30 21:48:00 +02:00
aac73447b3 Implemented hardware abstraction that both hardware0 and hardware1 can use 2019-07-30 21:43:52 +02:00
f9c34b09ba Added basic layout for new library implementation 2019-07-27 18:55:17 +02:00