Subversion Repositories HomeAutomation

Rev

Rev 97 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. /*********************************************************************
  2.  *
  3.  *                  uart header file
  4.  *
  5.  *********************************************************************
  6.  * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/branches/modules/EmbeddedSoftware/PIC/canToSerial/Include/uart.h $
  7.  * Last changed:    $LastChangedDate: 2006-11-14 21:22:17 +0100 (Tue, 14 Nov 2006) $
  8.  * By:              $LastChangedBy: johboh $
  9.  * Revision:        $Revision: 97 $
  10.  ********************************************************************/
  11.  
  12.  
  13. #ifndef UART_H
  14. #define UART_H
  15.  
  16. #include <compiler.h>
  17. #include <typedefs.h>
  18.  
  19. void uartInit(void);
  20. void uartPutc(BYTE c);
  21. void uartPuts(BYTE c[]);
  22. void uartPutrs(const rom char *c);
  23. BYTE uartGet(void);
  24. void uartParse(BYTE c);
  25. void uartISR(void);
  26. char uartDataRedy(void);
  27.  
  28. #endif //UART_H
  29.