SerialToLCD.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. LUFA Library
  3. Copyright (C) Dean Camera, 2018.
  4. dean [at] fourwalledcubicle [dot] com
  5. www.lufa-lib.org
  6. */
  7. /*
  8. Copyright 2018 Dean Camera (dean [at] fourwalledcubicle [dot] com)
  9. Copyright 2012 Simon Foster (simon.foster [at] inbox [dot] com)
  10. Permission to use, copy, modify, distribute, and sell this
  11. software and its documentation for any purpose is hereby granted
  12. without fee, provided that the above copyright notice appear in
  13. all copies and that both that the copyright notice and this
  14. permission notice and warranty disclaimer appear in supporting
  15. documentation, and that the name of the author not be used in
  16. advertising or publicity pertaining to distribution of the
  17. software without specific, written prior permission.
  18. The author disclaims all warranties with regard to this
  19. software, including all implied warranties of merchantability
  20. and fitness. In no event shall the author be liable for any
  21. special, indirect or consequential damages or any damages
  22. whatsoever resulting from loss of use, data or profits, whether
  23. in an action of contract, negligence or other tortious action,
  24. arising out of or in connection with the use or performance of
  25. this software.
  26. */
  27. /** \file
  28. *
  29. * Header file for SerialToLCD.c.
  30. */
  31. #ifndef _SERIALTOLCD_H_
  32. #define _SERIALTOLCD_H_
  33. /* Includes: */
  34. #include <avr/io.h>
  35. #include <avr/wdt.h>
  36. #include <avr/interrupt.h>
  37. #include <avr/power.h>
  38. #include "Descriptors.h"
  39. #include "Lib/HD44780.h"
  40. #include <LUFA/Version.h>
  41. #include <LUFA/Drivers/Misc/RingBuffer.h>
  42. #include <LUFA/Drivers/USB/USB.h>
  43. #include <LUFA/Platform/Platform.h>
  44. /* Macros: */
  45. #define COMMAND_ESCAPE 0x1B
  46. /* Function Prototypes: */
  47. void SetupHardware(void);
  48. void EVENT_USB_Device_ConfigurationChanged(void);
  49. void EVENT_USB_Device_ControlRequest(void);
  50. #endif