3 Copyright (C) Dean Camera, 2014.
5 dean [at] fourwalledcubicle [dot] com
10 Copyright 2010 David Prentice (david.prentice [at] farming [dot] uk)
11 Copyright 2010 Peter Danneger
12 Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
14 Permission to use, copy, modify, distribute, and sell this
15 software and its documentation for any purpose is hereby granted
16 without fee, provided that the above copyright notice appear in
17 all copies and that both that the copyright notice and this
18 permission notice and warranty disclaimer appear in supporting
19 documentation, and that the name of the author not be used in
20 advertising or publicity pertaining to distribution of the
21 software without specific, written prior permission.
23 The author disclaims all warranties with regard to this
24 software, including all implied warranties of merchantability
25 and fitness. In no event shall the author be liable for any
26 special, indirect or consequential damages or any damages
27 whatsoever resulting from loss of use, data or profits, whether
28 in an action of contract, negligence or other tortious action,
29 arising out of or in connection with the use or performance of
35 * Header file for SoftUART.c.
43 #include <avr/interrupt.h>
46 #include "../XPLAINBridge.h"
47 #include "Config/AppConfig.h"
58 /* Inline Functions: */
59 static inline void SoftUART_SetBaud(const uint32_t Baud)
61 uint16_t BitTime = ((F_CPU / Baud) - 1);
67 /* Function Prototypes: */
68 void SoftUART_Init(void);