Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
363 johboh 1
/*********************************************************************
2
 *
3
 *     UART access routines for C18 and C30
4
 *
5
 *********************************************************************
6
 * FileName:        UART.h
7
 * Processor:       PIC18, PIC24F/H, dsPIC30F, dsPIC33F
8
 * Complier:        Microchip C18 v3.03 or higher
9
 * Complier:        Microchip C30 v2.01 or higher
10
 * Company:         Microchip Technology, Inc.
11
 *
12
 * Software License Agreement
13
 *
14
 * This software is owned by Microchip Technology Inc. ("Microchip")
15
 * and is supplied to you for use exclusively as described in the
16
 * associated software agreement.  This software is protected by
17
 * software and other intellectual property laws.  Any use in
18
 * violation of the software license may subject the user to criminal
19
 * sanctions as well as civil liability.  Copyright 2006 Microchip
20
 * Technology Inc.  All rights reserved.
21
 *
22
 * This software is provided "AS IS."  MICROCHIP DISCLAIMS ALL
23
 * WARRANTIES, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, NOT LIMITED
24
 * TO MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND
25
 * INFRINGEMENT.  Microchip shall in no event be liable for special,
26
 * incidental, or consequential damages.
27
 *
28
 *
29
 * Author               Date        Comment
30
 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31
 * Howard Schlunder     6/16/06     Original
32
********************************************************************/
33
#ifndef __UART_H
34
#define __UART_H
35
 
36
#include "..\Include\Compiler.h"
37
 
38
char BusyUSART(void);
39
void CloseUSART(void);
40
char DataRdyUSART(void);
41
char ReadUSART(void);
42
void WriteUSART(char data);
43
void getsUSART(char *buffer, unsigned char len);
44
void putsUSART(char *data);
45
void putrsUSART(const rom char *data);
46
 
47
 
48
 
49
#endif