annotate src/P18F87K22.INC @ 655:c7b7b8a358cd default tip

hwOS tech 3.22 release
author heinrichsweikamp
date Mon, 29 Apr 2024 13:05:18 +0200
parents 7d8a4c60ec1a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
643
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1 LIST
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
3 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
4 ; MPASM PIC18F87K22 processor include
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
5 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
6 ; (c) Copyright 1999-2012 Microchip Technology, All rights reserved
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
7 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
8
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
9 NOLIST
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
10
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
11 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
12 ; This header file defines configurations, registers, and other useful
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
13 ; bits of information for the PIC18F87K22 microcontroller. These names
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
14 ; are taken to match the data sheets as closely as possible.
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
15 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
16 ; Note that the processor must be selected before this file is included.
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
17 ; The processor may be selected the following ways:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
18 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
19 ; 1. Command line switch:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
20 ; C:\MPASM MYFILE.ASM /PIC18F87K22
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
21 ; 2. LIST directive in the source file
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
22 ; LIST P=PIC18F87K22
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
23 ; 3. Processor Type entry in the MPASM full-screen interface
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
24 ; 4. Setting the processor in the MPLAB Project Dialog
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
25 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
26
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
27 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
28 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
29 ; Verify Processor
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
30 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
31 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
32 IFNDEF __18F87K22
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
33 MESSG "Processor-header file mismatch. Verify selected processor."
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
34 ENDIF
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
35
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
36 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
37 ; 18xxxx Family EQUates
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
38 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
39 FSR0 EQU 0
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
40 FSR1 EQU 1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
41 FSR2 EQU 2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
42
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
43 FAST EQU 1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
44
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
45 W EQU 0
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
46 A EQU 0
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
47 ACCESS EQU 0
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
48 BANKED EQU 1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
49 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
50
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
51 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
52 ; 16Cxxx/17Cxxx Substitutions
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
53 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
54 #define DDRA TRISA ; PIC17Cxxx SFR substitution
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
55 #define DDRB TRISB ; PIC17Cxxx SFR substitution
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
56 #define DDRC TRISC ; PIC17Cxxx SFR substitution
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
57 #define DDRD TRISD ; PIC17Cxxx SFR substitution
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
58 #define DDRE TRISE ; PIC17Cxxx SFR substitution
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
59
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
60 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
61 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
62 ; Register Definitions
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
63 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
64 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
65
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
66 ;----- Register Files -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
67 PMD3 EQU H'0F16'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
68 PMD2 EQU H'0F17'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
69 PMD1 EQU H'0F18'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
70 PMD0 EQU H'0F19'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
71 PSTR3CON EQU H'0F1A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
72 PSTR2CON EQU H'0F1B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
73 TXREG2 EQU H'0F1C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
74 RCREG2 EQU H'0F1D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
75 SPBRG2 EQU H'0F1E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
76 SPBRGH2 EQU H'0F1F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
77 BAUDCON2 EQU H'0F20'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
78 TXSTA2 EQU H'0F21'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
79 RCSTA2 EQU H'0F22'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
80 ANCON2 EQU H'0F23'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
81 ANCON1 EQU H'0F24'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
82 ANCON0 EQU H'0F25'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
83 MEMCON EQU H'0F26'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
84 ODCON3 EQU H'0F27'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
85 ODCON2 EQU H'0F28'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
86 ODCON1 EQU H'0F29'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
87 REFOCON EQU H'0F2A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
88 CCPTMRS2 EQU H'0F2B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
89 CCPTMRS1 EQU H'0F2C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
90 CCPTMRS0 EQU H'0F2D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
91 CM3CON EQU H'0F2E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
92 CM3CON1 EQU H'0F2E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
93 CM2CON EQU H'0F2F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
94 CM2CON1 EQU H'0F2F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
95 T12CON EQU H'0F30'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
96 PR12 EQU H'0F31'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
97 TMR12 EQU H'0F32'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
98 T10CON EQU H'0F33'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
99 PR10 EQU H'0F34'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
100 TMR10 EQU H'0F35'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
101 T8CON EQU H'0F36'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
102 PR8 EQU H'0F37'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
103 TMR8 EQU H'0F38'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
104 T6CON EQU H'0F39'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
105 PR6 EQU H'0F3A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
106 TMR6 EQU H'0F3B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
107 T7GCON EQU H'0F3C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
108 T7CON EQU H'0F3D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
109 TMR7 EQU H'0F3E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
110 TMR7L EQU H'0F3E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
111 TMR7H EQU H'0F3F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
112 CCP10CON EQU H'0F40'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
113 CCPR10 EQU H'0F41'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
114 CCPR10L EQU H'0F41'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
115 CCPR10H EQU H'0F42'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
116 CCP9CON EQU H'0F43'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
117 CCPR9 EQU H'0F44'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
118 CCPR9L EQU H'0F44'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
119 CCPR9H EQU H'0F45'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
120 CCP8CON EQU H'0F46'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
121 CCPR8 EQU H'0F47'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
122 CCPR8L EQU H'0F47'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
123 CCPR8H EQU H'0F48'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
124 CCP3CON EQU H'0F49'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
125 CCPR3 EQU H'0F4A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
126 CCPR3L EQU H'0F4A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
127 CCPR3H EQU H'0F4B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
128 ECCP3DEL EQU H'0F4C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
129 ECCP3AS EQU H'0F4D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
130 CCP2CON EQU H'0F4E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
131 ECCP2CON EQU H'0F4E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
132 CCPR2 EQU H'0F4F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
133 CCPR2L EQU H'0F4F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
134 CCPR2H EQU H'0F50'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
135 ECCP2DEL EQU H'0F51'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
136 PWM2CON EQU H'0F51'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
137 ECCP2AS EQU H'0F52'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
138 PADCFG1 EQU H'0F53'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
139 CM1CON EQU H'0F54'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
140 CM1CON1 EQU H'0F54'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
141 CTMUICON EQU H'0F55'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
142 CTMUCONL EQU H'0F56'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
143 CTMUCONH EQU H'0F57'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
144 ALRMVAL EQU H'0F58'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
145 ALRMVALL EQU H'0F58'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
146 ALRMVALH EQU H'0F59'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
147 ALRMRPT EQU H'0F5A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
148 ALRMCFG EQU H'0F5B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
149 RTCVAL EQU H'0F5C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
150 RTCVALL EQU H'0F5C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
151 RTCVALH EQU H'0F5D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
152 RTCCAL EQU H'0F5E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
153 RTCCFG EQU H'0F5F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
154 PIE6 EQU H'0F60'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
155 EEDATA EQU H'0F61'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
156 EEADR EQU H'0F62'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
157 EEADRH EQU H'0F63'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
158 OSCCON2 EQU H'0F64'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
159 BAUDCON EQU H'0F65'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
160 BAUDCON1 EQU H'0F65'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
161 BAUDCTL EQU H'0F65'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
162 SSP2CON2 EQU H'0F66'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
163 SSP2CON1 EQU H'0F67'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
164 SSP2STAT EQU H'0F68'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
165 SSP2ADD EQU H'0F69'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
166 SSP2MSK EQU H'0F69'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
167 SSP2BUF EQU H'0F6A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
168 T4CON EQU H'0F6B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
169 PR4 EQU H'0F6C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
170 TMR4 EQU H'0F6D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
171 CCP7CON EQU H'0F6E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
172 CCPR7 EQU H'0F6F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
173 CCPR7L EQU H'0F6F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
174 CCPR7H EQU H'0F70'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
175 CCP6CON EQU H'0F71'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
176 CCPR6 EQU H'0F72'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
177 CCPR6L EQU H'0F72'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
178 CCPR6H EQU H'0F73'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
179 CCP5CON EQU H'0F74'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
180 CCPR5 EQU H'0F75'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
181 CCPR5L EQU H'0F75'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
182 CCPR5H EQU H'0F76'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
183 CCP4CON EQU H'0F77'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
184 CCPR4 EQU H'0F78'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
185 CCPR4L EQU H'0F78'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
186 CCPR4H EQU H'0F79'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
187 T5GCON EQU H'0F7A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
188 T5CON EQU H'0F7B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
189 TMR5 EQU H'0F7C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
190 TMR5L EQU H'0F7C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
191 TMR5H EQU H'0F7D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
192 EECON2 EQU H'0F7E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
193 EECON1 EQU H'0F7F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
194 PORTA EQU H'0F80'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
195 PORTB EQU H'0F81'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
196 PORTC EQU H'0F82'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
197 PORTD EQU H'0F83'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
198 PORTE EQU H'0F84'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
199 PORTF EQU H'0F85'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
200 PORTG EQU H'0F86'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
201 PORTH EQU H'0F87'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
202 PORTJ EQU H'0F88'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
203 LATA EQU H'0F89'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
204 LATB EQU H'0F8A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
205 LATC EQU H'0F8B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
206 LATD EQU H'0F8C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
207 LATE EQU H'0F8D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
208 LATF EQU H'0F8E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
209 LATG EQU H'0F8F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
210 LATH EQU H'0F90'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
211 LATJ EQU H'0F91'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
212 TRISA EQU H'0F92'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
213 TRISB EQU H'0F93'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
214 TRISC EQU H'0F94'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
215 TRISD EQU H'0F95'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
216 TRISE EQU H'0F96'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
217 TRISF EQU H'0F97'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
218 TRISG EQU H'0F98'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
219 TRISH EQU H'0F99'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
220 TRISJ EQU H'0F9A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
221 OSCTUNE EQU H'0F9B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
222 PSTR1CON EQU H'0F9C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
223 PIE1 EQU H'0F9D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
224 PIR1 EQU H'0F9E'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
225 IPR1 EQU H'0F9F'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
226 PIE2 EQU H'0FA0'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
227 PIR2 EQU H'0FA1'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
228 IPR2 EQU H'0FA2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
229 PIE3 EQU H'0FA3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
230 PIR3 EQU H'0FA4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
231 IPR3 EQU H'0FA5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
232 PIR6 EQU H'0FA6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
233 PSPCON EQU H'0FA7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
234 HLVDCON EQU H'0FA8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
235 IPR6 EQU H'0FA9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
236 T1GCON EQU H'0FAA'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
237 RCSTA EQU H'0FAB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
238 RCSTA1 EQU H'0FAB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
239 TXSTA EQU H'0FAC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
240 TXSTA1 EQU H'0FAC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
241 TXREG EQU H'0FAD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
242 TXREG1 EQU H'0FAD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
243 RCREG EQU H'0FAE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
244 RCREG1 EQU H'0FAE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
245 SPBRG EQU H'0FAF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
246 SPBRG1 EQU H'0FAF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
247 T3GCON EQU H'0FB0'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
248 T3CON EQU H'0FB1'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
249 TMR3 EQU H'0FB2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
250 TMR3L EQU H'0FB2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
251 TMR3H EQU H'0FB3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
252 CMSTAT EQU H'0FB4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
253 CMSTATUS EQU H'0FB4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
254 CVRCON EQU H'0FB5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
255 PIE4 EQU H'0FB6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
256 PIR4 EQU H'0FB7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
257 IPR4 EQU H'0FB8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
258 PIE5 EQU H'0FB9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
259 PIR5 EQU H'0FBA'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
260 CCP1CON EQU H'0FBB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
261 ECCP1CON EQU H'0FBB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
262 CCPR1 EQU H'0FBC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
263 CCPR1L EQU H'0FBC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
264 CCPR1H EQU H'0FBD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
265 ECCP1DEL EQU H'0FBE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
266 PWM1CON EQU H'0FBE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
267 ECCP1AS EQU H'0FBF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
268 ADCON2 EQU H'0FC0'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
269 ADCON1 EQU H'0FC1'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
270 ADCON0 EQU H'0FC2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
271 ADRES EQU H'0FC3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
272 ADRESL EQU H'0FC3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
273 ADRESH EQU H'0FC4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
274 SSP1CON2 EQU H'0FC5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
275 SSPCON2 EQU H'0FC5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
276 SSP1CON1 EQU H'0FC6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
277 SSPCON1 EQU H'0FC6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
278 SSP1STAT EQU H'0FC7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
279 SSPSTAT EQU H'0FC7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
280 SSP1ADD EQU H'0FC8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
281 SSP1MSK EQU H'0FC8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
282 SSPADD EQU H'0FC8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
283 SSP1BUF EQU H'0FC9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
284 SSPBUF EQU H'0FC9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
285 T2CON EQU H'0FCA'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
286 PR2 EQU H'0FCB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
287 TMR2 EQU H'0FCC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
288 T1CON EQU H'0FCD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
289 TMR1 EQU H'0FCE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
290 TMR1L EQU H'0FCE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
291 TMR1H EQU H'0FCF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
292 RCON EQU H'0FD0'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
293 WDTCON EQU H'0FD1'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
294 IPR5 EQU H'0FD2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
295 OSCCON EQU H'0FD3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
296 SPBRGH1 EQU H'0FD4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
297 T0CON EQU H'0FD5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
298 TMR0 EQU H'0FD6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
299 TMR0L EQU H'0FD6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
300 TMR0H EQU H'0FD7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
301 STATUS EQU H'0FD8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
302 FSR2L EQU H'0FD9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
303 FSR2H EQU H'0FDA'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
304 PLUSW2 EQU H'0FDB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
305 PREINC2 EQU H'0FDC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
306 POSTDEC2 EQU H'0FDD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
307 POSTINC2 EQU H'0FDE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
308 INDF2 EQU H'0FDF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
309 BSR EQU H'0FE0'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
310 FSR1L EQU H'0FE1'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
311 FSR1H EQU H'0FE2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
312 PLUSW1 EQU H'0FE3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
313 PREINC1 EQU H'0FE4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
314 POSTDEC1 EQU H'0FE5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
315 POSTINC1 EQU H'0FE6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
316 INDF1 EQU H'0FE7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
317 WREG EQU H'0FE8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
318 FSR0L EQU H'0FE9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
319 FSR0H EQU H'0FEA'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
320 PLUSW0 EQU H'0FEB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
321 PREINC0 EQU H'0FEC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
322 POSTDEC0 EQU H'0FED'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
323 POSTINC0 EQU H'0FEE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
324 INDF0 EQU H'0FEF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
325 INTCON3 EQU H'0FF0'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
326 INTCON2 EQU H'0FF1'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
327 INTCON EQU H'0FF2'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
328 PROD EQU H'0FF3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
329 PRODL EQU H'0FF3'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
330 PRODH EQU H'0FF4'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
331 TABLAT EQU H'0FF5'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
332 TBLPTR EQU H'0FF6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
333 TBLPTRL EQU H'0FF6'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
334 TBLPTRH EQU H'0FF7'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
335 TBLPTRU EQU H'0FF8'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
336 PC EQU H'0FF9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
337 PCL EQU H'0FF9'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
338 PCLATH EQU H'0FFA'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
339 PCLATU EQU H'0FFB'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
340 STKPTR EQU H'0FFC'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
341 TOS EQU H'0FFD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
342 TOSL EQU H'0FFD'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
343 TOSH EQU H'0FFE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
344 TOSU EQU H'0FFF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
345
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
346 ;----- PMD3 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
347 TMR12MD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
348 CCP4MD EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
349 CCP5MD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
350 CCP6MD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
351 CCP7MD EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
352 CCP8MD EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
353 CCP9MD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
354 CCP10MD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
355
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
356
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
357 ;----- PMD2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
358 CMP1MD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
359 CMP2MD EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
360 CMP3MD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
361 TMR5MD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
362 TMR6MD EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
363 TMR7MD EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
364 TMR8MD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
365 TMR10MD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
366
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
367
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
368 ;----- PMD1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
369 EMBMD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
370 TMR1MD EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
371 TMR2MD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
372 TMR3MD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
373 TMR4MD EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
374 RTCCMD EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
375 CTMUMD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
376 PSPMD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
377
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
378
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
379 ;----- PMD0 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
380 ADCMD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
381 SSP1MD EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
382 SSP2MD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
383 UART1MD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
384 UART2MD EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
385 CCP1MD EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
386 CCP2MD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
387 CCP3MD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
388
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
389
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
390 ;----- PSTR3CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
391 STRA EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
392 STRB EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
393 STRC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
394 STRD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
395 STRSYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
396
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
397 CMPL0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
398 CMPL1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
399
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
400
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
401 ;----- PSTR2CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
402 STRA EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
403 STRB EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
404 STRC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
405 STRD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
406 STRSYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
407
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
408 CMPL0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
409 CMPL1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
410
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
411
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
412 ;----- BAUDCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
413 ABDEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
414 WUE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
415 BRG16 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
416 TXCKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
417 RXDTP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
418 RCIDL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
419 ABDOVF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
420
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
421
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
422 ;----- TXSTA2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
423 TX9D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
424 TRMT EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
425 BRGH EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
426 SENDB EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
427 SYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
428 TXEN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
429 TX9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
430 CSRC EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
431
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
432 TX9D2 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
433 TRMT2 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
434 BRGH2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
435 SENDB2 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
436 SYNC2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
437 TXEN2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
438 TX92 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
439 CSRC2 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
440
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
441
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
442 ;----- RCSTA2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
443 RX9D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
444 OERR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
445 FERR EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
446 ADDEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
447 CREN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
448 SREN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
449 RX9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
450 SPEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
451
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
452 RX9D2 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
453 OERR2 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
454 FERR2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
455 ADDEN2 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
456 CREN2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
457 SREN2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
458 RX92 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
459 SPEN2 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
460
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
461
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
462 ;----- ANCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
463 ANSEL16 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
464 ANSEL17 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
465 ANSEL18 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
466 ANSEL19 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
467 ANSEL20 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
468 ANSEL21 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
469 ANSEL22 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
470 ANSEL23 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
471
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
472
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
473 ;----- ANCON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
474 ANSEL8 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
475 ANSEL9 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
476 ANSEL10 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
477 ANSEL11 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
478 ANSEL12 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
479 ANSEL13 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
480 ANSEL14 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
481 ANSEL15 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
482
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
483
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
484 ;----- ANCON0 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
485 ANSEL0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
486 ANSEL1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
487 ANSEL2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
488 ANSEL3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
489 ANSEL4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
490 ANSEL5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
491 ANSEL6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
492 ANSEL7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
493
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
494
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
495 ;----- MEMCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
496 EBDIS EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
497
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
498 WM0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
499 WM1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
500 WAIT0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
501 WAIT1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
502
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
503
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
504 ;----- ODCON3 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
505 CTMUDS EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
506 U1OD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
507 U2OD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
508
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
509
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
510 ;----- ODCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
511 CCP3OD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
512 CCP4OD EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
513 CCP5OD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
514 CCP6OD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
515 CCP7OD EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
516 CCP8OD EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
517 CCP9OD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
518 CCP10OD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
519
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
520
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
521 ;----- ODCON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
522 SPI2OD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
523 CCP1OD EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
524 CCP2OD EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
525 SPI1OD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
526
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
527
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
528 ;----- REFOCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
529 ROSEL EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
530 ROSSLP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
531 ROON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
532
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
533 RODIV0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
534 RODIV1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
535 RODIV2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
536 RODIV3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
537
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
538
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
539 ;----- CCPTMRS2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
540 C9TSEL0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
541 C10TSEL0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
542
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
543 C8TSEL0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
544 C8TSEL1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
545
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
546
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
547 ;----- CCPTMRS1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
548 C5TSEL0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
549 C6TSEL0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
550
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
551 C4TSEL0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
552 C4TSEL1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
553 C7TSEL0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
554 C7TSEL1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
555
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
556
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
557 ;----- CCPTMRS0 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
558 C1TSEL0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
559 C1TSEL1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
560 C1TSEL2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
561 C2TSEL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
562 C2TSEL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
563 C2TSEL2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
564 C3TSEL0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
565 C3TSEL1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
566
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
567
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
568 ;----- CM3CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
569 CREF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
570 CPOL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
571 COE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
572 CON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
573
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
574 CCH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
575 CCH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
576 EVPOL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
577 EVPOL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
578
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
579
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
580 ;----- CM3CON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
581 CREF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
582 CPOL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
583 COE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
584 CON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
585
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
586 CCH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
587 CCH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
588 EVPOL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
589 EVPOL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
590
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
591
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
592 ;----- CM2CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
593 CREF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
594 CPOL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
595 COE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
596 CON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
597
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
598 CCH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
599 CCH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
600 EVPOL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
601 EVPOL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
602
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
603
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
604 ;----- CM2CON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
605 CREF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
606 CPOL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
607 COE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
608 CON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
609
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
610 CCH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
611 CCH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
612 EVPOL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
613 EVPOL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
614
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
615
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
616 ;----- T12CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
617 TMR12ON EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
618
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
619 T12CKPS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
620 T12CKPS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
621 T12OUTPS0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
622 T12OUTPS1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
623 T12OUTPS2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
624 T12OUTPS3 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
625
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
626
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
627 ;----- T10CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
628 TMR10ON EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
629
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
630 T10CKPS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
631 T10CKPS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
632 T10OUTPS0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
633 T10OUTPS1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
634 T10OUTPS2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
635 T10OUTPS3 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
636
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
637
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
638 ;----- T8CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
639 TMR8ON EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
640
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
641 T8CKPS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
642 T8CKPS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
643 T8OUTPS0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
644 T8OUTPS1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
645 T8OUTPS2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
646 T8OUTPS3 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
647
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
648
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
649 ;----- T6CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
650 TMR6ON EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
651
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
652 T6CKPS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
653 T6CKPS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
654 T6OUTPS0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
655 T6OUTPS1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
656 T6OUTPS2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
657 T6OUTPS3 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
658
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
659
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
660 ;----- T7GCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
661 T7GVAL EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
662 T7GGO_NOT_T7DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
663 T7GSPM EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
664 T7GTM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
665 T7GPOL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
666 TMR7GE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
667
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
668 T7GSS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
669 T7GSS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
670 T7GGO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
671
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
672 NOT_T7DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
673
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
674
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
675 ;----- T7CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
676 TMR7ON EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
677 RD16 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
678 NOT_T7SYNC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
679 SOSCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
680
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
681 T7CKPS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
682 T7CKPS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
683 TMR7CS0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
684 TMR7CS1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
685
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
686
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
687 ;----- CCP10CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
688 CCP10M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
689 CCP10M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
690 CCP10M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
691 CCP10M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
692 DC10B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
693 DC10B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
694
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
695 CCP10Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
696 CCP10X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
697
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
698
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
699 ;----- CCP9CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
700 CCP9M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
701 CCP9M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
702 CCP9M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
703 CCP9M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
704 DC9B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
705 DC9B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
706
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
707 CCP9Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
708 CCP9X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
709
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
710
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
711 ;----- CCP8CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
712 CCP8M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
713 CCP8M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
714 CCP8M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
715 CCP8M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
716 DC8B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
717 DC8B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
718
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
719 CCP8Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
720 CCP8X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
721
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
722
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
723 ;----- CCP3CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
724 CCP3M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
725 CCP3M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
726 CCP3M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
727 CCP3M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
728 DC3B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
729 DC3B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
730 P3M0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
731 P3M1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
732
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
733
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
734 ;----- ECCP3DEL Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
735 P3RSEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
736
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
737 P3DC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
738 P3DC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
739 P3DC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
740 P3DC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
741 P3DC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
742 P3DC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
743 P3DC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
744
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
745
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
746 ;----- ECCP3AS Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
747 ECCP3ASE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
748
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
749 PSS3BD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
750 PSS3BD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
751 PSS3AC0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
752 PSS3AC1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
753 ECCP3AS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
754 ECCP3AS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
755 ECCP3AS2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
756
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
757
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
758 ;----- CCP2CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
759 CCP2M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
760 CCP2M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
761 CCP2M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
762 CCP2M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
763 DC2B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
764 DC2B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
765 P2M0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
766 P2M1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
767
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
768 CCP2Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
769 CCP2X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
770
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
771
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
772 ;----- ECCP2CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
773 CCP2M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
774 CCP2M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
775 CCP2M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
776 CCP2M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
777 DC2B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
778 DC2B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
779 P2M0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
780 P2M1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
781
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
782 CCP2Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
783 CCP2X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
784
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
785
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
786 ;----- ECCP2DEL Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
787 P2RSEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
788
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
789 P2DC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
790 P2DC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
791 P2DC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
792 P2DC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
793 P2DC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
794 P2DC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
795 P2DC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
796
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
797
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
798 ;----- PWM2CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
799 P2RSEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
800
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
801 P2DC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
802 P2DC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
803 P2DC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
804 P2DC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
805 P2DC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
806 P2DC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
807 P2DC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
808
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
809
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
810 ;----- ECCP2AS Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
811 ECCP2ASE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
812
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
813 PSS2BD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
814 PSS2BD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
815 PSS2AC0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
816 PSS2AC1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
817 ECCP2AS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
818 ECCP2AS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
819 ECCP2AS2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
820
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
821
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
822 ;----- PADCFG1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
823 RJPU EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
824 REPU EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
825 RDPU EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
826
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
827 RTSECSEL0 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
828 RTSECSEL1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
829
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
830
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
831 ;----- CM1CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
832 CREF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
833 CPOL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
834 COE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
835 CON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
836
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
837 CCH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
838 CCH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
839 EVPOL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
840 EVPOL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
841
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
842
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
843 ;----- CM1CON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
844 CREF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
845 CPOL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
846 COE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
847 CON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
848
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
849 CCH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
850 CCH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
851 EVPOL0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
852 EVPOL1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
853
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
854
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
855 ;----- CTMUICON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
856 IRNG0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
857 IRNG1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
858 ITRIM0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
859 ITRIM1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
860 ITRIM2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
861 ITRIM3 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
862 ITRIM4 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
863 ITRIM5 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
864
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
865
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
866 ;----- CTMUCONL Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
867 EDG1STAT EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
868 EDG2STAT EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
869 EDG1POL EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
870 EDG2POL EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
871
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
872 EDG1SEL0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
873 EDG1SEL1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
874 EDG2SEL0 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
875 EDG2SEL1 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
876
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
877
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
878 ;----- CTMUCONH Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
879 CTTRIG EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
880 IDISSEN EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
881 EDGSEQEN EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
882 EDGEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
883 TGEN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
884 CTMUSIDL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
885 CTMUEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
886
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
887
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
888 ;----- ALRMRPT Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
889 ARPT0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
890 ARPT1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
891 ARPT2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
892 ARPT3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
893 ARPT4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
894 ARPT5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
895 ARPT6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
896 ARPT7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
897
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
898
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
899 ;----- ALRMCFG Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
900 CHIME EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
901 ALRMEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
902
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
903 ALRMPTR0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
904 ALRMPTR1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
905 AMASK0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
906 AMASK1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
907 AMASK2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
908 AMASK3 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
909
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
910
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
911 ;----- RTCCAL Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
912 CAL0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
913 CAL1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
914 CAL2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
915 CAL3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
916 CAL4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
917 CAL5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
918 CAL6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
919 CAL7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
920
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
921
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
922 ;----- RTCCFG Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
923 RTCOE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
924 HALFSEC EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
925 RTCSYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
926 RTCWREN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
927 RTCEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
928
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
929 RTCPTR0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
930 RTCPTR1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
931
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
932
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
933 ;----- PIE6 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
934 CMP1IE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
935 CMP2IE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
936 CMP3IE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
937 EEIE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
938
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
939
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
940 ;----- OSCCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
941 MFIOSEL EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
942 MFIOFS EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
943 SOSCGO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
944 SOSCRUN EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
945
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
946
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
947 ;----- BAUDCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
948 ABDEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
949 WUE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
950 BRG16 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
951 TXCKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
952 RXDTP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
953 RCIDL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
954 ABDOVF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
955
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
956
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
957 ;----- BAUDCON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
958 ABDEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
959 WUE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
960 BRG16 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
961 TXCKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
962 RXDTP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
963 RCIDL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
964 ABDOVF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
965
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
966
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
967 ;----- BAUDCTL Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
968 ABDEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
969 WUE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
970 BRG16 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
971 TXCKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
972 RXDTP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
973 RCIDL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
974 ABDOVF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
975
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
976
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
977 ;----- SSP2CON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
978 SEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
979 RSEN EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
980 PEN EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
981 RCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
982 ACKEN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
983 ACKDT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
984 ACKSTAT EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
985 GCEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
986
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
987 ADMSK1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
988 ADMSK2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
989 ADMSK3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
990 ADMSK4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
991 ADMSK5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
992
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
993
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
994 ;----- SSP2CON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
995 CKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
996 SSPEN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
997 SSPOV EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
998 WCOL EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
999
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1000 SSPM0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1001 SSPM1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1002 SSPM2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1003 SSPM3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1004
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1005
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1006 ;----- SSP2STAT Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1007 BF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1008 UA EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1009 R_NOT_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1010 S EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1011 P EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1012 D_NOT_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1013 CKE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1014 SMP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1015
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1016 R EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1017 D EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1018
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1019 R_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1020 D_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1021
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1022 NOT_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1023 NOT_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1024
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1025 NOT_WRITE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1026 NOT_ADDRESS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1027
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1028 READ_WRITE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1029 DATA_ADDRESS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1030
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1031 I2C_READ EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1032 I2C_START EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1033 I2C_STOP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1034 I2C_DAT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1035
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1036
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1037 ;----- SSP2MSK Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1038 MSK0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1039 MSK1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1040 MSK2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1041 MSK3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1042 MSK4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1043 MSK5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1044 MSK6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1045 MSK7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1046
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1047
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1048 ;----- T4CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1049 TMR4ON EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1050
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1051 T4CKPS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1052 T4CKPS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1053 T4OUTPS0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1054 T4OUTPS1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1055 T4OUTPS2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1056 T4OUTPS3 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1057
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1058
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1059 ;----- CCP7CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1060 CCP7M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1061 CCP7M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1062 CCP7M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1063 CCP7M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1064 DC7B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1065 DC7B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1066
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1067 CCP7Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1068 CCP7X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1069
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1070
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1071 ;----- CCP6CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1072 CCP6M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1073 CCP6M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1074 CCP6M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1075 CCP6M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1076 DC6B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1077 DC6B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1078
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1079 CCP6Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1080 CCP6X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1081
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1082
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1083 ;----- CCP5CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1084 CCP5M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1085 CCP5M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1086 CCP5M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1087 CCP5M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1088 DC5B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1089 DC5B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1090
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1091 CCP5Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1092 CCP5X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1093
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1094
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1095 ;----- CCP4CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1096 CCP4M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1097 CCP4M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1098 CCP4M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1099 CCP4M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1100 DC4B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1101 DC4B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1102
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1103 CCP4Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1104 CCP4X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1105
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1106
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1107 ;----- T5GCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1108 T5GVAL EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1109 T5GGO_NOT_T5DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1110 T5GSPM EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1111 T5GTM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1112 T5GPOL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1113 TMR5GE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1114
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1115 T5GSS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1116 T5GSS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1117 T5GGO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1118
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1119 NOT_T5DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1120
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1121
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1122 ;----- T5CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1123 TMR5ON EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1124 RD16 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1125 NOT_T5SYNC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1126 SOSCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1127
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1128 T5CKPS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1129 T5CKPS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1130 TMR5CS0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1131 TMR5CS1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1132
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1133
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1134 ;----- EECON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1135 RD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1136 WR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1137 WREN EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1138 WRERR EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1139 FREE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1140 CFGS EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1141 EEPGD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1142
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1143
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1144 ;----- PORTA Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1145 RA0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1146 RA1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1147 RA2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1148 RA3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1149 RA4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1150 RA5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1151 RA6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1152 RA7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1153
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1154 AN0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1155 AN1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1156 AN2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1157 AN3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1158 AN4 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1159 OSC2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1160 OSC1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1161
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1162 ULPWU EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1163 VREF_MINUS EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1164 VREF_PLUS EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1165 T0CKI EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1166 T1CKI EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1167 CLKO EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1168 CLKI EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1169
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1170 T3G EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1171
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1172 HLVDIN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1173
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1174
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1175 ;----- PORTB Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1176 RB0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1177 RB1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1178 RB2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1179 RB3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1180 RB4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1181 RB5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1182 RB6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1183 RB7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1184
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1185 INT0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1186 INT1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1187 INT2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1188 INT3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1189 KBI0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1190 KBI1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1191 KBI2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1192 KBI3 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1193
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1194 FLT0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1195 CTED1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1196 CTED2 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1197 T3CKI EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1198
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1199 CCP2_P2A EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1200 T1G EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1201
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1202 PGM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1203 PGC EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1204 PGD EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1205
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1206
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1207 ;----- PORTC Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1208 RC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1209 RC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1210 RC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1211 RC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1212 RC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1213 RC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1214 RC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1215 RC7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1216
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1217 SOSCO EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1218 SOSCI EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1219 SCK1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1220 SDI1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1221 SDO1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1222 TX1 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1223 RX1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1224
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1225 SCKLI EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1226 CCP2_PORTC EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1227 CCP1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1228 SCL1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1229 SDA1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1230 CK1 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1231 DT1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1232
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1233 P2A_PORTC EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1234 P1A EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1235
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1236
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1237 ;----- PORTD Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1238 RD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1239 RD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1240 RD2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1241 RD3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1242 RD4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1243 RD5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1244 RD6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1245 RD7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1246
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1247 AD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1248 AD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1249 AD2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1250 AD3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1251 AD4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1252 AD5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1253 AD6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1254 AD7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1255
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1256 PSP0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1257 PSP1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1258 PSP2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1259 PSP3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1260 PSP4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1261 PSP5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1262 PSP6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1263 PSP7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1264
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1265 CTPLS EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1266 T5CKI EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1267 SDO2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1268 SDI2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1269 SCK2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1270 NOT_SS2 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1271
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1272 T7G EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1273 SDA2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1274 SCL2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1275
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1276
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1277 ;----- PORTE Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1278 RE0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1279 RE1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1280 RE2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1281 RE3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1282 RE4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1283 RE5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1284 RE6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1285 RE7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1286
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1287 AD8 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1288 AD9 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1289 AD10 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1290 AD11 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1291 AD12 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1292 AD13 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1293 AD14 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1294 AD15 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1295
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1296 P2D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1297 P2C EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1298 P2B EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1299 P3C EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1300 P3B EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1301 P1C EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1302 P1B EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1303 P2A_PORTE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1304
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1305 CCP10 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1306 CCP9_PORTE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1307 CCP8_PORTE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1308 CCP7_PORTE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1309 CCP6_PORTE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1310 CCP2_PORTE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1311
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1312 NOT_RD EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1313 NOT_WR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1314 NOT_CS EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1315 REFO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1316
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1317
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1318 ;----- PORTF Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1319 RF1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1320 RF2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1321 RF3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1322 RF4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1323 RF5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1324 RF6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1325 RF7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1326
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1327 AN6 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1328 AN7 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1329 AN8 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1330 AN9 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1331 AN10 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1332 AN11 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1333 AN5 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1334
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1335 C2OUT EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1336 C1OUT EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1337 C2INB EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1338 C2INA EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1339 C1INB EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1340 C1INA EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1341 SS1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1342
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1343 CTDIN EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1344 CTMUI EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1345 CVREF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1346
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1347
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1348 ;----- PORTG Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1349 RG0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1350 RG1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1351 RG2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1352 RG3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1353 RG4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1354 RG5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1355
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1356 CCP3 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1357 C3OUT EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1358 C3INA EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1359 C3INB EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1360 C3INC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1361
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1362 PA3 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1363 TX2 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1364 RX2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1365 PD3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1366 PD1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1367
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1368 AN19 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1369 AN18 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1370 AN17 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1371 AN16 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1372
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1373 CK2 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1374 DT2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1375 CCP4 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1376 CCP5 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1377
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1378 T7CKI EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1379
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1380 T5G EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1381
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1382 RTCC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1383
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1384
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1385 ;----- PORTH Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1386 RH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1387 RH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1388 RH2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1389 RH3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1390 RH4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1391 RH5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1392 RH6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1393 RH7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1394
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1395 AN23 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1396 AN22 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1397 AN21 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1398 AN20 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1399 AN12 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1400 AN13 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1401 AN14 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1402 AN15 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1403
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1404 A16 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1405 A17 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1406 A18 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1407 A19 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1408 CCP9_PORTH EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1409 CCP8_PORTH EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1410 CCP7_PORTH EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1411 CCP6_PORTH EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1412
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1413 PC3 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1414 PB3 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1415 PC1 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1416 PB1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1417
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1418 C2INC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1419 C2IND EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1420 C1INC EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1421
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1422
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1423 ;----- PORTJ Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1424 RJ0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1425 RJ1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1426 RJ2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1427 RJ3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1428 RJ4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1429 RJ5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1430 RJ6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1431 RJ7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1432
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1433 ALE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1434 OE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1435 WRL EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1436 WRH EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1437 BA0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1438 CE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1439 LB EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1440 UB EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1441
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1442
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1443 ;----- LATA Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1444 LATA0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1445 LATA1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1446 LATA2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1447 LATA3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1448 LATA4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1449 LATA5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1450 LATA6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1451 LATA7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1452
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1453
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1454 ;----- LATB Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1455 LATB0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1456 LATB1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1457 LATB2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1458 LATB3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1459 LATB4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1460 LATB5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1461 LATB6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1462 LATB7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1463
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1464
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1465 ;----- LATC Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1466 LATC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1467 LATC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1468 LATC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1469 LATC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1470 LATC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1471 LATC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1472 LATC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1473 LATC7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1474
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1475
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1476 ;----- LATD Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1477 LATD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1478 LATD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1479 LATD2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1480 LATD3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1481 LATD4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1482 LATD5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1483 LATD6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1484 LATD7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1485
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1486
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1487 ;----- LATE Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1488 LATE0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1489 LATE1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1490 LATE2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1491 LATE3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1492 LATE4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1493 LATE5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1494 LATE6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1495 LATE7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1496
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1497
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1498 ;----- LATF Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1499 LATF1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1500 LATF2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1501 LATF3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1502 LATF4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1503 LATF5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1504 LATF6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1505 LATF7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1506
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1507
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1508 ;----- LATG Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1509 LATG0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1510 LATG1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1511 LATG2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1512 LATG3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1513 LATG4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1514
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1515
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1516 ;----- LATH Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1517 LATH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1518 LATH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1519 LATH2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1520 LATH3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1521 LATH4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1522 LATH5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1523 LATH6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1524 LATH7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1525
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1526
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1527 ;----- LATJ Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1528 LATJ0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1529 LATJ1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1530 LATJ2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1531 LATJ3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1532 LATJ4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1533 LATJ5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1534 LATJ6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1535 LATJ7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1536
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1537
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1538 ;----- TRISA Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1539 TRISA0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1540 TRISA1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1541 TRISA2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1542 TRISA3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1543 TRISA4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1544 TRISA5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1545 TRISA6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1546 TRISA7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1547
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1548
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1549 ;----- TRISB Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1550 TRISB0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1551 TRISB1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1552 TRISB2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1553 TRISB3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1554 TRISB4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1555 TRISB5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1556 TRISB6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1557 TRISB7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1558
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1559
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1560 ;----- TRISC Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1561 TRISC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1562 TRISC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1563 TRISC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1564 TRISC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1565 TRISC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1566 TRISC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1567 TRISC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1568 TRISC7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1569
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1570
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1571 ;----- TRISD Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1572 TRISD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1573 TRISD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1574 TRISD2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1575 TRISD3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1576 TRISD4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1577 TRISD5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1578 TRISD6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1579 TRISD7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1580
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1581
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1582 ;----- TRISE Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1583 TRISE0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1584 TRISE1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1585 TRISE2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1586 TRISE3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1587 TRISE4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1588 TRISE5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1589 TRISE6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1590 TRISE7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1591
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1592
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1593 ;----- TRISF Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1594 TRISF1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1595 TRISF2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1596 TRISF3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1597 TRISF4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1598 TRISF5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1599 TRISF6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1600 TRISF7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1601
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1602
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1603 ;----- TRISG Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1604 TRISG0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1605 TRISG1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1606 TRISG2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1607 TRISG3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1608 TRISG4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1609
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1610
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1611 ;----- TRISH Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1612 TRISH0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1613 TRISH1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1614 TRISH2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1615 TRISH3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1616 TRISH4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1617 TRISH5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1618 TRISH6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1619 TRISH7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1620
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1621
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1622 ;----- TRISJ Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1623 TRISJ0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1624 TRISJ1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1625 TRISJ2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1626 TRISJ3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1627 TRISJ4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1628 TRISJ5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1629 TRISJ6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1630 TRISJ7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1631
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1632
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1633 ;----- OSCTUNE Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1634 PLLEN EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1635 INTSRC EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1636
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1637 TUN0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1638 TUN1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1639 TUN2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1640 TUN3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1641 TUN4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1642 TUN5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1643
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1644
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1645 ;----- PSTR1CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1646 STRA EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1647 STRB EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1648 STRC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1649 STRD EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1650 STRSYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1651
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1652 CMPL0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1653 CMPL1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1654
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1655
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1656 ;----- PIE1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1657 TMR1IE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1658 TMR2IE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1659 TMR1GIE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1660 SSP1IE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1661 TX1IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1662 RC1IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1663 ADIE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1664 PSPIE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1665
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1666 SSPIE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1667 TXIE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1668 RCIE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1669
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1670
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1671 ;----- PIR1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1672 TMR1IF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1673 TMR2IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1674 TMR1GIF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1675 SSP1IF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1676 TX1IF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1677 RC1IF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1678 ADIF EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1679 PSPIF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1680
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1681 SSPIF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1682 TXIF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1683 RCIF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1684
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1685
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1686 ;----- IPR1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1687 TMR1IP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1688 TMR2IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1689 TMR1GIP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1690 SSP1IP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1691 TX1IP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1692 RC1IP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1693 ADIP EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1694 PSPIP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1695
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1696 SSPIP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1697 TXIP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1698 RCIP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1699
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1700
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1701 ;----- PIE2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1702 TMR3GIE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1703 TMR3IE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1704 HLVDIE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1705 BCL1IE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1706 BCL2IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1707 SSP2IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1708 OSCFIE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1709
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1710 LVDIE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1711 BCLIE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1712
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1713
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1714 ;----- PIR2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1715 TMR3GIF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1716 TMR3IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1717 HLVDIF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1718 BCL1IF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1719 BCL2IF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1720 SSP2IF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1721 OSCFIF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1722
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1723 LVDIF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1724 BCLIF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1725
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1726
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1727 ;----- IPR2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1728 TMR3GIP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1729 TMR3IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1730 HLVDIP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1731 BCL1IP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1732 BCL2IP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1733 SSP2IP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1734 OSCFIP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1735
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1736 LVDIP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1737 BCLIP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1738
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1739
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1740 ;----- PIE3 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1741 RTCCIE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1742 CCP1IE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1743 CCP2IE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1744 CTMUIE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1745 TX2IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1746 RC2IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1747 TMR5GIE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1748
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1749
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1750 ;----- PIR3 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1751 RTCCIF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1752 CCP1IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1753 CCP2IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1754 CTMUIF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1755 TX2IF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1756 RC2IF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1757 TMR5GIF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1758
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1759
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1760 ;----- IPR3 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1761 RTCCIP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1762 CCP1IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1763 CCP2IP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1764 CTMUIP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1765 TX2IP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1766 RC2IP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1767 TMR5GIP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1768
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1769
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1770 ;----- PIR6 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1771 CMP1IF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1772 CMP2IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1773 CMP3IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1774 EEIF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1775
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1776
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1777 ;----- PSPCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1778 PSPMODE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1779 IBOV EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1780 OBF EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1781 IBF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1782
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1783
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1784 ;----- HLVDCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1785 HLVDEN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1786 IRVST EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1787 BGVST EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1788 VDIRMAG EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1789
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1790 HLVDL0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1791 HLVDL1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1792 HLVDL2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1793 HLVDL3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1794
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1795
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1796 ;----- IPR6 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1797 CMP1IP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1798 CMP2IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1799 CMP3IP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1800 EEIP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1801
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1802
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1803 ;----- T1GCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1804 T1GVAL EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1805 T1GGO_NOT_T1DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1806 T1GSPM EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1807 T1GTM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1808 T1GPOL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1809 TMR1GE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1810
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1811 T1GSS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1812 T1GSS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1813 T1GGO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1814
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1815 NOT_T1DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1816
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1817
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1818 ;----- RCSTA Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1819 RX9D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1820 OERR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1821 FERR EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1822 ADDEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1823 CREN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1824 SREN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1825 RX9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1826 SPEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1827
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1828 RCD8 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1829 ADEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1830 RC9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1831
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1832 NOT_RC8 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1833
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1834 RC8_9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1835
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1836 RX9D1 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1837 OERR1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1838 FERR1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1839 ADDEN1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1840 CREN1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1841 SREN1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1842 RX91 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1843 SPEN1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1844
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1845
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1846 ;----- RCSTA1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1847 RX9D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1848 OERR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1849 FERR EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1850 ADDEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1851 CREN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1852 SREN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1853 RX9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1854 SPEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1855
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1856 RCD8 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1857 ADEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1858 RC9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1859
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1860 NOT_RC8 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1861
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1862 RC8_9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1863
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1864 RX9D1 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1865 OERR1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1866 FERR1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1867 ADDEN1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1868 CREN1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1869 SREN1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1870 RX91 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1871 SPEN1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1872
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1873
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1874 ;----- TXSTA Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1875 TX9D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1876 TRMT EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1877 BRGH EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1878 SENDB EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1879 SYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1880 TXEN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1881 TX9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1882 CSRC EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1883
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1884 TXD8 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1885 TX8_9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1886
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1887 NOT_TX8 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1888
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1889 TX9D1 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1890 TRMT1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1891 BRGH1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1892 SENDB1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1893 SYNC1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1894 TXEN1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1895 TX91 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1896 CSRC1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1897
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1898
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1899 ;----- TXSTA1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1900 TX9D EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1901 TRMT EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1902 BRGH EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1903 SENDB EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1904 SYNC EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1905 TXEN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1906 TX9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1907 CSRC EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1908
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1909 TXD8 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1910 TX8_9 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1911
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1912 NOT_TX8 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1913
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1914 TX9D1 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1915 TRMT1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1916 BRGH1 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1917 SENDB1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1918 SYNC1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1919 TXEN1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1920 TX91 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1921 CSRC1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1922
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1923
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1924 ;----- T3GCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1925 T3GVAL EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1926 T3GGO_NOT_T3DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1927 T3GSPM EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1928 T3GTM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1929 T3GPOL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1930 TMR3GE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1931
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1932 T3GSS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1933 T3GSS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1934 T3GGO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1935
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1936 NOT_T3DONE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1937
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1938
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1939 ;----- T3CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1940 TMR3ON EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1941 RD16 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1942 NOT_T3SYNC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1943 SOSCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1944
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1945 T3CKPS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1946 T3CKPS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1947 TMR3CS0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1948 TMR3CS1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1949
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1950
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1951 ;----- CMSTAT Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1952 CMP1OUT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1953 CMP2OUT EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1954 CMP3OUT EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1955
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1956
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1957 ;----- CMSTATUS Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1958 CMP1OUT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1959 CMP2OUT EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1960 CMP3OUT EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1961
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1962
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1963 ;----- CVRCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1964 CVRSS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1965 CVROE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1966 CVREN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1967
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1968 CVR0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1969 CVR1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1970 CVR2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1971 CVR3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1972 CVR4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1973
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1974
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1975 ;----- PIE4 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1976 CCP3IE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1977 CCP4IE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1978 CCP5IE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1979 CCP6IE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1980 CCP7IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1981 CCP8IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1982 CCP9IE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1983 CCP10IE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1984
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1985
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1986 ;----- PIR4 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1987 CCP3IF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1988 CCP4IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1989 CCP5IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1990 CCP6IF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1991 CCP7IF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1992 CCP8IF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1993 CCP9IF EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1994 CCP10IF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1995
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1996
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1997 ;----- IPR4 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1998 CCP3IP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
1999 CCP4IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2000 CCP5IP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2001 CCP6IP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2002 CCP7IP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2003 CCP8IP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2004 CCP9IP EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2005 CCP10IP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2006
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2007
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2008 ;----- PIE5 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2009 TMR4IE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2010 TMR5IE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2011 TMR6IE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2012 TMR7IE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2013 TMR8IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2014 TMR10IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2015 TMR12IE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2016 TMR7GIE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2017
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2018
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2019 ;----- PIR5 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2020 TMR4IF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2021 TMR5IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2022 TMR6IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2023 TMR7IF EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2024 TMR8IF EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2025 TMR10IF EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2026 TMR12IF EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2027 TMR7GIF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2028
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2029
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2030 ;----- CCP1CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2031 CCP1M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2032 CCP1M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2033 CCP1M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2034 CCP1M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2035 DC1B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2036 DC1B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2037 P1M0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2038 P1M1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2039
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2040 CCP1Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2041 CCP1X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2042
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2043
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2044 ;----- ECCP1CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2045 CCP1M0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2046 CCP1M1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2047 CCP1M2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2048 CCP1M3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2049 DC1B0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2050 DC1B1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2051 P1M0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2052 P1M1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2053
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2054 CCP1Y EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2055 CCP1X EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2056
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2057
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2058 ;----- ECCP1DEL Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2059 P1RSEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2060
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2061 P1DC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2062 P1DC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2063 P1DC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2064 P1DC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2065 P1DC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2066 P1DC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2067 P1DC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2068
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2069
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2070 ;----- PWM1CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2071 P1RSEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2072
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2073 P1DC0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2074 P1DC1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2075 P1DC2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2076 P1DC3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2077 P1DC4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2078 P1DC5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2079 P1DC6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2080
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2081
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2082 ;----- ECCP1AS Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2083 ECCP1ASE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2084
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2085 PSS1BD0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2086 PSS1BD1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2087 PSS1AC0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2088 PSS1AC1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2089 ECCP1AS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2090 ECCP1AS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2091 ECCP1AS2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2092
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2093
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2094 ;----- ADCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2095 ADFM EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2096
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2097 ADCS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2098 ADCS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2099 ADCS2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2100 ACQT0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2101 ACQT1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2102 ACQT2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2103
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2104
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2105 ;----- ADCON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2106 VNCFG EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2107
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2108 CHSN0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2109 CHSN1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2110 CHSN2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2111 VCFG0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2112 VCFG1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2113 TRIGSEL0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2114 TRIGSEL1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2115
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2116
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2117 ;----- ADCON0 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2118 ADON EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2119 GO_NOT_DONE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2120
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2121 DONE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2122 CHS0 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2123 CHS1 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2124 CHS2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2125 CHS3 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2126 CHS4 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2127
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2128 GO EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2129
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2130 NOT_DONE EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2131
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2132
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2133 ;----- SSP1CON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2134 SEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2135 RSEN EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2136 PEN EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2137 RCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2138 ACKEN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2139 ACKDT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2140 ACKSTAT EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2141 GCEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2142
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2143 ADMSK1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2144 ADMSK2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2145 ADMSK3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2146 ADMSK4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2147 ADMSK5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2148
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2149
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2150 ;----- SSPCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2151 SEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2152 RSEN EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2153 PEN EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2154 RCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2155 ACKEN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2156 ACKDT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2157 ACKSTAT EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2158 GCEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2159
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2160 ADMSK1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2161 ADMSK2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2162 ADMSK3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2163 ADMSK4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2164 ADMSK5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2165
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2166
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2167 ;----- SSP1CON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2168 CKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2169 SSPEN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2170 SSPOV EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2171 WCOL EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2172
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2173 SSPM0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2174 SSPM1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2175 SSPM2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2176 SSPM3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2177
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2178
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2179 ;----- SSPCON1 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2180 CKP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2181 SSPEN EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2182 SSPOV EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2183 WCOL EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2184
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2185 SSPM0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2186 SSPM1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2187 SSPM2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2188 SSPM3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2189
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2190
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2191 ;----- SSP1STAT Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2192 BF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2193 UA EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2194 R_NOT_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2195 S EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2196 P EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2197 D_NOT_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2198 CKE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2199 SMP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2200
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2201 R EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2202 D EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2203
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2204 R_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2205 D_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2206
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2207 NOT_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2208 NOT_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2209
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2210 NOT_WRITE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2211 NOT_ADDRESS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2212
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2213 READ_WRITE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2214 DATA_ADDRESS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2215
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2216 I2C_READ EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2217 I2C_START EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2218 I2C_STOP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2219 I2C_DAT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2220
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2221
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2222 ;----- SSPSTAT Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2223 BF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2224 UA EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2225 R_NOT_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2226 S EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2227 P EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2228 D_NOT_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2229 CKE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2230 SMP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2231
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2232 R EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2233 D EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2234
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2235 R_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2236 D_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2237
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2238 NOT_W EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2239 NOT_A EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2240
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2241 NOT_WRITE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2242 NOT_ADDRESS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2243
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2244 READ_WRITE EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2245 DATA_ADDRESS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2246
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2247 I2C_READ EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2248 I2C_START EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2249 I2C_STOP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2250 I2C_DAT EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2251
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2252
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2253 ;----- SSP1MSK Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2254 MSK0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2255 MSK1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2256 MSK2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2257 MSK3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2258 MSK4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2259 MSK5 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2260 MSK6 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2261 MSK7 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2262
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2263
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2264 ;----- T2CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2265 TMR2ON EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2266
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2267 T2CKPS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2268 T2CKPS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2269 T2OUTPS0 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2270 T2OUTPS1 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2271 T2OUTPS2 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2272 T2OUTPS3 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2273
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2274
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2275 ;----- T1CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2276 TMR1ON EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2277 RD16 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2278 NOT_T1SYNC EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2279 SOSCEN EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2280
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2281 T1CKPS0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2282 T1CKPS1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2283 TMR1CS0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2284 TMR1CS1 EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2285
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2286
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2287 ;----- RCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2288 NOT_BOR EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2289 NOT_POR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2290 NOT_PD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2291 NOT_TO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2292 NOT_RI EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2293 NOT_CM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2294 SBOREN EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2295 IPEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2296
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2297 BOR EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2298 POR EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2299 PD EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2300 TO EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2301 RI EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2302 CM EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2303
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2304
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2305 ;----- WDTCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2306 SWDTEN EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2307 ULPSINK EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2308 ULPEN EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2309 SRETEN EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2310 ULPLVL EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2311 REGSLP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2312
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2313 SWDTE EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2314
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2315
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2316 ;----- IPR5 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2317 TMR4IP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2318 TMR5IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2319 TMR6IP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2320 TMR7IP EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2321 TMR8IP EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2322 TMR10IP EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2323 TMR12IP EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2324 TMR7GIP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2325
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2326
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2327 ;----- OSCCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2328 HFIOFS EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2329 OSTS EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2330 IDLEN EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2331
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2332 SCS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2333 SCS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2334 IRCF0 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2335 IRCF1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2336 IRCF2 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2337
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2338
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2339 ;----- T0CON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2340 PSA EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2341 T0SE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2342 T0CS EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2343 T08BIT EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2344 TMR0ON EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2345
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2346 T0PS0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2347 T0PS1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2348 T0PS2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2349
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2350
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2351 ;----- STATUS Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2352 C EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2353 DC EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2354 Z EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2355 OV EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2356 N EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2357
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2358
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2359 ;----- INTCON3 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2360 INT1IF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2361 INT2IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2362 INT3IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2363 INT1IE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2364 INT2IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2365 INT3IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2366 INT1IP EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2367 INT2IP EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2368
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2369 INT1F EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2370 INT2F EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2371 INT3F EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2372 INT1E EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2373 INT2E EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2374 INT3E EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2375 INT1P EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2376 INT2P EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2377
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2378
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2379 ;----- INTCON2 Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2380 RBIP EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2381 INT3IP EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2382 TMR0IP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2383 INTEDG3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2384 INTEDG2 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2385 INTEDG1 EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2386 INTEDG0 EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2387 NOT_RBPU EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2388
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2389 INT3P EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2390 T0IP EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2391 RBPU EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2392
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2393
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2394 ;----- INTCON Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2395 RBIF EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2396 INT0IF EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2397 TMR0IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2398 RBIE EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2399 INT0IE EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2400 TMR0IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2401 PEIE_GIEL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2402 GIE_GIEH EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2403
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2404 INT0F EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2405 T0IF EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2406 INT0E EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2407 T0IE EQU H'0005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2408 PEIE EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2409 GIE EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2410
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2411 GIEL EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2412 GIEH EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2413
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2414
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2415 ;----- STKPTR Bits -----------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2416 STKUNF EQU H'0006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2417 STKFUL EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2418
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2419 SP0 EQU H'0000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2420 SP1 EQU H'0001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2421 SP2 EQU H'0002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2422 SP3 EQU H'0003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2423 SP4 EQU H'0004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2424 STKOVF EQU H'0007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2425
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2426
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2427
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2428 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2429 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2430 ; RAM Definitions
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2431 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2432 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2433 __MAXRAM H'0FFF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2434
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2435 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2436 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2437 ; IMPORTANT: For the PIC18 devices, the __CONFIG directive has been
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2438 ; superseded by the CONFIG directive. The following settings
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2439 ; are available for this device.
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2440 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2441 ; VREG Sleep Enable bit:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2442 ; RETEN = OFF Disabled - Controlled by SRETEN bit
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2443 ; RETEN = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2444 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2445 ; LF-INTOSC Low-power Enable bit:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2446 ; INTOSCSEL = LOW LF-INTOSC in Low-power mode during Sleep
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2447 ; INTOSCSEL = HIGH LF-INTOSC in High-power mode during Sleep
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2448 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2449 ; SOSC Power Selection and mode Configuration bits:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2450 ; SOSCSEL = LOW Low Power SOSC circuit selected
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2451 ; SOSCSEL = DIG Digital (SCLKI) mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2452 ; SOSCSEL = HIGH High Power SOSC circuit selected
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2453 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2454 ; Extended Instruction Set:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2455 ; XINST = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2456 ; XINST = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2457 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2458 ; Oscillator:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2459 ; FOSC = LP LP oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2460 ; FOSC = XT XT oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2461 ; FOSC = HS2 HS oscillator (High power, 16 MHz - 25 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2462 ; FOSC = HS1 HS oscillator (Medium power, 4 MHz - 16 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2463 ; FOSC = EC3IO EC oscillator, CLKOUT function on OSC2 (High power, 16 MHz - 64 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2464 ; FOSC = EC3 EC oscillator (High power, 16 MHz - 64 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2465 ; FOSC = RC External RC oscillator, CLKOUT function on OSC2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2466 ; FOSC = RCIO External RC oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2467 ; FOSC = INTIO2 Internal RC oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2468 ; FOSC = INTIO1 Internal RC oscillator, CLKOUT function on OSC2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2469 ; FOSC = EC2IO EC oscillator, CLKOUT function on OSC2 (Medium power, 160 kHz - 4 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2470 ; FOSC = EC2 EC oscillator (Medium power, 160 kHz - 4 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2471 ; FOSC = EC1IO EC oscillator, CLKOUT function on OSC2 (Low power, DC - 160 kHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2472 ; FOSC = EC1 EC oscillator (Low power, DC - 160 kHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2473 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2474 ; PLL x4 Enable bit:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2475 ; PLLCFG = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2476 ; PLLCFG = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2477 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2478 ; Fail-Safe Clock Monitor:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2479 ; FCMEN = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2480 ; FCMEN = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2481 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2482 ; Internal External Oscillator Switch Over Mode:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2483 ; IESO = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2484 ; IESO = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2485 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2486 ; Power Up Timer:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2487 ; PWRTEN = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2488 ; PWRTEN = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2489 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2490 ; Brown Out Detect:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2491 ; BOREN = OFF Disabled in hardware, SBOREN disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2492 ; BOREN = ON Controlled with SBOREN bit
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2493 ; BOREN = NOSLP Enabled while active, disabled in SLEEP, SBOREN disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2494 ; BOREN = SBORDIS Enabled in hardware, SBOREN disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2495 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2496 ; Brown-out Reset Voltage bits:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2497 ; BORV = 0 3.0V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2498 ; BORV = 1 2.7V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2499 ; BORV = 2 2.0V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2500 ; BORV = 3 1.8V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2501 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2502 ; BORMV Power level:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2503 ; BORPWR = LOW BORMV set to low power level
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2504 ; BORPWR = MEDIUM BORMV set to medium power level
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2505 ; BORPWR = HIGH BORMV set to high power level
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2506 ; BORPWR = ZPBORMV ZPBORMV instead of BORMV is selected
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2507 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2508 ; Watchdog Timer:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2509 ; WDTEN = OFF WDT disabled in hardware; SWDTEN bit disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2510 ; WDTEN = NOSLP WDT enabled only while device is active and disabled in Sleep mode; SWDTEN bit disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2511 ; WDTEN = ON WDT controlled by SWDTEN bit setting
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2512 ; WDTEN = SWDTDIS WDT enabled in hardware; SWDTEN bit disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2513 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2514 ; Watchdog Postscaler:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2515 ; WDTPS = 1 1:1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2516 ; WDTPS = 2 1:2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2517 ; WDTPS = 4 1:4
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2518 ; WDTPS = 8 1:8
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2519 ; WDTPS = 16 1:16
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2520 ; WDTPS = 32 1:32
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2521 ; WDTPS = 64 1:64
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2522 ; WDTPS = 128 1:128
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2523 ; WDTPS = 256 1:256
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2524 ; WDTPS = 512 1:512
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2525 ; WDTPS = 1024 1:1024
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2526 ; WDTPS = 2048 1:2048
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2527 ; WDTPS = 4096 1:4096
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2528 ; WDTPS = 8192 1:8192
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2529 ; WDTPS = 16384 1:16384
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2530 ; WDTPS = 32768 1:32768
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2531 ; WDTPS = 65536 1:65536
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2532 ; WDTPS = 131072 1:131072
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2533 ; WDTPS = 262144 1:262144
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2534 ; WDTPS = 524288 1:524288
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2535 ; WDTPS = 1048576 1:1048576
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2536 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2537 ; RTCC Clock Select:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2538 ; RTCOSC = INTOSCREF RTCC uses INTRC
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2539 ; RTCOSC = SOSCREF RTCC uses SOSC
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2540 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2541 ; External Address Shift bit:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2542 ; EASHFT = OFF Address Shifting disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2543 ; EASHFT = ON Address Shifting enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2544 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2545 ; Address Bus Width Select bits:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2546 ; ABW = XM20 20-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2547 ; ABW = XM16 16-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2548 ; ABW = XM12 12-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2549 ; ABW = MM 8-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2550 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2551 ; Data Bus Width:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2552 ; BW = 8 8-bit external bus mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2553 ; BW = 16 16-bit external bus mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2554 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2555 ; External Bus Wait:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2556 ; WAIT = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2557 ; WAIT = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2558 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2559 ; CCP2 Mux:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2560 ; CCP2MX = PORTBE RE7-Microcontroller Mode/RB3-All other modes
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2561 ; CCP2MX = PORTC RC1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2562 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2563 ; ECCP Mux:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2564 ; ECCPMX = PORTH Enhanced CCP1/3 [P1B/P1C/P3B/P3C] muxed with RH7/RH6/RH5/RH4
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2565 ; ECCPMX = PORTE Enhanced CCP1/3 [P1B/P1C/P3B/P3C] muxed with RE6/RE5/RE4/RE3
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2566 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2567 ; MSSP address masking:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2568 ; MSSPMSK = MSK5 5 bit address masking mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2569 ; MSSPMSK = MSK7 7 Bit address masking mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2570 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2571 ; Master Clear Enable:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2572 ; MCLRE = OFF MCLR Disabled, RG5 Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2573 ; MCLRE = ON MCLR Enabled, RG5 Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2574 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2575 ; Stack Overflow Reset:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2576 ; STVREN = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2577 ; STVREN = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2578 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2579 ; Boot Block Size:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2580 ; BBSIZ = BB1K 1K word Boot Block size
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2581 ; BBSIZ = BB2K 2K word Boot Block size
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2582 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2583 ; Background Debug:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2584 ; DEBUG = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2585 ; DEBUG = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2586 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2587 ; Code Protect 00800-03FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2588 ; CP0 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2589 ; CP0 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2590 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2591 ; Code Protect 04000-07FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2592 ; CP1 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2593 ; CP1 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2594 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2595 ; Code Protect 08000-0BFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2596 ; CP2 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2597 ; CP2 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2598 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2599 ; Code Protect 0C000-0FFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2600 ; CP3 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2601 ; CP3 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2602 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2603 ; Code Protect 10000-13FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2604 ; CP4 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2605 ; CP4 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2606 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2607 ; Code Protect 14000-17FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2608 ; CP5 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2609 ; CP5 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2610 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2611 ; Code Protect 18000-1BFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2612 ; CP6 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2613 ; CP6 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2614 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2615 ; Code Protect 1C000-1FFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2616 ; CP7 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2617 ; CP7 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2618 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2619 ; Code Protect Boot:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2620 ; CPB = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2621 ; CPB = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2622 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2623 ; Data EE Read Protect:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2624 ; CPD = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2625 ; CPD = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2626 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2627 ; Table Write Protect 00800-03FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2628 ; WRT0 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2629 ; WRT0 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2630 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2631 ; Table Write Protect 04000-07FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2632 ; WRT1 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2633 ; WRT1 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2634 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2635 ; Table Write Protect 08000-0BFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2636 ; WRT2 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2637 ; WRT2 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2638 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2639 ; Table Write Protect 0C000-0FFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2640 ; WRT3 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2641 ; WRT3 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2642 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2643 ; Table Write Protect 10000-13FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2644 ; WRT4 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2645 ; WRT4 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2646 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2647 ; Table Write Protect 14000-17FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2648 ; WRT5 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2649 ; WRT5 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2650 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2651 ; Table Write Protect 18000-1BFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2652 ; WRT6 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2653 ; WRT6 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2654 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2655 ; Table Write Protect 1C000-1FFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2656 ; WRT7 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2657 ; WRT7 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2658 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2659 ; Config. Write Protect:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2660 ; WRTC = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2661 ; WRTC = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2662 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2663 ; Table Write Protect Boot:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2664 ; WRTB = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2665 ; WRTB = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2666 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2667 ; Data EE Write Protect:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2668 ; WRTD = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2669 ; WRTD = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2670 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2671 ; Table Read Protect 00800-03FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2672 ; EBRT0 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2673 ; EBRT0 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2674 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2675 ; Table Read Protect 04000-07FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2676 ; EBRT1 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2677 ; EBRT1 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2678 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2679 ; Table Read Protect 08000-0BFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2680 ; EBRT2 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2681 ; EBRT2 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2682 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2683 ; Table Read Protect 0C000-0FFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2684 ; EBRT3 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2685 ; EBRT3 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2686 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2687 ; Table Read Protect 10000-13FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2688 ; EBRT4 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2689 ; EBRT4 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2690 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2691 ; Table Read Protect 14000-17FFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2692 ; EBRT5 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2693 ; EBRT5 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2694 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2695 ; Table Read Protect 18000-1BFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2696 ; EBRT6 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2697 ; EBRT6 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2698 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2699 ; Table Read Protect 1C000-1FFFF:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2700 ; EBRT7 = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2701 ; EBRT7 = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2702 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2703 ; Table Read Protect Boot:
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2704 ; EBRTB = ON Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2705 ; EBRTB = OFF Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2706 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2707 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2708 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2709 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2710 ; Configuration Bits
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2711 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2712 ; NAME Address
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2713 ; CONFIG1L 300000h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2714 ; CONFIG1H 300001h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2715 ; CONFIG2L 300002h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2716 ; CONFIG2H 300003h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2717 ; CONFIG3L 300004h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2718 ; CONFIG3H 300005h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2719 ; CONFIG4L 300006h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2720 ; CONFIG5L 300008h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2721 ; CONFIG5H 300009h
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2722 ; CONFIG6L 30000Ah
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2723 ; CONFIG6H 30000Bh
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2724 ; CONFIG7L 30000Ch
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2725 ; CONFIG7H 30000Dh
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2726 ;
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2727 ;==========================================================================
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2728
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2729 ; The following is an assignment of address values for all of the
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2730 ; configuration registers for the purpose of table reads
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2731 _CONFIG1L EQU H'300000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2732 _CONFIG1H EQU H'300001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2733 _CONFIG2L EQU H'300002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2734 _CONFIG2H EQU H'300003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2735 _CONFIG3L EQU H'300004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2736 _CONFIG3H EQU H'300005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2737 _CONFIG4L EQU H'300006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2738 _CONFIG5L EQU H'300008'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2739 _CONFIG5H EQU H'300009'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2740 _CONFIG6L EQU H'30000A'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2741 _CONFIG6H EQU H'30000B'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2742 _CONFIG7L EQU H'30000C'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2743 _CONFIG7H EQU H'30000D'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2744
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2745 ;----- CONFIG1L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2746 _RETEN_OFF_1L EQU H'FE' ; Disabled - Controlled by SRETEN bit
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2747 _RETEN_ON_1L EQU H'FF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2748
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2749 _INTOSCSEL_LOW_1L EQU H'FB' ; LF-INTOSC in Low-power mode during Sleep
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2750 _INTOSCSEL_HIGH_1L EQU H'FF' ; LF-INTOSC in High-power mode during Sleep
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2751
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2752 _SOSCSEL_LOW_1L EQU H'EF' ; Low Power SOSC circuit selected
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2753 _SOSCSEL_DIG_1L EQU H'F7' ; Digital (SCLKI) mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2754 _SOSCSEL_HIGH_1L EQU H'FF' ; High Power SOSC circuit selected
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2755
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2756 _XINST_OFF_1L EQU H'BF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2757 _XINST_ON_1L EQU H'FF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2758
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2759 ;----- CONFIG1H Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2760 _FOSC_LP_1H EQU H'F0' ; LP oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2761 _FOSC_XT_1H EQU H'F1' ; XT oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2762 _FOSC_HS2_1H EQU H'F2' ; HS oscillator (High power, 16 MHz - 25 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2763 _FOSC_HS1_1H EQU H'F3' ; HS oscillator (Medium power, 4 MHz - 16 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2764 _FOSC_EC3IO_1H EQU H'F4' ; EC oscillator, CLKOUT function on OSC2 (High power, 16 MHz - 64 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2765 _FOSC_EC3_1H EQU H'F5' ; EC oscillator (High power, 16 MHz - 64 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2766 _FOSC_RC_1H EQU H'F6' ; External RC oscillator, CLKOUT function on OSC2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2767 _FOSC_RCIO_1H EQU H'F7' ; External RC oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2768 _FOSC_INTIO2_1H EQU H'F8' ; Internal RC oscillator
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2769 _FOSC_INTIO1_1H EQU H'F9' ; Internal RC oscillator, CLKOUT function on OSC2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2770 _FOSC_EC2IO_1H EQU H'FA' ; EC oscillator, CLKOUT function on OSC2 (Medium power, 160 kHz - 4 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2771 _FOSC_EC2_1H EQU H'FB' ; EC oscillator (Medium power, 160 kHz - 4 MHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2772 _FOSC_EC1IO_1H EQU H'FC' ; EC oscillator, CLKOUT function on OSC2 (Low power, DC - 160 kHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2773 _FOSC_EC1_1H EQU H'FD' ; EC oscillator (Low power, DC - 160 kHz)
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2774
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2775 _PLLCFG_OFF_1H EQU H'EF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2776 _PLLCFG_ON_1H EQU H'FF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2777
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2778 _FCMEN_OFF_1H EQU H'BF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2779 _FCMEN_ON_1H EQU H'FF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2780
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2781 _IESO_OFF_1H EQU H'7F' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2782 _IESO_ON_1H EQU H'FF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2783
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2784 ;----- CONFIG2L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2785 _PWRTEN_ON_2L EQU H'FE' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2786 _PWRTEN_OFF_2L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2787
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2788 _BOREN_OFF_2L EQU H'F9' ; Disabled in hardware, SBOREN disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2789 _BOREN_ON_2L EQU H'FB' ; Controlled with SBOREN bit
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2790 _BOREN_NOSLP_2L EQU H'FD' ; Enabled while active, disabled in SLEEP, SBOREN disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2791 _BOREN_SBORDIS_2L EQU H'FF' ; Enabled in hardware, SBOREN disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2792
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2793 _BORV_0_2L EQU H'E7' ; 3.0V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2794 _BORV_1_2L EQU H'EF' ; 2.7V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2795 _BORV_2_2L EQU H'F7' ; 2.0V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2796 _BORV_3_2L EQU H'FF' ; 1.8V
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2797
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2798 _BORPWR_LOW_2L EQU H'9F' ; BORMV set to low power level
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2799 _BORPWR_MEDIUM_2L EQU H'BF' ; BORMV set to medium power level
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2800 _BORPWR_HIGH_2L EQU H'DF' ; BORMV set to high power level
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2801 _BORPWR_ZPBORMV_2L EQU H'FF' ; ZPBORMV instead of BORMV is selected
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2802
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2803 ;----- CONFIG2H Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2804 _WDTEN_OFF_2H EQU H'FC' ; WDT disabled in hardware; SWDTEN bit disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2805 _WDTEN_NOSLP_2H EQU H'FD' ; WDT enabled only while device is active and disabled in Sleep mode; SWDTEN bit disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2806 _WDTEN_ON_2H EQU H'FE' ; WDT controlled by SWDTEN bit setting
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2807 _WDTEN_SWDTDIS_2H EQU H'FF' ; WDT enabled in hardware; SWDTEN bit disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2808
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2809 _WDTPS_1_2H EQU H'83' ; 1:1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2810 _WDTPS_2_2H EQU H'87' ; 1:2
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2811 _WDTPS_4_2H EQU H'8B' ; 1:4
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2812 _WDTPS_8_2H EQU H'8F' ; 1:8
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2813 _WDTPS_16_2H EQU H'93' ; 1:16
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2814 _WDTPS_32_2H EQU H'97' ; 1:32
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2815 _WDTPS_64_2H EQU H'9B' ; 1:64
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2816 _WDTPS_128_2H EQU H'9F' ; 1:128
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2817 _WDTPS_256_2H EQU H'A3' ; 1:256
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2818 _WDTPS_512_2H EQU H'A7' ; 1:512
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2819 _WDTPS_1024_2H EQU H'AB' ; 1:1024
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2820 _WDTPS_2048_2H EQU H'AF' ; 1:2048
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2821 _WDTPS_4096_2H EQU H'B3' ; 1:4096
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2822 _WDTPS_8192_2H EQU H'B7' ; 1:8192
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2823 _WDTPS_16384_2H EQU H'BB' ; 1:16384
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2824 _WDTPS_32768_2H EQU H'BF' ; 1:32768
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2825 _WDTPS_65536_2H EQU H'C3' ; 1:65536
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2826 _WDTPS_131072_2H EQU H'C7' ; 1:131072
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2827 _WDTPS_262144_2H EQU H'CB' ; 1:262144
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2828 _WDTPS_524288_2H EQU H'CF' ; 1:524288
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2829 _WDTPS_1048576_2H EQU H'FF' ; 1:1048576
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2830
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2831 ;----- CONFIG3L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2832 _RTCOSC_INTOSCREF_3L EQU H'FE' ; RTCC uses INTRC
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2833 _RTCOSC_SOSCREF_3L EQU H'FF' ; RTCC uses SOSC
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2834
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2835 _EASHFT_OFF_3L EQU H'F7' ; Address Shifting disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2836 _EASHFT_ON_3L EQU H'FF' ; Address Shifting enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2837
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2838 _ABW_XM20_3L EQU H'CF' ; 20-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2839 _ABW_XM16_3L EQU H'DF' ; 16-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2840 _ABW_XM12_3L EQU H'EF' ; 12-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2841 _ABW_MM_3L EQU H'FF' ; 8-bit address bus
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2842
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2843 _BW_8_3L EQU H'BF' ; 8-bit external bus mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2844 _BW_16_3L EQU H'FF' ; 16-bit external bus mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2845
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2846 _WAIT_ON_3L EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2847 _WAIT_OFF_3L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2848
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2849 ;----- CONFIG3H Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2850 _CCP2MX_PORTBE_3H EQU H'FE' ; RE7-Microcontroller Mode/RB3-All other modes
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2851 _CCP2MX_PORTC_3H EQU H'FF' ; RC1
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2852
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2853 _ECCPMX_PORTH_3H EQU H'FD' ; Enhanced CCP1/3 [P1B/P1C/P3B/P3C] muxed with RH7/RH6/RH5/RH4
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2854 _ECCPMX_PORTE_3H EQU H'FF' ; Enhanced CCP1/3 [P1B/P1C/P3B/P3C] muxed with RE6/RE5/RE4/RE3
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2855
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2856 _MSSPMSK_MSK5_3H EQU H'F7' ; 5 bit address masking mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2857 _MSSPMSK_MSK7_3H EQU H'FF' ; 7 Bit address masking mode
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2858
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2859 _MCLRE_OFF_3H EQU H'7F' ; MCLR Disabled, RG5 Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2860 _MCLRE_ON_3H EQU H'FF' ; MCLR Enabled, RG5 Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2861
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2862 ;----- CONFIG4L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2863 _STVREN_OFF_4L EQU H'FE' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2864 _STVREN_ON_4L EQU H'FF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2865
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2866 _BBSIZ_BB1K_4L EQU H'EF' ; 1K word Boot Block size
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2867 _BBSIZ_BB2K_4L EQU H'FF' ; 2K word Boot Block size
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2868
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2869 _DEBUG_ON_4L EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2870 _DEBUG_OFF_4L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2871
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2872 ;----- CONFIG5L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2873 _CP0_ON_5L EQU H'FE' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2874 _CP0_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2875
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2876 _CP1_ON_5L EQU H'FD' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2877 _CP1_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2878
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2879 _CP2_ON_5L EQU H'FB' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2880 _CP2_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2881
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2882 _CP3_ON_5L EQU H'F7' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2883 _CP3_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2884
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2885 _CP4_ON_5L EQU H'EF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2886 _CP4_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2887
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2888 _CP5_ON_5L EQU H'DF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2889 _CP5_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2890
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2891 _CP6_ON_5L EQU H'BF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2892 _CP6_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2893
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2894 _CP7_ON_5L EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2895 _CP7_OFF_5L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2896
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2897 ;----- CONFIG5H Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2898 _CPB_ON_5H EQU H'BF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2899 _CPB_OFF_5H EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2900
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2901 _CPD_ON_5H EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2902 _CPD_OFF_5H EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2903
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2904 ;----- CONFIG6L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2905 _WRT0_ON_6L EQU H'FE' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2906 _WRT0_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2907
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2908 _WRT1_ON_6L EQU H'FD' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2909 _WRT1_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2910
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2911 _WRT2_ON_6L EQU H'FB' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2912 _WRT2_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2913
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2914 _WRT3_ON_6L EQU H'F7' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2915 _WRT3_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2916
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2917 _WRT4_ON_6L EQU H'EF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2918 _WRT4_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2919
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2920 _WRT5_ON_6L EQU H'DF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2921 _WRT5_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2922
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2923 _WRT6_ON_6L EQU H'BF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2924 _WRT6_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2925
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2926 _WRT7_ON_6L EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2927 _WRT7_OFF_6L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2928
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2929 ;----- CONFIG6H Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2930 _WRTC_ON_6H EQU H'DF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2931 _WRTC_OFF_6H EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2932
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2933 _WRTB_ON_6H EQU H'BF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2934 _WRTB_OFF_6H EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2935
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2936 _WRTD_ON_6H EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2937 _WRTD_OFF_6H EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2938
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2939 ;----- CONFIG7L Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2940 _EBRT0_ON_7L EQU H'FE' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2941 _EBRT0_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2942
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2943 _EBRT1_ON_7L EQU H'FD' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2944 _EBRT1_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2945
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2946 _EBRT2_ON_7L EQU H'FB' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2947 _EBRT2_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2948
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2949 _EBRT3_ON_7L EQU H'F7' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2950 _EBRT3_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2951
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2952 _EBRT4_ON_7L EQU H'EF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2953 _EBRT4_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2954
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2955 _EBRT5_ON_7L EQU H'DF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2956 _EBRT5_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2957
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2958 _EBRT6_ON_7L EQU H'BF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2959 _EBRT6_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2960
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2961 _EBRT7_ON_7L EQU H'7F' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2962 _EBRT7_OFF_7L EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2963
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2964 ;----- CONFIG7H Options --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2965 _EBRTB_ON_7H EQU H'BF' ; Enabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2966 _EBRTB_OFF_7H EQU H'FF' ; Disabled
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2967
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2968
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2969 ;----- DEVID Equates --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2970 _DEVID1 EQU H'3FFFFE'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2971 _DEVID2 EQU H'3FFFFF'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2972
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2973 ;----- IDLOC Equates --------------------------------------------------
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2974 _IDLOC0 EQU H'200000'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2975 _IDLOC1 EQU H'200001'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2976 _IDLOC2 EQU H'200002'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2977 _IDLOC3 EQU H'200003'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2978 _IDLOC4 EQU H'200004'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2979 _IDLOC5 EQU H'200005'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2980 _IDLOC6 EQU H'200006'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2981 _IDLOC7 EQU H'200007'
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2982
7d8a4c60ec1a 3.15 release
heinrichsweikamp
parents:
diff changeset
2983 LIST