/[H8]/trunk/PIC/TCP-IP stack/Helpers.h
ViewVC logotype

Annotation of /trunk/PIC/TCP-IP stack/Helpers.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 54 - (hide annotations) (download)
Fri Apr 27 08:42:17 2007 UTC (17 years, 1 month ago) by hedin
File MIME type: text/plain
File size: 2019 byte(s)
Added basic project
1 hedin 54 /*********************************************************************
2     *
3     * Helper Function Defs for Microchip TCP/IP Stack
4     *
5     *********************************************************************
6     * FileName: Helpers.h
7     * Dependencies: stacktsk.h
8     * Processor: PIC18
9     * Complier: MCC18 v1.00.50 or higher
10     * HITECH PICC-18 V8.10PL1 or higher
11     * Company: Microchip Technology, Inc.
12     *
13     * Software License Agreement
14     *
15     * The software supplied herewith by Microchip Technology Incorporated
16     * (the “Company”) for its PICmicro® Microcontroller is intended and
17     * supplied to you, the Company’s customer, for use solely and
18     * exclusively on Microchip PICmicro Microcontroller products. The
19     * software is owned by the Company and/or its supplier, and is
20     * protected under applicable copyright laws. All rights are reserved.
21     * Any use in violation of the foregoing restrictions may subject the
22     * user to criminal sanctions under applicable laws, as well as to
23     * civil liability for the breach of the terms and conditions of this
24     * license.
25     *
26     * THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
27     * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
28     * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
29     * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
30     * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
31     * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
32     *
33     * Author Date Comment
34     *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35     * Nilesh Rajbharti 5/17/01 Original (Rev 1.0)
36     * Nilesh Rajbharti 2/9/02 Cleanup
37     ********************************************************************/
38    
39     #ifndef HELPERS_H
40     #define HELPERS_H
41    
42     #include "compiler.h"
43     #include "stacktsk.h"
44    
45    
46     WORD swaps(WORD v);
47     DWORD swapl(DWORD v);
48    
49     WORD CalcIPChecksum(BYTE *buffer, WORD len);
50    
51     #endif

  ViewVC Help
Powered by ViewVC 1.1.20