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

📄 mtouch4.p1

📁 用pic16f883做的4个键的触摸按键(MTOUCH)实现电容式触摸按键的代码。有mtouch4.h和mtouch4.c构成
💻 P1
📖 第 1 页 / 共 4 页
字号:
Version 3.2 HI-TECH Software Intermediate Code
"19 C:\Program Files\HI-TECH Software\PICC\PRO\9.60\include\pic16f887.h
[v _TMR0 `Vuc 1 e@1 ]
[; ;pic16f887.h: 19: volatile unsigned char TMR0 @ 0x001;

"20
[v _PCL `Vuc 1 e@2 ]
[; ;pic16f887.h: 20: volatile unsigned char PCL @ 0x002;

"21
[v _STATUS `Vuc 1 e@3 ]
[; ;pic16f887.h: 21: volatile unsigned char STATUS @ 0x003;

"22
[v _FSR `uc 1 e@4 ]
[; ;pic16f887.h: 22: unsigned char FSR @ 0x004;

"23
[v _PORTA `Vuc 1 e@5 ]
[; ;pic16f887.h: 23: volatile unsigned char PORTA @ 0x005;

"24
[v _PORTB `Vuc 1 e@6 ]
[; ;pic16f887.h: 24: volatile unsigned char PORTB @ 0x006;

"25
[v _PORTC `Vuc 1 e@7 ]
[; ;pic16f887.h: 25: volatile unsigned char PORTC @ 0x007;

"29
[v _PORTE `Vuc 1 e@9 ]
[; ;pic16f887.h: 29: volatile unsigned char PORTE @ 0x009;

"30
[v _PCLATH `Vuc 1 e@10 ]
[; ;pic16f887.h: 30: volatile unsigned char PCLATH @ 0x00A;

"31
[v _INTCON `Vuc 1 e@11 ]
[; ;pic16f887.h: 31: volatile unsigned char INTCON @ 0x00B;

"32
[v _PIR1 `Vuc 1 e@12 ]
[; ;pic16f887.h: 32: volatile unsigned char PIR1 @ 0x00C;

"33
[v _PIR2 `Vuc 1 e@13 ]
[; ;pic16f887.h: 33: volatile unsigned char PIR2 @ 0x00D;

"34
[v _TMR1L `Vuc 1 e@14 ]
[; ;pic16f887.h: 34: volatile unsigned char TMR1L @ 0x00E;

"35
[v _TMR1H `Vuc 1 e@15 ]
[; ;pic16f887.h: 35: volatile unsigned char TMR1H @ 0x00F;

"36
[v _T1CON `uc 1 e@16 ]
[; ;pic16f887.h: 36: unsigned char T1CON @ 0x010;

"37
[v _TMR2 `Vuc 1 e@17 ]
[; ;pic16f887.h: 37: volatile unsigned char TMR2 @ 0x011;

"38
[v _T2CON `uc 1 e@18 ]
[; ;pic16f887.h: 38: unsigned char T2CON @ 0x012;

"39
[v _SSPBUF `Vuc 1 e@19 ]
[; ;pic16f887.h: 39: volatile unsigned char SSPBUF @ 0x013;

"40
[v _SSPCON `Vuc 1 e@20 ]
[; ;pic16f887.h: 40: volatile unsigned char SSPCON @ 0x014;

"41
[v _CCPR1L `Vuc 1 e@21 ]
[; ;pic16f887.h: 41: volatile unsigned char CCPR1L @ 0x015;

"42
[v _CCPR1H `Vuc 1 e@22 ]
[; ;pic16f887.h: 42: volatile unsigned char CCPR1H @ 0x016;

"43
[v _CCP1CON `Vuc 1 e@23 ]
[; ;pic16f887.h: 43: volatile unsigned char CCP1CON @ 0x017;

"44
[v _RCSTA `Vuc 1 e@24 ]
[; ;pic16f887.h: 44: volatile unsigned char RCSTA @ 0x018;

"45
[v _TXREG `Vuc 1 e@25 ]
[; ;pic16f887.h: 45: volatile unsigned char TXREG @ 0x019;

"46
[v _RCREG `Vuc 1 e@26 ]
[; ;pic16f887.h: 46: volatile unsigned char RCREG @ 0x01A;

"47
[v _CCPR2L `Vuc 1 e@27 ]
[; ;pic16f887.h: 47: volatile unsigned char CCPR2L @ 0x01B;

"48
[v _CCPR2H `Vuc 1 e@28 ]
[; ;pic16f887.h: 48: volatile unsigned char CCPR2H @ 0x01C;

"49
[v _CCP2CON `Vuc 1 e@29 ]
[; ;pic16f887.h: 49: volatile unsigned char CCP2CON @ 0x01D;

"50
[v _ADRESH `Vuc 1 e@30 ]
[; ;pic16f887.h: 50: volatile unsigned char ADRESH @ 0x01E;

"51
[v _ADCON0 `Vuc 1 e@31 ]
[; ;pic16f887.h: 51: volatile unsigned char ADCON0 @ 0x01F;

"52
[v _OPTION `uc 1 e@129 ]
[; ;pic16f887.h: 52: unsigned char OPTION @ 0x081;

"53
[v _TRISA `Vuc 1 e@133 ]
[; ;pic16f887.h: 53: volatile unsigned char TRISA @ 0x085;

"54
[v _TRISB `Vuc 1 e@134 ]
[; ;pic16f887.h: 54: volatile unsigned char TRISB @ 0x086;

"55
[v _TRISC `Vuc 1 e@135 ]
[; ;pic16f887.h: 55: volatile unsigned char TRISC @ 0x087;

"59
[v _TRISE `Vuc 1 e@137 ]
[; ;pic16f887.h: 59: volatile unsigned char TRISE @ 0x089;

"60
[v _PIE1 `uc 1 e@140 ]
[; ;pic16f887.h: 60: unsigned char PIE1 @ 0x08C;

"61
[v _PIE2 `uc 1 e@141 ]
[; ;pic16f887.h: 61: unsigned char PIE2 @ 0x08D;

"62
[v _PCON `Vuc 1 e@142 ]
[; ;pic16f887.h: 62: volatile unsigned char PCON @ 0x08E;

"63
[v _OSCCON `Vuc 1 e@143 ]
[; ;pic16f887.h: 63: volatile unsigned char OSCCON @ 0x08F;

"64
[v _OSCTUNE `uc 1 e@144 ]
[; ;pic16f887.h: 64: unsigned char OSCTUNE @ 0x090;

"65
[v _SSPCON2 `Vuc 1 e@145 ]
[; ;pic16f887.h: 65: volatile unsigned char SSPCON2 @ 0x091;

"66
[v _PR2 `uc 1 e@146 ]
[; ;pic16f887.h: 66: unsigned char PR2 @ 0x092;

"67
[v _SSPADD `uc 1 e@147 ]
[; ;pic16f887.h: 67: unsigned char SSPADD @ 0x093;

"68
[v _SSPMSK `uc 1 e@147 ]
[; ;pic16f887.h: 68: unsigned char SSPMSK @ 0x093;

"69
[v _SSPSTAT `Vuc 1 e@148 ]
[; ;pic16f887.h: 69: volatile unsigned char SSPSTAT @ 0x094;

"70
[v _WPUB `uc 1 e@149 ]
[; ;pic16f887.h: 70: unsigned char WPUB @ 0x095;

"71
[v _IOCB `uc 1 e@150 ]
[; ;pic16f887.h: 71: unsigned char IOCB @ 0x096;

"72
[v _VRCON `uc 1 e@151 ]
[; ;pic16f887.h: 72: unsigned char VRCON @ 0x097;

"73
[v _TXSTA `Vuc 1 e@152 ]
[; ;pic16f887.h: 73: volatile unsigned char TXSTA @ 0x098;

"74
[v _SPBRG `uc 1 e@153 ]
[; ;pic16f887.h: 74: unsigned char SPBRG @ 0x099;

"75
[v _SPBRGH `uc 1 e@154 ]
[; ;pic16f887.h: 75: unsigned char SPBRGH @ 0x09A;

"76
[v _PWM1CON `Vuc 1 e@155 ]
[; ;pic16f887.h: 76: volatile unsigned char PWM1CON @ 0x09B;

"77
[v _ECCPAS `Vuc 1 e@156 ]
[; ;pic16f887.h: 77: volatile unsigned char ECCPAS @ 0x09C;

"78
[v _PSTRCON `uc 1 e@157 ]
[; ;pic16f887.h: 78: unsigned char PSTRCON @ 0x09D;

"79
[v _ADRESL `Vuc 1 e@158 ]
[; ;pic16f887.h: 79: volatile unsigned char ADRESL @ 0x09E;

"80
[v _ADCON1 `uc 1 e@159 ]
[; ;pic16f887.h: 80: unsigned char ADCON1 @ 0x09F;

"81
[v _WDTCON `Vuc 1 e@261 ]
[; ;pic16f887.h: 81: volatile unsigned char WDTCON @ 0x105;

"82
[v _CM1CON0 `Vuc 1 e@263 ]
[; ;pic16f887.h: 82: volatile unsigned char CM1CON0 @ 0x107;

"83
[v _CM2CON0 `Vuc 1 e@264 ]
[; ;pic16f887.h: 83: volatile unsigned char CM2CON0 @ 0x108;

"84
[v _CM2CON1 `Vuc 1 e@265 ]
[; ;pic16f887.h: 84: volatile unsigned char CM2CON1 @ 0x109;

"85
[v _EEDAT `Vuc 1 e@268 ]
[; ;pic16f887.h: 85: volatile unsigned char EEDAT @ 0x10C;

"87
[v _EEDATA `Vuc 1 e@268 ]
[; ;pic16f887.h: 87: volatile unsigned char EEDATA @ 0x10C;

"88
[v _EEADR `Vuc 1 e@269 ]
[; ;pic16f887.h: 88: volatile unsigned char EEADR @ 0x10D;

"90
[v _EEADRL `Vuc 1 e@269 ]
[; ;pic16f887.h: 90: volatile unsigned char EEADRL @ 0x10D;

"91
[v _EEDATH `Vuc 1 e@270 ]
[; ;pic16f887.h: 91: volatile unsigned char EEDATH @ 0x10E;

"92
[v _EEADRH `Vuc 1 e@271 ]
[; ;pic16f887.h: 92: volatile unsigned char EEADRH @ 0x10F;

"93
[v _SRCON `Vuc 1 e@389 ]
[; ;pic16f887.h: 93: volatile unsigned char SRCON @ 0x185;

"94
[v _BAUDCTL `Vuc 1 e@391 ]
[; ;pic16f887.h: 94: volatile unsigned char BAUDCTL @ 0x187;

"95
[v _ANSEL `uc 1 e@392 ]
[; ;pic16f887.h: 95: unsigned char ANSEL @ 0x188;

"96
[v _ANSELH `uc 1 e@393 ]
[; ;pic16f887.h: 96: unsigned char ANSELH @ 0x189;

"97
[v _EECON1 `Vuc 1 e@396 ]
[; ;pic16f887.h: 97: volatile unsigned char EECON1 @ 0x18C;

"98
[v _EECON2 `Vuc 1 e@397 ]
[; ;pic16f887.h: 98: volatile unsigned char EECON2 @ 0x18D;

"102
[v _CARRY `Vb 1 e@24 ]
[; ;pic16f887.h: 102: volatile bit CARRY @ ((unsigned)&STATUS*8)+0;

"103
[v _DC `Vb 1 e@25 ]
[; ;pic16f887.h: 103: volatile bit DC @ ((unsigned)&STATUS*8)+1;

"104
[v _ZERO `Vb 1 e@26 ]
[; ;pic16f887.h: 104: volatile bit ZERO @ ((unsigned)&STATUS*8)+2;

"105
[v _PD `Vb 1 e@27 ]
[; ;pic16f887.h: 105: volatile bit PD @ ((unsigned)&STATUS*8)+3;

"106
[v _TO `Vb 1 e@28 ]
[; ;pic16f887.h: 106: volatile bit TO @ ((unsigned)&STATUS*8)+4;

"107
[v _RP0 `b 1 e@29 ]
[; ;pic16f887.h: 107: bit RP0 @ ((unsigned)&STATUS*8)+5;

"108
[v _RP1 `b 1 e@30 ]
[; ;pic16f887.h: 108: bit RP1 @ ((unsigned)&STATUS*8)+6;

"109
[v _IRP `b 1 e@31 ]
[; ;pic16f887.h: 109: bit IRP @ ((unsigned)&STATUS*8)+7;

"112
[v _RA0 `Vb 1 e@40 ]
[; ;pic16f887.h: 112: volatile bit RA0 @ ((unsigned)&PORTA*8)+0;

"113
[v _RA1 `Vb 1 e@41 ]
[; ;pic16f887.h: 113: volatile bit RA1 @ ((unsigned)&PORTA*8)+1;

"114
[v _RA2 `Vb 1 e@42 ]
[; ;pic16f887.h: 114: volatile bit RA2 @ ((unsigned)&PORTA*8)+2;

"115
[v _RA3 `Vb 1 e@43 ]
[; ;pic16f887.h: 115: volatile bit RA3 @ ((unsigned)&PORTA*8)+3;

"116
[v _RA4 `Vb 1 e@44 ]
[; ;pic16f887.h: 116: volatile bit RA4 @ ((unsigned)&PORTA*8)+4;

"117
[v _RA5 `Vb 1 e@45 ]
[; ;pic16f887.h: 117: volatile bit RA5 @ ((unsigned)&PORTA*8)+5;

"118
[v _RA6 `Vb 1 e@46 ]
[; ;pic16f887.h: 118: volatile bit RA6 @ ((unsigned)&PORTA*8)+6;

"119
[v _RA7 `Vb 1 e@47 ]
[; ;pic16f887.h: 119: volatile bit RA7 @ ((unsigned)&PORTA*8)+7;

"122
[v _RB0 `Vb 1 e@48 ]
[; ;pic16f887.h: 122: volatile bit RB0 @ ((unsigned)&PORTB*8)+0;

"123
[v _RB1 `Vb 1 e@49 ]
[; ;pic16f887.h: 123: volatile bit RB1 @ ((unsigned)&PORTB*8)+1;

"124
[v _RB2 `Vb 1 e@50 ]
[; ;pic16f887.h: 124: volatile bit RB2 @ ((unsigned)&PORTB*8)+2;

"125
[v _RB3 `Vb 1 e@51 ]
[; ;pic16f887.h: 125: volatile bit RB3 @ ((unsigned)&PORTB*8)+3;

"126
[v _RB4 `Vb 1 e@52 ]
[; ;pic16f887.h: 126: volatile bit RB4 @ ((unsigned)&PORTB*8)+4;

"127
[v _RB5 `Vb 1 e@53 ]
[; ;pic16f887.h: 127: volatile bit RB5 @ ((unsigned)&PORTB*8)+5;

"128
[v _RB6 `Vb 1 e@54 ]
[; ;pic16f887.h: 128: volatile bit RB6 @ ((unsigned)&PORTB*8)+6;

"129
[v _RB7 `Vb 1 e@55 ]
[; ;pic16f887.h: 129: volatile bit RB7 @ ((unsigned)&PORTB*8)+7;

"132
[v _RC0 `Vb 1 e@56 ]
[; ;pic16f887.h: 132: volatile bit RC0 @ ((unsigned)&PORTC*8)+0;

"133
[v _RC1 `Vb 1 e@57 ]
[; ;pic16f887.h: 133: volatile bit RC1 @ ((unsigned)&PORTC*8)+1;

"134
[v _RC2 `Vb 1 e@58 ]
[; ;pic16f887.h: 134: volatile bit RC2 @ ((unsigned)&PORTC*8)+2;

"135
[v _RC3 `Vb 1 e@59 ]
[; ;pic16f887.h: 135: volatile bit RC3 @ ((unsigned)&PORTC*8)+3;

"136
[v _RC4 `Vb 1 e@60 ]
[; ;pic16f887.h: 136: volatile bit RC4 @ ((unsigned)&PORTC*8)+4;

"137
[v _RC5 `Vb 1 e@61 ]
[; ;pic16f887.h: 137: volatile bit RC5 @ ((unsigned)&PORTC*8)+5;

"138
[v _RC6 `Vb 1 e@62 ]
[; ;pic16f887.h: 138: volatile bit RC6 @ ((unsigned)&PORTC*8)+6;

"139
[v _RC7 `Vb 1 e@63 ]
[; ;pic16f887.h: 139: volatile bit RC7 @ ((unsigned)&PORTC*8)+7;

"157
[v _RE3 `Vb 1 e@75 ]
[; ;pic16f887.h: 157: volatile bit RE3 @ ((unsigned)&PORTE*8)+3;

"160
[v _RBIF `Vb 1 e@88 ]
[; ;pic16f887.h: 160: volatile bit RBIF @ ((unsigned)&INTCON*8)+0;

"162
[v _RABIF `Vb 1 e@88 ]
[; ;pic16f887.h: 162: volatile bit RABIF @ ((unsigned)&INTCON*8)+0;

"163
[v _INTF `Vb 1 e@89 ]
[; ;pic16f887.h: 163: volatile bit INTF @ ((unsigned)&INTCON*8)+1;

"164
[v _T0IF `Vb 1 e@90 ]
[; ;pic16f887.h: 164: volatile bit T0IF @ ((unsigned)&INTCON*8)+2;

"165
[v _RBIE `b 1 e@91 ]
[; ;pic16f887.h: 165: bit RBIE @ ((unsigned)&INTCON*8)+3;

"167
[v _RABIE `b 1 e@91 ]
[; ;pic16f887.h: 167: bit RABIE @ ((unsigned)&INTCON*8)+3;

"168
[v _INTE `b 1 e@92 ]
[; ;pic16f887.h: 168: bit INTE @ ((unsigned)&INTCON*8)+4;

"169
[v _T0IE `b 1 e@93 ]
[; ;pic16f887.h: 169: bit T0IE @ ((unsigned)&INTCON*8)+5;

"170
[v _PEIE `b 1 e@94 ]
[; ;pic16f887.h: 170: bit PEIE @ ((unsigned)&INTCON*8)+6;

"171
[v _GIE `Vb 1 e@95 ]
[; ;pic16f887.h: 171: volatile bit GIE @ ((unsigned)&INTCON*8)+7;

"174
[v _TMR1IF `Vb 1 e@96 ]
[; ;pic16f887.h: 174: volatile bit TMR1IF @ ((unsigned)&PIR1*8)+0;

"175
[v _TMR2IF `Vb 1 e@97 ]
[; ;pic16f887.h: 175: volatile bit TMR2IF @ ((unsigned)&PIR1*8)+1;

"176
[v _CCP1IF `Vb 1 e@98 ]
[; ;pic16f887.h: 176: volatile bit CCP1IF @ ((unsigned)&PIR1*8)+2;

"177
[v _SSPIF `Vb 1 e@99 ]
[; ;pic16f887.h: 177: volatile bit SSPIF @ ((unsigned)&PIR1*8)+3;

"178
[v _TXIF `Vb 1 e@100 ]
[; ;pic16f887.h: 178: volatile bit TXIF @ ((unsigned)&PIR1*8)+4;

"179
[v _RCIF `Vb 1 e@101 ]
[; ;pic16f887.h: 179: volatile bit RCIF @ ((unsigned)&PIR1*8)+5;

"180
[v _ADIF `Vb 1 e@102 ]
[; ;pic16f887.h: 180: volatile bit ADIF @ ((unsigned)&PIR1*8)+6;

"183
[v _CCP2IF `Vb 1 e@104 ]
[; ;pic16f887.h: 183: volatile bit CCP2IF @ ((unsigned)&PIR2*8)+0;

"184
[v _ULPWUIF `Vb 1 e@106 ]
[; ;pic16f887.h: 184: volatile bit ULPWUIF @ ((unsigned)&PIR2*8)+2;

"185
[v _BCLIF `Vb 1 e@107 ]
[; ;pic16f887.h: 185: volatile bit BCLIF @ ((unsigned)&PIR2*8)+3;

"186
[v _EEIF `Vb 1 e@108 ]
[; ;pic16f887.h: 186: volatile bit EEIF @ ((unsigned)&PIR2*8)+4;

"187
[v _C1IF `Vb 1 e@109 ]
[; ;pic16f887.h: 187: volatile bit C1IF @ ((unsigned)&PIR2*8)+5;

"188
[v _C2IF `Vb 1 e@110 ]
[; ;pic16f887.h: 188: volatile bit C2IF @ ((unsigned)&PIR2*8)+6;

"189
[v _OSFIF `Vb 1 e@111 ]
[; ;pic16f887.h: 189: volatile bit OSFIF @ ((unsigned)&PIR2*8)+7;

"192
[v _TMR1ON `b 1 e@128 ]
[; ;pic16f887.h: 192: bit TMR1ON @ ((unsigned)&T1CON*8)+0;

"193
[v _TMR1CS `b 1 e@129 ]
[; ;pic16f887.h: 193: bit TMR1CS @ ((unsigned)&T1CON*8)+1;

"194
[v _T1SYNC `b 1 e@130 ]
[; ;pic16f887.h: 194: bit T1SYNC @ ((unsigned)&T1CON*8)+2;

"195
[v _T1OSCEN `b 1 e@131 ]
[; ;pic16f887.h: 195: bit T1OSCEN @ ((unsigned)&T1CON*8)+3;

"196
[v _T1CKPS0 `b 1 e@132 ]
[; ;pic16f887.h: 196: bit T1CKPS0 @ ((unsigned)&T1CON*8)+4;

"197
[v _T1CKPS1 `b 1 e@133 ]
[; ;pic16f887.h: 197: bit T1CKPS1 @ ((unsigned)&T1CON*8)+5;

"198
[v _TMR1GE `b 1 e@134 ]
[; ;pic16f887.h: 198: bit TMR1GE @ ((unsigned)&T1CON*8)+6;

"199
[v _T1GINV `b 1 e@135 ]
[; ;pic16f887.h: 199: bit T1GINV @ ((unsigned)&T1CON*8)+7;

"202
[v _T2CKPS0 `b 1 e@144 ]
[; ;pic16f887.h: 202: bit T2CKPS0 @ ((unsigned)&T2CON*8)+0;

"203
[v _T2CKPS1 `b 1 e@145 ]
[; ;pic16f887.h: 203: bit T2CKPS1 @ ((unsigned)&T2CON*8)+1;

⌨️ 快捷键说明

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