⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mtouch4.p1

📁 用pic16f883做的4个键的触摸按键(MTOUCH)实现电容式触摸按键的代码。有mtouch4.h和mtouch4.c构成
💻 P1
📖 第 1 页 / 共 4 页
字号:

"204
[v _TMR2ON `b 1 e@146 ]
[; ;pic16f887.h: 204: bit TMR2ON @ ((unsigned)&T2CON*8)+2;

"205
[v _TOUTPS0 `b 1 e@147 ]
[; ;pic16f887.h: 205: bit TOUTPS0 @ ((unsigned)&T2CON*8)+3;

"206
[v _TOUTPS1 `b 1 e@148 ]
[; ;pic16f887.h: 206: bit TOUTPS1 @ ((unsigned)&T2CON*8)+4;

"207
[v _TOUTPS2 `b 1 e@149 ]
[; ;pic16f887.h: 207: bit TOUTPS2 @ ((unsigned)&T2CON*8)+5;

"208
[v _TOUTPS3 `b 1 e@150 ]
[; ;pic16f887.h: 208: bit TOUTPS3 @ ((unsigned)&T2CON*8)+6;

"211
[v _SSPM0 `b 1 e@160 ]
[; ;pic16f887.h: 211: bit SSPM0 @ ((unsigned)&SSPCON*8)+0;

"212
[v _SSPM1 `b 1 e@161 ]
[; ;pic16f887.h: 212: bit SSPM1 @ ((unsigned)&SSPCON*8)+1;

"213
[v _SSPM2 `b 1 e@162 ]
[; ;pic16f887.h: 213: bit SSPM2 @ ((unsigned)&SSPCON*8)+2;

"214
[v _SSPM3 `b 1 e@163 ]
[; ;pic16f887.h: 214: bit SSPM3 @ ((unsigned)&SSPCON*8)+3;

"215
[v _CKP `b 1 e@164 ]
[; ;pic16f887.h: 215: bit CKP @ ((unsigned)&SSPCON*8)+4;

"216
[v _SSPEN `b 1 e@165 ]
[; ;pic16f887.h: 216: bit SSPEN @ ((unsigned)&SSPCON*8)+5;

"217
[v _SSPOV `Vb 1 e@166 ]
[; ;pic16f887.h: 217: volatile bit SSPOV @ ((unsigned)&SSPCON*8)+6;

"218
[v _WCOL `Vb 1 e@167 ]
[; ;pic16f887.h: 218: volatile bit WCOL @ ((unsigned)&SSPCON*8)+7;

"221
[v _CCP1M0 `b 1 e@184 ]
[; ;pic16f887.h: 221: bit CCP1M0 @ ((unsigned)&CCP1CON*8)+0;

"222
[v _CCP1M1 `b 1 e@185 ]
[; ;pic16f887.h: 222: bit CCP1M1 @ ((unsigned)&CCP1CON*8)+1;

"223
[v _CCP1M2 `b 1 e@186 ]
[; ;pic16f887.h: 223: bit CCP1M2 @ ((unsigned)&CCP1CON*8)+2;

"224
[v _CCP1M3 `b 1 e@187 ]
[; ;pic16f887.h: 224: bit CCP1M3 @ ((unsigned)&CCP1CON*8)+3;

"225
[v _DC1B0 `b 1 e@188 ]
[; ;pic16f887.h: 225: bit DC1B0 @ ((unsigned)&CCP1CON*8)+4;

"226
[v _DC1B1 `b 1 e@189 ]
[; ;pic16f887.h: 226: bit DC1B1 @ ((unsigned)&CCP1CON*8)+5;

"227
[v _P1M0 `b 1 e@190 ]
[; ;pic16f887.h: 227: bit P1M0 @ ((unsigned)&CCP1CON*8)+6;

"228
[v _P1M1 `b 1 e@191 ]
[; ;pic16f887.h: 228: bit P1M1 @ ((unsigned)&CCP1CON*8)+7;

"231
[v _RX9D `Vb 1 e@192 ]
[; ;pic16f887.h: 231: volatile bit RX9D @ ((unsigned)&RCSTA*8)+0;

"232
[v _OERR `Vb 1 e@193 ]
[; ;pic16f887.h: 232: volatile bit OERR @ ((unsigned)&RCSTA*8)+1;

"233
[v _FERR `Vb 1 e@194 ]
[; ;pic16f887.h: 233: volatile bit FERR @ ((unsigned)&RCSTA*8)+2;

"234
[v _ADDEN `b 1 e@195 ]
[; ;pic16f887.h: 234: bit ADDEN @ ((unsigned)&RCSTA*8)+3;

"235
[v _CREN `b 1 e@196 ]
[; ;pic16f887.h: 235: bit CREN @ ((unsigned)&RCSTA*8)+4;

"236
[v _SREN `b 1 e@197 ]
[; ;pic16f887.h: 236: bit SREN @ ((unsigned)&RCSTA*8)+5;

"237
[v _RX9 `b 1 e@198 ]
[; ;pic16f887.h: 237: bit RX9 @ ((unsigned)&RCSTA*8)+6;

"238
[v _SPEN `b 1 e@199 ]
[; ;pic16f887.h: 238: bit SPEN @ ((unsigned)&RCSTA*8)+7;

"241
[v _CCP2M0 `b 1 e@232 ]
[; ;pic16f887.h: 241: bit CCP2M0 @ ((unsigned)&CCP2CON*8)+0;

"242
[v _CCP2M1 `b 1 e@233 ]
[; ;pic16f887.h: 242: bit CCP2M1 @ ((unsigned)&CCP2CON*8)+1;

"243
[v _CCP2M2 `b 1 e@234 ]
[; ;pic16f887.h: 243: bit CCP2M2 @ ((unsigned)&CCP2CON*8)+2;

"244
[v _CCP2M3 `b 1 e@235 ]
[; ;pic16f887.h: 244: bit CCP2M3 @ ((unsigned)&CCP2CON*8)+3;

"245
[v _CCP2Y `Vb 1 e@236 ]
[; ;pic16f887.h: 245: volatile bit CCP2Y @ ((unsigned)&CCP2CON*8)+4;

"246
[v _CCP2X `Vb 1 e@237 ]
[; ;pic16f887.h: 246: volatile bit CCP2X @ ((unsigned)&CCP2CON*8)+5;

"249
[v _ADON `b 1 e@248 ]
[; ;pic16f887.h: 249: bit ADON @ ((unsigned)&ADCON0*8)+0;

"250
[v _GODONE `Vb 1 e@249 ]
[; ;pic16f887.h: 250: volatile bit GODONE @ ((unsigned)&ADCON0*8)+1;

"251
[v _CHS0 `b 1 e@250 ]
[; ;pic16f887.h: 251: bit CHS0 @ ((unsigned)&ADCON0*8)+2;

"252
[v _CHS1 `b 1 e@251 ]
[; ;pic16f887.h: 252: bit CHS1 @ ((unsigned)&ADCON0*8)+3;

"253
[v _CHS2 `b 1 e@252 ]
[; ;pic16f887.h: 253: bit CHS2 @ ((unsigned)&ADCON0*8)+4;

"254
[v _CHS3 `b 1 e@253 ]
[; ;pic16f887.h: 254: bit CHS3 @ ((unsigned)&ADCON0*8)+5;

"255
[v _ADCS0 `b 1 e@254 ]
[; ;pic16f887.h: 255: bit ADCS0 @ ((unsigned)&ADCON0*8)+6;

"256
[v _ADCS1 `b 1 e@255 ]
[; ;pic16f887.h: 256: bit ADCS1 @ ((unsigned)&ADCON0*8)+7;

"259
[v _PS0 `b 1 e@1032 ]
[; ;pic16f887.h: 259: bit PS0 @ ((unsigned)&OPTION*8)+0;

"260
[v _PS1 `b 1 e@1033 ]
[; ;pic16f887.h: 260: bit PS1 @ ((unsigned)&OPTION*8)+1;

"261
[v _PS2 `b 1 e@1034 ]
[; ;pic16f887.h: 261: bit PS2 @ ((unsigned)&OPTION*8)+2;

"262
[v _PSA `b 1 e@1035 ]
[; ;pic16f887.h: 262: bit PSA @ ((unsigned)&OPTION*8)+3;

"263
[v _T0SE `b 1 e@1036 ]
[; ;pic16f887.h: 263: bit T0SE @ ((unsigned)&OPTION*8)+4;

"264
[v _T0CS `b 1 e@1037 ]
[; ;pic16f887.h: 264: bit T0CS @ ((unsigned)&OPTION*8)+5;

"265
[v _INTEDG `b 1 e@1038 ]
[; ;pic16f887.h: 265: bit INTEDG @ ((unsigned)&OPTION*8)+6;

"266
[v _RBPU `b 1 e@1039 ]
[; ;pic16f887.h: 266: bit RBPU @ ((unsigned)&OPTION*8)+7;

"268
[v _RABPU `b 1 e@1039 ]
[; ;pic16f887.h: 268: bit RABPU @ ((unsigned)&OPTION*8)+7;

"271
[v _TRISA0 `b 1 e@1064 ]
[; ;pic16f887.h: 271: bit TRISA0 @ ((unsigned)&TRISA*8)+0;

"272
[v _TRISA1 `b 1 e@1065 ]
[; ;pic16f887.h: 272: bit TRISA1 @ ((unsigned)&TRISA*8)+1;

"273
[v _TRISA2 `b 1 e@1066 ]
[; ;pic16f887.h: 273: bit TRISA2 @ ((unsigned)&TRISA*8)+2;

"274
[v _TRISA3 `b 1 e@1067 ]
[; ;pic16f887.h: 274: bit TRISA3 @ ((unsigned)&TRISA*8)+3;

"275
[v _TRISA4 `b 1 e@1068 ]
[; ;pic16f887.h: 275: bit TRISA4 @ ((unsigned)&TRISA*8)+4;

"276
[v _TRISA5 `b 1 e@1069 ]
[; ;pic16f887.h: 276: bit TRISA5 @ ((unsigned)&TRISA*8)+5;

"277
[v _TRISA6 `b 1 e@1070 ]
[; ;pic16f887.h: 277: bit TRISA6 @ ((unsigned)&TRISA*8)+6;

"278
[v _TRISA7 `b 1 e@1071 ]
[; ;pic16f887.h: 278: bit TRISA7 @ ((unsigned)&TRISA*8)+7;

"281
[v _TRISB0 `Vb 1 e@1072 ]
[; ;pic16f887.h: 281: volatile bit TRISB0 @ ((unsigned)&TRISB*8)+0;

"282
[v _TRISB1 `Vb 1 e@1073 ]
[; ;pic16f887.h: 282: volatile bit TRISB1 @ ((unsigned)&TRISB*8)+1;

"283
[v _TRISB2 `Vb 1 e@1074 ]
[; ;pic16f887.h: 283: volatile bit TRISB2 @ ((unsigned)&TRISB*8)+2;

"284
[v _TRISB3 `Vb 1 e@1075 ]
[; ;pic16f887.h: 284: volatile bit TRISB3 @ ((unsigned)&TRISB*8)+3;

"285
[v _TRISB4 `Vb 1 e@1076 ]
[; ;pic16f887.h: 285: volatile bit TRISB4 @ ((unsigned)&TRISB*8)+4;

"286
[v _TRISB5 `Vb 1 e@1077 ]
[; ;pic16f887.h: 286: volatile bit TRISB5 @ ((unsigned)&TRISB*8)+5;

"287
[v _TRISB6 `Vb 1 e@1078 ]
[; ;pic16f887.h: 287: volatile bit TRISB6 @ ((unsigned)&TRISB*8)+6;

"288
[v _TRISB7 `Vb 1 e@1079 ]
[; ;pic16f887.h: 288: volatile bit TRISB7 @ ((unsigned)&TRISB*8)+7;

"291
[v _TRISC0 `Vb 1 e@1080 ]
[; ;pic16f887.h: 291: volatile bit TRISC0 @ ((unsigned)&TRISC*8)+0;

"292
[v _TRISC1 `Vb 1 e@1081 ]
[; ;pic16f887.h: 292: volatile bit TRISC1 @ ((unsigned)&TRISC*8)+1;

"293
[v _TRISC2 `Vb 1 e@1082 ]
[; ;pic16f887.h: 293: volatile bit TRISC2 @ ((unsigned)&TRISC*8)+2;

"294
[v _TRISC3 `Vb 1 e@1083 ]
[; ;pic16f887.h: 294: volatile bit TRISC3 @ ((unsigned)&TRISC*8)+3;

"295
[v _TRISC4 `Vb 1 e@1084 ]
[; ;pic16f887.h: 295: volatile bit TRISC4 @ ((unsigned)&TRISC*8)+4;

"296
[v _TRISC5 `Vb 1 e@1085 ]
[; ;pic16f887.h: 296: volatile bit TRISC5 @ ((unsigned)&TRISC*8)+5;

"297
[v _TRISC6 `Vb 1 e@1086 ]
[; ;pic16f887.h: 297: volatile bit TRISC6 @ ((unsigned)&TRISC*8)+6;

"298
[v _TRISC7 `Vb 1 e@1087 ]
[; ;pic16f887.h: 298: volatile bit TRISC7 @ ((unsigned)&TRISC*8)+7;

"316
[v _TRISE3 `Vb 1 e@1099 ]
[; ;pic16f887.h: 316: volatile bit TRISE3 @ ((unsigned)&TRISE*8)+3;

"319
[v _TMR1IE `b 1 e@1120 ]
[; ;pic16f887.h: 319: bit TMR1IE @ ((unsigned)&PIE1*8)+0;

"320
[v _TMR2IE `b 1 e@1121 ]
[; ;pic16f887.h: 320: bit TMR2IE @ ((unsigned)&PIE1*8)+1;

"321
[v _CCP1IE `b 1 e@1122 ]
[; ;pic16f887.h: 321: bit CCP1IE @ ((unsigned)&PIE1*8)+2;

"322
[v _SSPIE `b 1 e@1123 ]
[; ;pic16f887.h: 322: bit SSPIE @ ((unsigned)&PIE1*8)+3;

"323
[v _TXIE `b 1 e@1124 ]
[; ;pic16f887.h: 323: bit TXIE @ ((unsigned)&PIE1*8)+4;

"324
[v _RCIE `b 1 e@1125 ]
[; ;pic16f887.h: 324: bit RCIE @ ((unsigned)&PIE1*8)+5;

"325
[v _ADIE `b 1 e@1126 ]
[; ;pic16f887.h: 325: bit ADIE @ ((unsigned)&PIE1*8)+6;

"328
[v _CCP2IE `b 1 e@1128 ]
[; ;pic16f887.h: 328: bit CCP2IE @ ((unsigned)&PIE2*8)+0;

"329
[v _ULPWUIE `b 1 e@1130 ]
[; ;pic16f887.h: 329: bit ULPWUIE @ ((unsigned)&PIE2*8)+2;

"330
[v _BCLIE `b 1 e@1131 ]
[; ;pic16f887.h: 330: bit BCLIE @ ((unsigned)&PIE2*8)+3;

"331
[v _EEIE `b 1 e@1132 ]
[; ;pic16f887.h: 331: bit EEIE @ ((unsigned)&PIE2*8)+4;

"332
[v _C1IE `b 1 e@1133 ]
[; ;pic16f887.h: 332: bit C1IE @ ((unsigned)&PIE2*8)+5;

"333
[v _C2IE `b 1 e@1134 ]
[; ;pic16f887.h: 333: bit C2IE @ ((unsigned)&PIE2*8)+6;

"334
[v _OSFIE `b 1 e@1135 ]
[; ;pic16f887.h: 334: bit OSFIE @ ((unsigned)&PIE2*8)+7;

"337
[v _BOR `Vb 1 e@1136 ]
[; ;pic16f887.h: 337: volatile bit BOR @ ((unsigned)&PCON*8)+0;

"338
[v _POR `Vb 1 e@1137 ]
[; ;pic16f887.h: 338: volatile bit POR @ ((unsigned)&PCON*8)+1;

"339
[v _SBOREN `b 1 e@1140 ]
[; ;pic16f887.h: 339: bit SBOREN @ ((unsigned)&PCON*8)+4;

"340
[v _ULPWUE `b 1 e@1141 ]
[; ;pic16f887.h: 340: bit ULPWUE @ ((unsigned)&PCON*8)+5;

"343
[v _SCS `b 1 e@1144 ]
[; ;pic16f887.h: 343: bit SCS @ ((unsigned)&OSCCON*8)+0;

"344
[v _LTS `Vb 1 e@1145 ]
[; ;pic16f887.h: 344: volatile bit LTS @ ((unsigned)&OSCCON*8)+1;

"345
[v _HTS `Vb 1 e@1146 ]
[; ;pic16f887.h: 345: volatile bit HTS @ ((unsigned)&OSCCON*8)+2;

"346
[v _OSTS `Vb 1 e@1147 ]
[; ;pic16f887.h: 346: volatile bit OSTS @ ((unsigned)&OSCCON*8)+3;

"347
[v _IRCF0 `b 1 e@1148 ]
[; ;pic16f887.h: 347: bit IRCF0 @ ((unsigned)&OSCCON*8)+4;

"348
[v _IRCF1 `b 1 e@1149 ]
[; ;pic16f887.h: 348: bit IRCF1 @ ((unsigned)&OSCCON*8)+5;

"349
[v _IRCF2 `b 1 e@1150 ]
[; ;pic16f887.h: 349: bit IRCF2 @ ((unsigned)&OSCCON*8)+6;

"352
[v _TUN0 `b 1 e@1152 ]
[; ;pic16f887.h: 352: bit TUN0 @ ((unsigned)&OSCTUNE*8)+0;

"353
[v _TUN1 `b 1 e@1153 ]
[; ;pic16f887.h: 353: bit TUN1 @ ((unsigned)&OSCTUNE*8)+1;

"354
[v _TUN2 `b 1 e@1154 ]
[; ;pic16f887.h: 354: bit TUN2 @ ((unsigned)&OSCTUNE*8)+2;

"355
[v _TUN3 `b 1 e@1155 ]
[; ;pic16f887.h: 355: bit TUN3 @ ((unsigned)&OSCTUNE*8)+3;

"356
[v _TUN4 `b 1 e@1156 ]
[; ;pic16f887.h: 356: bit TUN4 @ ((unsigned)&OSCTUNE*8)+4;

"359
[v _SEN `b 1 e@1160 ]
[; ;pic16f887.h: 359: bit SEN @ ((unsigned)&SSPCON2*8)+0;

"360
[v _RSEN `Vb 1 e@1161 ]
[; ;pic16f887.h: 360: volatile bit RSEN @ ((unsigned)&SSPCON2*8)+1;

"361
[v _PEN `Vb 1 e@1162 ]
[; ;pic16f887.h: 361: volatile bit PEN @ ((unsigned)&SSPCON2*8)+2;

"362
[v _RCEN `Vb 1 e@1163 ]
[; ;pic16f887.h: 362: volatile bit RCEN @ ((unsigned)&SSPCON2*8)+3;

"363
[v _ACKEN `Vb 1 e@1164 ]
[; ;pic16f887.h: 363: volatile bit ACKEN @ ((unsigned)&SSPCON2*8)+4;

"364
[v _ACKDT `Vb 1 e@1165 ]
[; ;pic16f887.h: 364: volatile bit ACKDT @ ((unsigned)&SSPCON2*8)+5;

"365
[v _ACKSTAT `Vb 1 e@1166 ]
[; ;pic16f887.h: 365: volatile bit ACKSTAT @ ((unsigned)&SSPCON2*8)+6;

"366
[v _GCEN `b 1 e@1167 ]
[; ;pic16f887.h: 366: bit GCEN @ ((unsigned)&SSPCON2*8)+7;

"369
[v _BF `Vb 1 e@1184 ]
[; ;pic16f887.h: 369: volatile bit BF @ ((unsigned)&SSPSTAT*8)+0;

"370
[v _UA `Vb 1 e@1185 ]
[; ;pic16f887.h: 370: volatile bit UA @ ((unsigned)&SSPSTAT*8)+1;

"371
[v _RW `Vb 1 e@1186 ]
[; ;pic16f887.h: 371: volatile bit RW @ ((unsigned)&SSPSTAT*8)+2;

"372
[v _START `Vb 1 e@1187 ]
[; ;pic16f887.h: 372: volatile bit START @ ((unsigned)&SSPSTAT*8)+3;

"373
[v _STOP `Vb 1 e@1188 ]
[; ;pic16f887.h: 373: volatile bit STOP @ ((unsigned)&SSPSTAT*8)+4;

"374
[v _DA `Vb 1 e@1189 ]
[; ;pic16f887.h: 374: volatile bit DA @ ((unsigned)&SSPSTAT*8)+5;

"375
[v _CKE `b 1 e@1190 ]
[; ;pic16f887.h: 375: bit CKE @ ((unsigned)&SSPSTAT*8)+6;

"376
[v _SMP `b 1 e@1191 ]
[; ;pic16f887.h: 376: bit SMP @ ((unsigned)&SSPSTAT*8)+7;

"379
[v _WPUB0 `b 1 e@1192 ]
[; ;pic16f887.h: 379: bit WPUB0 @ ((unsigned)&WPUB*8)+0;

"380
[v _WPUB1 `b 1 e@1193 ]
[; ;pic16f887.h: 380: bit WPUB1 @ ((unsigned)&WPUB*8)+1;

"381
[v _WPUB2 `b 1 e@1194 ]
[; ;pic16f887.h: 381: bit WPUB2 @ ((unsigned)&WPUB*8)+2;

"382
[v _WPUB3 `b 1 e@1195 ]
[; ;pic16f887.h: 382: bit WPUB3 @ ((unsigned)&WPUB*8)+3;

"383
[v _WPUB4 `b 1 e@1196 ]
[; ;pic16f887.h: 383: bit WPUB4 @ ((unsigned)&WPUB*8)+4;

"384
[v _WPUB5 `b 1 e@1197 ]
[; ;pic16f887.h: 384: bit WPUB5 @ ((unsigned)&WPUB*8)+5;

"385
[v _WPUB6 `b 1 e@1198 ]
[; ;pic16f887.h: 385: bit WPUB6 @ ((unsigned)&WPUB*8)+6;

"386
[v _WPUB7 `b 1 e@1199 ]
[; ;pic16f887.h: 386: bit WPUB7 @ ((unsigned)&WPUB*8)+7;

"389
[v _IOCB0 `b 1 e@1200 ]
[; ;pic16f887.h: 389: bit IOCB0 @ ((unsigned)&IOCB*8)+0;

"390
[v _IOCB1 `b 1 e@1201 ]
[; ;pic16f887.h: 390: bit IOCB1 @ ((unsigned)&IOCB*8)+1;

"391
[v _IOCB2 `b 1 e@1202 ]
[; ;pic16f887.h: 391: bit IOCB2 @ ((unsigned)&IOCB*8)+2;

"392
[v _IOCB3 `b 1 e@1203 ]
[; ;pic16f887.h: 392: bit IOCB3 @ ((unsigned)&IOCB*8)+3;

"393
[v _IOCB4 `b 1 e@1204 ]
[; ;pic16f887.h: 393: bit IOCB4 @ ((unsigned)&IOCB*8)+4;

"394
[v _IOCB5 `b 1 e@1205 ]
[; ;pic16f887.h: 394: bit IOCB5 @ ((unsigned)&IOCB*8)+5;

"395
[v _IOCB6 `b 1 e@1206 ]
[; ;pic16f887.h: 395: bit IOCB6 @ ((unsigned)&IOCB*8)+6;

"396
[v _IOCB7 `b 1 e@1207 ]
[; ;pic16f887.h: 396: bit IOCB7 @ ((unsigned)&IOCB*8)+7;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -