1 |
hedin |
62 |
;*********************************************************************
|
2 |
|
|
;*
|
3 |
|
|
;* PIC Configuration bits for Microchip TCP/IP Stack
|
4 |
|
|
;*
|
5 |
|
|
;*********************************************************************
|
6 |
|
|
;* FileName: C18Cf.asm
|
7 |
|
|
;* Dependencies: P18C452.INC
|
8 |
|
|
;* Processor: PIC18CXXX
|
9 |
|
|
;* Complier: MPLAB 5.4.00
|
10 |
|
|
;* Company: Microchip Technology, Inc.
|
11 |
|
|
;*
|
12 |
|
|
;* Software License Agreement
|
13 |
|
|
;*
|
14 |
|
|
;* The software supplied herewith by Microchip Technology Incorporated
|
15 |
|
|
;* (the “Company”) for its PICmicro® Microcontroller is intended and
|
16 |
|
|
;* supplied to you, the Company’s customer, for use solely and
|
17 |
|
|
;* exclusively on Microchip PICmicro Microcontroller products. The
|
18 |
|
|
;* software is owned by the Company and/or its supplier, and is
|
19 |
|
|
;* protected under applicable copyright laws. All rights are reserved.
|
20 |
|
|
;* Any use in violation of the foregoing restrictions may subject the
|
21 |
|
|
;* user to criminal sanctions under applicable laws, as well as to
|
22 |
|
|
;* civil liability for the breach of the terms and conditions of this
|
23 |
|
|
;* license.
|
24 |
|
|
;*
|
25 |
|
|
;* THIS SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES,
|
26 |
|
|
;* WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
|
27 |
|
|
;* TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
28 |
|
|
;* PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT,
|
29 |
|
|
;* IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
|
30 |
|
|
;* CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
|
31 |
|
|
;*
|
32 |
|
|
;*
|
33 |
|
|
;*
|
34 |
|
|
;* This file defines configuration bits only.
|
35 |
|
|
;*
|
36 |
|
|
;* Author Date Comment
|
37 |
|
|
;*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
38 |
|
|
;* Nilesh Rajbharti 9/19/01 Original (Rev. 1.0)
|
39 |
|
|
;* Nilesh Rajbharti 5/22/02 Rev 2.0 (See version.log for detail)
|
40 |
|
|
;********************************************************************/
|
41 |
|
|
|
42 |
|
|
#ifdef __18C252
|
43 |
|
|
#include <p18c252.inc>
|
44 |
|
|
#endif
|
45 |
|
|
|
46 |
|
|
#ifdef __18C452
|
47 |
|
|
#include <p18c452.inc>
|
48 |
|
|
|
49 |
|
|
__CONFIG _CONFIG0, _CP_OFF_0
|
50 |
|
|
__CONFIG _CONFIG1, _OSCS_OFF_1 & _HS_OSC_1
|
51 |
|
|
__CONFIG _CONFIG2, _BOR_OFF_2 & _PWRT_ON_2
|
52 |
|
|
__CONFIG _CONFIG3, _WDT_OFF_3
|
53 |
|
|
__CONFIG _CONFIG5, _CCP2MX_OFF_5
|
54 |
|
|
__CONFIG _CONFIG6, _STVR_ON_6
|
55 |
|
|
#endif
|
56 |
|
|
|
57 |
|
|
#ifdef __18C658
|
58 |
|
|
#include <p18c658.inc>
|
59 |
|
|
|
60 |
|
|
__CONFIG _CONFIG0, _CP_OFF_0
|
61 |
|
|
__CONFIG _CONFIG1, _OSCS_OFF_1 & _HS_OSC_1
|
62 |
|
|
__CONFIG _CONFIG2, _BOR_OFF_2 & _PWRT_ON_2
|
63 |
|
|
__CONFIG _CONFIG3, _WDT_OFF_3
|
64 |
|
|
__CONFIG _CONFIG6, _STVR_ON_6
|
65 |
|
|
|
66 |
|
|
#endif
|
67 |
|
|
|
68 |
|
|
#ifdef __18C858
|
69 |
|
|
#include <p18c658.inc>
|
70 |
|
|
|
71 |
|
|
__CONFIG _CONFIG0, _CP_OFF_0
|
72 |
|
|
__CONFIG _CONFIG1, _OSCS_OFF_1 & _HS_OSC_1
|
73 |
|
|
__CONFIG _CONFIG2, _BOR_OFF_2 & _PWRT_ON_2
|
74 |
|
|
__CONFIG _CONFIG3, _WDT_OFF_3
|
75 |
|
|
__CONFIG _CONFIG6, _STVR_ON_6
|
76 |
|
|
|
77 |
|
|
#endif
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
#ifdef __18F452
|
81 |
|
|
#include <p18f452.inc>
|
82 |
|
|
|
83 |
|
|
__CONFIG _CONFIG1H, _OSCS_OFF_1H & _HS_OSC_1H
|
84 |
|
|
__CONFIG _CONFIG2H, _WDT_OFF_2H
|
85 |
|
|
__CONFIG _CONFIG3H, _CCP2MX_OFF_3H
|
86 |
|
|
__CONFIG _CONFIG4L, _LVP_OFF_4L & _DEBUG_OFF_4L
|
87 |
|
|
#endif
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
; Add new configuration as new micro is added...
|
91 |
|
|
|
92 |
|
|
END
|