Subversion Repositories HomeAutomation

Rev

Rev 73 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

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