2
2
-- automatically generated by gp2pub
8
pragma processor="p16f676";
9
family : constant processor.family_type = PIC14;
10
name : constant processor.name_type = P16F676;
6
14
ADCON0 : uint8 at 0x1f;
7
15
ADCON1 : uint8 at 0x9f;
16
ADRESH : uint8 at 0x1e;
17
ADRESL : uint8 at 0x9e;
18
ANSEL : uint8 at 0x91;
19
CMCON : uint8 at 0x19;
20
EEADR : uint8 at 0x9b;
21
EECON1 : uint8 at 0x9c;
22
EECON2 : uint8 at 0x9d;
23
EEDAT : uint8 at 0x9a;
24
EEDATA : uint8 at 0x9a;
27
INTCON : uint8 at 0xb;
30
OPTION_REG : uint8 at 0x81;
31
OSCCAL : uint8 at 0x90;
33
PCLATH : uint8 at 0xa;
39
STATUS : uint8 at 0x3;
40
T1CON : uint8 at 0x10;
44
TRISA : uint8 at 0x85;
45
TRISC : uint8 at 0x87;
46
VRCON : uint8 at 0x99;
8
52
ADCS0 : constant uint8 = 0x4;
9
53
ADCS1 : constant uint8 = 0x5;
10
54
ADCS2 : constant uint8 = 0x6;
12
56
ADIE : constant uint8 = 0x6;
13
57
ADIF : constant uint8 = 0x6;
14
58
ADON : constant uint8 = 0;
15
ADRESH : uint8 at 0x1e;
16
ADRESL : uint8 at 0x9e;
17
59
ANS0 : constant uint8 = 0;
18
60
ANS1 : constant uint8 = 0x1;
19
61
ANS2 : constant uint8 = 0x2;
22
64
ANS5 : constant uint8 = 0x5;
23
65
ANS6 : constant uint8 = 0x6;
24
66
ANS7 : constant uint8 = 0x7;
25
ANSEL : uint8 at 0x91;
26
67
C : constant uint8 = 0;
27
68
CAL0 : constant uint8 = 0x2;
28
69
CAL1 : constant uint8 = 0x3;
38
79
CM0 : constant uint8 = 0;
39
80
CM1 : constant uint8 = 0x1;
40
81
CM2 : constant uint8 = 0x2;
41
CMCON : uint8 at 0x19;
42
82
CMIE : constant uint8 = 0x3;
43
83
CMIF : constant uint8 = 0x3;
44
84
COUT : constant uint8 = 0x6;
45
85
DC : constant uint8 = 0x1;
46
EEADR : uint8 at 0x9b;
47
EECON1 : uint8 at 0x9c;
48
EECON2 : uint8 at 0x9d;
49
EEDAT : uint8 at 0x9a;
50
EEDATA : uint8 at 0x9a;
51
86
EEIE : constant uint8 = 0x7;
52
87
EEIF : constant uint8 = 0x7;
53
88
F : constant uint8 = 0x1;
55
89
GIE : constant uint8 = 0x7;
56
90
GO : constant uint8 = 0x1;
57
91
GO_DONE : constant uint8 = 0x1;
59
INTCON : uint8 at 0xb;
60
92
INTE : constant uint8 = 0x4;
61
93
INTEDG : constant uint8 = 0x6;
62
94
INTF : constant uint8 = 0x1;
65
95
IRP : constant uint8 = 0x7;
66
96
NOT_BOD : constant uint8 = 0;
67
97
NOT_DONE : constant uint8 = 0x1;
71
101
NOT_RAPU : constant uint8 = 0x7;
72
102
NOT_T1SYNC : constant uint8 = 0x2;
73
103
NOT_TO : constant uint8 = 0x4;
74
OPTION_REG : uint8 at 0x81;
75
OSCCAL : uint8 at 0x90;
77
PCLATH : uint8 at 0xa;
79
104
PEIE : constant uint8 = 0x6;
84
105
PS0 : constant uint8 = 0;
85
106
PS1 : constant uint8 = 0x1;
86
107
PS2 : constant uint8 = 0x2;
90
111
RD : constant uint8 = 0;
91
112
RP0 : constant uint8 = 0x5;
92
113
RP1 : constant uint8 = 0x6;
93
STATUS : uint8 at 0x3;
94
114
T0CS : constant uint8 = 0x5;
95
115
T0IE : constant uint8 = 0x5;
96
116
T0IF : constant uint8 = 0x2;
97
117
T0SE : constant uint8 = 0x4;
98
118
T1CKPS0 : constant uint8 = 0x4;
99
119
T1CKPS1 : constant uint8 = 0x5;
100
T1CON : uint8 at 0x10;
101
120
T1IE : constant uint8 = 0;
102
121
T1IF : constant uint8 = 0;
103
122
T1OSCEN : constant uint8 = 0x3;
105
123
TMR1CS : constant uint8 = 0x1;
106
124
TMR1GE : constant uint8 = 0x6;
107
TMR1H : uint8 at 0xf;
108
125
TMR1IE : constant uint8 = 0;
109
126
TMR1IF : constant uint8 = 0;
110
TMR1L : uint8 at 0xe;
111
127
TMR1ON : constant uint8 = 0;
112
TRISA : uint8 at 0x85;
113
TRISC : uint8 at 0x87;
114
128
VCFG : constant uint8 = 0x6;
115
129
VR0 : constant uint8 = 0;
116
130
VR1 : constant uint8 = 0x1;
117
131
VR2 : constant uint8 = 0x2;
118
132
VR3 : constant uint8 = 0x3;
119
VRCON : uint8 at 0x99;
120
133
VREN : constant uint8 = 0x7;
121
134
VRR : constant uint8 = 0x5;
122
135
W : constant uint8 = 0;
124
WPUA : uint8 at 0x95;
125
136
WR : constant uint8 = 0x1;
126
137
WREN : constant uint8 = 0x2;
127
138
WRERR : constant uint8 = 0x3;