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

📄 pic169xx.h

📁 一个PIC的demo程序包
💻 H
📖 第 1 页 / 共 2 页
字号:
/*	PIE1 bits	*/static bank1 bit	LCDIE	@ (unsigned)&PIE1*8+7;#ifdef _16C924static bank1 bit	ADIE	@ (unsigned)&PIE1*8+6;#endifstatic bank1 bit	SSPIE	@ (unsigned)&PIE1*8+3;static bank1 bit	CCP1IE	@ (unsigned)&PIE1*8+2;static bank1 bit	TMR2IE	@ (unsigned)&PIE1*8+1;static bank1 bit	TMR1IE	@ (unsigned)&PIE1*8+0;/*	PCON bit	*/static bank1 bit	POR	@ (unsigned)&PCON*8+1;/*      SSPSTAT bits    */static bank1 bit        STAT_SMP        @ (unsigned)&SSPSTAT*8+7;static bank1 bit        STAT_CKE        @ (unsigned)&SSPSTAT*8+6;static bank1 bit        STAT_DA         @ (unsigned)&SSPSTAT*8+5;static bank1 bit        STAT_P          @ (unsigned)&SSPSTAT*8+4;static bank1 bit        STAT_S          @ (unsigned)&SSPSTAT*8+3;static bank1 bit        STAT_RW         @ (unsigned)&SSPSTAT*8+2;static bank1 bit        STAT_UA         @ (unsigned)&SSPSTAT*8+1;static bank1 bit        STAT_BF         @ (unsigned)&SSPSTAT*8+0;/*      PORTF bits      */static bank2 bit      RF7     @ (unsigned)&PORTF*8+7;static bank2 bit      RF6     @ (unsigned)&PORTF*8+6;static bank2 bit      RF5     @ (unsigned)&PORTF*8+5;static bank2 bit      RF4     @ (unsigned)&PORTF*8+4;static bank2 bit      RF3     @ (unsigned)&PORTF*8+3;static bank2 bit      RF2     @ (unsigned)&PORTF*8+2;static bank2 bit      RF1     @ (unsigned)&PORTF*8+1;static bank2 bit      RF0     @ (unsigned)&PORTF*8+0;/*      PORTG bits      */static bank2 bit      RG7     @ (unsigned)&PORTG*8+7;static bank2 bit      RG6     @ (unsigned)&PORTG*8+6;static bank2 bit      RG5     @ (unsigned)&PORTG*8+5;static bank2 bit      RG4     @ (unsigned)&PORTG*8+4;static bank2 bit      RG3     @ (unsigned)&PORTG*8+3;static bank2 bit      RG2     @ (unsigned)&PORTG*8+2;static bank2 bit      RG1     @ (unsigned)&PORTG*8+1;static bank2 bit      RG0     @ (unsigned)&PORTG*8+0;/*      LCDSE bits      */static bank2 bit        SE29    @ (unsigned)&LCDSE*8+7;static bank2 bit        SE27    @ (unsigned)&LCDSE*8+6;static bank2 bit        SE20    @ (unsigned)&LCDSE*8+5;static bank2 bit        SE16    @ (unsigned)&LCDSE*8+4;static bank2 bit        SE12    @ (unsigned)&LCDSE*8+3;static bank2 bit        SE9     @ (unsigned)&LCDSE*8+2;static bank2 bit        SE5     @ (unsigned)&LCDSE*8+1;static bank2 bit        SE0     @ (unsigned)&LCDSE*8+0;/*      LCDPS bits      */static bank2 bit        LP3     @ (unsigned)&LCDPS*8+3;static bank2 bit        LP2     @ (unsigned)&LCDPS*8+2;static bank2 bit        LP1     @ (unsigned)&LCDPS*8+1;static bank2 bit        LP0     @ (unsigned)&LCDPS*8+0;/*      LCDCON bits     */static bank2 bit        LCDEN   @ (unsigned)&LCDCON*8+7;static bank2 bit        SLPEN   @ (unsigned)&LCDCON*8+7;static bank2 bit        VGEN    @ (unsigned)&LCDCON*8+7;static bank2 bit        CS1     @ (unsigned)&LCDCON*8+7;static bank2 bit        CS0     @ (unsigned)&LCDCON*8+7;static bank2 bit        LMUX1   @ (unsigned)&LCDCON*8+7;static bank2 bit        LMUX0   @ (unsigned)&LCDCON*8+7;/*      LCDD00 bits     COM0    */static bank2 bit        COM0SEG07       @ (unsigned)&LCDD00*8+7;static bank2 bit        COM0SEG06       @ (unsigned)&LCDD00*8+6;static bank2 bit        COM0SEG05       @ (unsigned)&LCDD00*8+5;static bank2 bit        COM0SEG04       @ (unsigned)&LCDD00*8+4;static bank2 bit        COM0SEG03       @ (unsigned)&LCDD00*8+3;static bank2 bit        COM0SEG02       @ (unsigned)&LCDD00*8+2;static bank2 bit        COM0SEG01       @ (unsigned)&LCDD00*8+1;static bank2 bit        COM0SEG00       @ (unsigned)&LCDD00*8+0;/*      LCDD01 bits     COM0    */static bank2 bit        COM0SEG15       @ (unsigned)&LCDD01*8+7;static bank2 bit        COM0SEG14       @ (unsigned)&LCDD01*8+6;static bank2 bit        COM0SEG13       @ (unsigned)&LCDD01*8+5;static bank2 bit        COM0SEG12       @ (unsigned)&LCDD01*8+4;static bank2 bit        COM0SEG11       @ (unsigned)&LCDD01*8+3;static bank2 bit        COM0SEG10       @ (unsigned)&LCDD01*8+2;static bank2 bit        COM0SEG09       @ (unsigned)&LCDD01*8+1;static bank2 bit        COM0SEG08       @ (unsigned)&LCDD01*8+0;/*      LCDD02 bits     COM0    */static bank2 bit        COM0SEG23       @ (unsigned)&LCDD02*8+7;static bank2 bit        COM0SEG22       @ (unsigned)&LCDD02*8+6;static bank2 bit        COM0SEG21       @ (unsigned)&LCDD02*8+5;static bank2 bit        COM0SEG20       @ (unsigned)&LCDD02*8+4;static bank2 bit        COM0SEG19       @ (unsigned)&LCDD02*8+3;static bank2 bit        COM0SEG18       @ (unsigned)&LCDD02*8+2;static bank2 bit        COM0SEG17       @ (unsigned)&LCDD02*8+1;static bank2 bit        COM0SEG16       @ (unsigned)&LCDD02*8+0;/*      LCDD03 bits     COM0    */static bank2 bit        COM0SEG31       @ (unsigned)&LCDD03*8+7;static bank2 bit        COM0SEG30       @ (unsigned)&LCDD03*8+6;static bank2 bit        COM0SEG29       @ (unsigned)&LCDD03*8+5;static bank2 bit        COM0SEG28       @ (unsigned)&LCDD03*8+4;static bank2 bit        COM0SEG27       @ (unsigned)&LCDD03*8+3;static bank2 bit        COM0SEG26       @ (unsigned)&LCDD03*8+2;static bank2 bit        COM0SEG25       @ (unsigned)&LCDD03*8+1;static bank2 bit        COM0SEG24       @ (unsigned)&LCDD03*8+0;/*      LCDD04 bits     COM1    */static bank2 bit        COM1SEG07       @ (unsigned)&LCDD04*8+7;static bank2 bit        COM1SEG06       @ (unsigned)&LCDD04*8+6;static bank2 bit        COM1SEG05       @ (unsigned)&LCDD04*8+5;static bank2 bit        COM1SEG04       @ (unsigned)&LCDD04*8+4;static bank2 bit        COM1SEG03       @ (unsigned)&LCDD04*8+3;static bank2 bit        COM1SEG02       @ (unsigned)&LCDD04*8+2;static bank2 bit        COM1SEG01       @ (unsigned)&LCDD04*8+1;static bank2 bit        COM1SEG00       @ (unsigned)&LCDD04*8+0;/*      LCDD05 bits     COM1    */static bank2 bit        COM1SEG15       @ (unsigned)&LCDD05*8+7;static bank2 bit        COM1SEG14       @ (unsigned)&LCDD05*8+6;static bank2 bit        COM1SEG13       @ (unsigned)&LCDD05*8+5;static bank2 bit        COM1SEG12       @ (unsigned)&LCDD05*8+4;static bank2 bit        COM1SEG11       @ (unsigned)&LCDD05*8+3;static bank2 bit        COM1SEG10       @ (unsigned)&LCDD05*8+2;static bank2 bit        COM1SEG09       @ (unsigned)&LCDD05*8+1;static bank2 bit        COM1SEG08       @ (unsigned)&LCDD05*8+0;/*      LCDD06 bits     COM1    */static bank2 bit        COM1SEG23       @ (unsigned)&LCDD06*8+7;static bank2 bit        COM1SEG22       @ (unsigned)&LCDD06*8+6;static bank2 bit        COM1SEG21       @ (unsigned)&LCDD06*8+5;static bank2 bit        COM1SEG20       @ (unsigned)&LCDD06*8+4;static bank2 bit        COM1SEG19       @ (unsigned)&LCDD06*8+3;static bank2 bit        COM1SEG18       @ (unsigned)&LCDD06*8+2;static bank2 bit        COM1SEG17       @ (unsigned)&LCDD06*8+1;static bank2 bit        COM1SEG16       @ (unsigned)&LCDD06*8+0;/*      LCDD07 bits     COM1    */static bank2 bit        COM1SEG31       @ (unsigned)&LCDD07*8+7;static bank2 bit        COM1SEG30       @ (unsigned)&LCDD07*8+6;static bank2 bit        COM1SEG29       @ (unsigned)&LCDD07*8+5;static bank2 bit        COM1SEG28       @ (unsigned)&LCDD07*8+4;static bank2 bit        COM1SEG27       @ (unsigned)&LCDD07*8+3;static bank2 bit        COM1SEG26       @ (unsigned)&LCDD07*8+2;static bank2 bit        COM1SEG25       @ (unsigned)&LCDD07*8+1;static bank2 bit        COM1SEG24       @ (unsigned)&LCDD07*8+0;/*      LCDD08 bits     COM2    */static bank2 bit        COM2SEG07       @ (unsigned)&LCDD08*8+7;static bank2 bit        COM2SEG06       @ (unsigned)&LCDD08*8+6;static bank2 bit        COM2SEG05       @ (unsigned)&LCDD08*8+5;static bank2 bit        COM2SEG04       @ (unsigned)&LCDD08*8+4;static bank2 bit        COM2SEG03       @ (unsigned)&LCDD08*8+3;static bank2 bit        COM2SEG02       @ (unsigned)&LCDD08*8+2;static bank2 bit        COM2SEG01       @ (unsigned)&LCDD08*8+1;static bank2 bit        COM2SEG00       @ (unsigned)&LCDD08*8+0;/*      LCDD09 bits     COM2    */static bank2 bit        COM2SEG15       @ (unsigned)&LCDD09*8+7;static bank2 bit        COM2SEG14       @ (unsigned)&LCDD09*8+6;static bank2 bit        COM2SEG13       @ (unsigned)&LCDD09*8+5;static bank2 bit        COM2SEG12       @ (unsigned)&LCDD09*8+4;static bank2 bit        COM2SEG11       @ (unsigned)&LCDD09*8+3;static bank2 bit        COM2SEG10       @ (unsigned)&LCDD09*8+2;static bank2 bit        COM2SEG09       @ (unsigned)&LCDD09*8+1;static bank2 bit        COM2SEG08       @ (unsigned)&LCDD09*8+0;/*      LCDD10 bits     COM2    */static bank2 bit        COM2SEG23       @ (unsigned)&LCDD10*8+7;static bank2 bit        COM2SEG22       @ (unsigned)&LCDD10*8+6;static bank2 bit        COM2SEG21       @ (unsigned)&LCDD10*8+5;static bank2 bit        COM2SEG20       @ (unsigned)&LCDD10*8+4;static bank2 bit        COM2SEG19       @ (unsigned)&LCDD10*8+3;static bank2 bit        COM2SEG18       @ (unsigned)&LCDD10*8+2;static bank2 bit        COM2SEG17       @ (unsigned)&LCDD10*8+1;static bank2 bit        COM2SEG16       @ (unsigned)&LCDD10*8+0;/*      LCDD11 bits     COM2    */static bank2 bit        COM2SEG31       @ (unsigned)&LCDD11*8+7;static bank2 bit        COM2SEG30       @ (unsigned)&LCDD11*8+6;static bank2 bit        COM2SEG29       @ (unsigned)&LCDD11*8+5;static bank2 bit        COM2SEG28       @ (unsigned)&LCDD11*8+4;static bank2 bit        COM2SEG27       @ (unsigned)&LCDD11*8+3;static bank2 bit        COM2SEG26       @ (unsigned)&LCDD11*8+2;static bank2 bit        COM2SEG25       @ (unsigned)&LCDD11*8+1;static bank2 bit        COM2SEG24       @ (unsigned)&LCDD11*8+0;/*      LCDD12 bits     COM3    */static bank2 bit        COM3SEG07       @ (unsigned)&LCDD12*8+7;static bank2 bit        COM3SEG06       @ (unsigned)&LCDD12*8+6;static bank2 bit        COM3SEG05       @ (unsigned)&LCDD12*8+5;static bank2 bit        COM3SEG04       @ (unsigned)&LCDD12*8+4;static bank2 bit        COM3SEG03       @ (unsigned)&LCDD12*8+3;static bank2 bit        COM3SEG02       @ (unsigned)&LCDD12*8+2;static bank2 bit        COM3SEG01       @ (unsigned)&LCDD12*8+1;static bank2 bit        COM3SEG00       @ (unsigned)&LCDD12*8+0;/*      LCDD13 bits     COM3    */static bank2 bit        COM3SEG15       @ (unsigned)&LCDD13*8+7;static bank2 bit        COM3SEG14       @ (unsigned)&LCDD13*8+6;static bank2 bit        COM3SEG13       @ (unsigned)&LCDD13*8+5;static bank2 bit        COM3SEG12       @ (unsigned)&LCDD13*8+4;static bank2 bit        COM3SEG11       @ (unsigned)&LCDD13*8+3;static bank2 bit        COM3SEG10       @ (unsigned)&LCDD13*8+2;static bank2 bit        COM3SEG09       @ (unsigned)&LCDD13*8+1;static bank2 bit        COM3SEG08       @ (unsigned)&LCDD13*8+0;/*      LCDD14 bits     COM3    */static bank2 bit        COM3SEG23       @ (unsigned)&LCDD14*8+7;static bank2 bit        COM3SEG22       @ (unsigned)&LCDD14*8+6;static bank2 bit        COM3SEG21       @ (unsigned)&LCDD14*8+5;static bank2 bit        COM3SEG20       @ (unsigned)&LCDD14*8+4;static bank2 bit        COM3SEG19       @ (unsigned)&LCDD14*8+3;static bank2 bit        COM3SEG18       @ (unsigned)&LCDD14*8+2;static bank2 bit        COM3SEG17       @ (unsigned)&LCDD14*8+1;static bank2 bit        COM3SEG16       @ (unsigned)&LCDD14*8+0;/*      LCDD15 bits     COM3    */static bank2 bit        COM3SEG31       @ (unsigned)&LCDD15*8+7;static bank2 bit        COM3SEG30       @ (unsigned)&LCDD15*8+6;static bank2 bit        COM3SEG29       @ (unsigned)&LCDD15*8+5;static bank2 bit        COM3SEG28       @ (unsigned)&LCDD15*8+4;static bank2 bit        COM3SEG27       @ (unsigned)&LCDD15*8+3;static bank2 bit        COM3SEG26       @ (unsigned)&LCDD15*8+2;static bank2 bit        COM3SEG25       @ (unsigned)&LCDD15*8+1;static bank2 bit        COM3SEG24       @ (unsigned)&LCDD15*8+0;/*      TRISF bits      */static bank3 bit        TRISF7  @ (unsigned)&TRISF*8+7;static bank3 bit        TRISF6  @ (unsigned)&TRISF*8+6;static bank3 bit        TRISF5  @ (unsigned)&TRISF*8+5;static bank3 bit        TRISF4  @ (unsigned)&TRISF*8+4;static bank3 bit        TRISF3  @ (unsigned)&TRISF*8+3;static bank3 bit        TRISF2  @ (unsigned)&TRISF*8+2;static bank3 bit        TRISF1  @ (unsigned)&TRISF*8+1;static bank3 bit        TRISF0  @ (unsigned)&TRISF*8+0;/*      TRISG bits      */static bank3 bit        TRISG7  @ (unsigned)&TRISG*8+7;static bank3 bit        TRISG6  @ (unsigned)&TRISG*8+6;static bank3 bit        TRISG5  @ (unsigned)&TRISG*8+5;static bank3 bit        TRISG4  @ (unsigned)&TRISG*8+4;static bank3 bit        TRISG3  @ (unsigned)&TRISG*8+3;static bank3 bit        TRISG2  @ (unsigned)&TRISG*8+2;static bank3 bit        TRISG1  @ (unsigned)&TRISG*8+1;static bank3 bit        TRISG0  @ (unsigned)&TRISG*8+0;#define CONFIG_ADDR	0x2007#define FOSC0		0x01#define FOSC1		0x02#define WDTE		0x04#define PWRTE		0x08#define CP0		0x10#define CP1		0x20

⌨️ 快捷键说明

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