// Header file
#ifndef ICD2_DEBUG
#pragma chip PIC18F4680, core 16, code 32768, ram 0 : 0xCFF
#else
#pragma chip PIC18F4680, core 16, code 0x7EC0, ram 0 : 0xCFF
// NOTE: last 320 words are reserved for ICD2 debugging
char reservedICD2[12] @ 0xCF4; // reserved RAM for ICD2
#pragma stackLevels 29 // reserve two levels for debugging
#endif
// Extended Instruction Set
#pragma accessGPR 0x60
/* Predefined:
TOSU,TOSH,TOSL,
STKPTR,
PCLATU,PCLATH,PCL,
TBLPTRU,TBLPTRH,TBLPTRL,TBLPTR,TABLAT,
PRODH,PRODL,
INTCON,INTCON2,INTCON3,
INDF0,POSTINC0,POSTDEC0,PREINC0,PLUSW0,FSR0H,FSR0L,FSR0,
WREG,
INDF1,POSTINC1,POSTDEC1,PREINC1,PLUSW1,FSR1H,FSR1L,FSR1,
BSR,BSRL,
INDF2,POSTINC2,POSTDEC2,PREINC2,PLUSW2,FSR2H,FSR2L,FSR2,
STATUS,
Carry,DC,Zero_,Overflow,Negative,
*/
char TMR0H @ 0xFD7;
char TMR0L @ 0xFD6;
char T0CON @ 0xFD5;
char OSCCON @ 0xFD3;
char HLVDCON @ 0xFD2;
char WDTCON @ 0xFD1;
char RCON @ 0xFD0;
char TMR1H @ 0xFCF;
char TMR1L @ 0xFCE;
char T1CON @ 0xFCD;
char TMR2 @ 0xFCC;
char PR2 @ 0xFCB;
char T2CON @ 0xFCA;
char SSPBUF @ 0xFC9;
char SSPADD @ 0xFC8;
char SSPSTAT @ 0xFC7;
char SSPCON1 @ 0xFC6;
char SSPCON2 @ 0xFC5;
char ADRESH @ 0xFC4;
char ADRESL @ 0xFC3;
char ADCON0 @ 0xFC2;
char ADCON1 @ 0xFC1;
char ADCON2 @ 0xFC0;
char CCPR1H @ 0xFBF;
char CCPR1L @ 0xFBE;
char CCP1CON @ 0xFBD;
char ECCPR1H @ 0xFBC;
char ECCPR1L @ 0xFBB;
char ECCP1CON @ 0xFBA;
char BAUDCON @ 0xFB8;
char ECCP1DEL @ 0xFB7;
char ECCP1AS @ 0xFB6;
char CVRCON @ 0xFB5;
char CMCON @ 0xFB4;
char TMR3H @ 0xFB3;
char TMR3L @ 0xFB2;
char T3CON @ 0xFB1;
char SPBRGH @ 0xFB0;
char SPBRG @ 0xFAF;
char RCREG @ 0xFAE;
char TXREG @ 0xFAD;
char TXSTA @ 0xFAC;
char RCSTA @ 0xFAB;
char EEADRH @ 0xFAA;
char EEADR @ 0xFA9;
char EEDATA @ 0xFA8;
char EECON2 @ 0xFA7;
char EECON1 @ 0xFA6;
char IPR3 @ 0xFA5;
char PIR3 @ 0xFA4;
char PIE3 @ 0xFA3;
char IPR2 @ 0xFA2;
char PIR2 @ 0xFA1;
char PIE2 @ 0xFA0;
char IPR1 @ 0xF9F;
char PIR1 @ 0xF9E;
char PIE1 @ 0xF9D;
char OSCTUNE @ 0xF9B;
char TRISE @ 0xF96;
char TRISD @ 0xF95;
char TRISC @ 0xF94;
char TRISB @ 0xF93;
char TRISA @ 0xF92;
char LATE @ 0xF8D;
char LATD @ 0xF8C;
char LATC @ 0xF8B;
char LATB @ 0xF8A;
char LATA @ 0xF89;
char PORTE @ 0xF84;
char PORTD @ 0xF83;
char PORTC @ 0xF82;
char PORTB @ 0xF81;
char PORTA @ 0xF80;
char ECANCON @ 0xF77;
char TXERRCNT @ 0xF76;
char RXERRCNT @ 0xF75;
char COMSTAT @ 0xF74;
char CIOCON @ 0xF73;
char BRGCON3 @ 0xF72;
char BRGCON2 @ 0xF71;
char BRGCON1 @ 0xF70;
char CANCON @ 0xF6F;
char CANSTAT @ 0xF6E;
char RXB0D7 @ 0xF6D;
char RXB0D6 @ 0xF6C;
char RXB0D5 @ 0xF6B;
char RXB0D4 @ 0xF6A;
char RXB0D3 @ 0xF69;
char RXB0D2 @ 0xF68;
char RXB0D1 @ 0xF67;
char RXB0D0 @ 0xF66;
char RXB0DLC @ 0xF65;
char RXB0EIDL @ 0xF64;
char RXB0EIDH @ 0xF63;
char RXB0SIDL @ 0xF62;
char RXB0SIDH @ 0xF61;
char RXB0CON @ 0xF60;
char CANCON_RO0 @ 0xF5F;
char CANSTAT_RO0 @ 0xF5E;
char RXB1D7 @ 0xF5D;
char RXB1D6 @ 0xF5C;
char RXB1D5 @ 0xF5B;
char RXB1D4 @ 0xF5A;
char RXB1D3 @ 0xF59;
char RXB1D2 @ 0xF58;
char RXB1D1 @ 0xF57;
char RXB1D0 @ 0xF56;
char RXB1DLC @ 0xF55;
char RXB1EIDL @ 0xF54;
char RXB1EIDH @ 0xF53;
char RXB1SIDL @ 0xF52;
char RXB1SIDH @ 0xF51;
char RXB1CON @ 0xF50;
char CANCON_RO1 @ 0xF4F;
char CANSTAT_RO1 @ 0xF4E;
char TXB0D7 @ 0xF4D;
char TXB0D6 @ 0xF4C;
char TXB0D5 @ 0xF4B;
char TXB0D4 @ 0xF4A;
char TXB0D3 @ 0xF49;
char TXB0D2 @ 0xF48;
char TXB0D1 @ 0xF47;
char TXB0D0 @ 0xF46;
char TXB0DLC @ 0xF45;
char TXB0EIDL @ 0xF44;
char TXB0EIDH @ 0xF43;
char TXB0SIDL @ 0xF42;
char TXB0SIDH @ 0xF41;
char TXB0CON @ 0xF40;
char CANCON_RO2 @ 0xF3F;
char CANSTAT_RO2 @ 0xF3E;
char TXB1D7 @ 0xF3D;
char TXB1D6 @ 0xF3C;
char TXB1D5 @ 0xF3B;
char TXB1D4 @ 0xF3A;
char TXB1D3 @ 0xF39;
char TXB1D2 @ 0xF38;
char TXB1D1 @ 0xF37;
char TXB1D0 @ 0xF36;
char TXB1DLC @ 0xF35;
char TXB1EIDL @ 0xF34;
char TXB1EIDH @ 0xF33;
char TXB1SIDL @ 0xF32;
char TXB1SIDH @ 0xF31;
char TXB1CON @ 0xF30;
char CANCON_RO3 @ 0xF2F;
char CANSTAT_RO3 @ 0xF2E;
char TXB2D7 @ 0xF2D;
char TXB2D6 @ 0xF2C;
char TXB2D5 @ 0xF2B;
char TXB2D4 @ 0xF2A;
char TXB2D3 @ 0xF29;
char TXB2D2 @ 0xF28;
char TXB2D1 @ 0xF27;
char TXB2D0 @ 0xF26;
char TXB2DLC @ 0xF25;
char TXB2EIDL @ 0xF24;
char TXB2EIDH @ 0xF23;
char TXB2SIDL @ 0xF22;
char TXB2SIDH @ 0xF21;
char TXB2CON @ 0xF20;
char RXM1EIDL @ 0xF1F;
char RXM1EIDH @ 0xF1E;
char RXM1SIDL @ 0xF1D;
char RXM1SIDH @ 0xF1C;
char RXM0EIDL @ 0xF1B;
char RXM0EIDH @ 0xF1A;
char RXM0SIDL @ 0xF19;
char RXM0SIDH @ 0xF18;
char RXF5EIDL @ 0xF17;
char RXF5EIDH @ 0xF16;
char RXF5SIDL @ 0xF15;
char RXF5SIDH @ 0xF14;
char RXF4EIDL @ 0xF13;
char RXF4EIDH @ 0xF12;
char RXF4SIDL @ 0xF11;
char RXF4SIDH @ 0xF10;
char RXF3EIDL @ 0xF0F;
char RXF3EIDH @ 0xF0E;
char RXF3SIDL @ 0xF0D;
char RXF3SIDH @ 0xF0C;
char RXF2EIDL @ 0xF0B;
char RXF2EIDH @ 0xF0A;
char RXF2SIDL @ 0xF09;
char RXF2SIDH @ 0xF08;
char RXF1EIDL @ 0xF07;
char RXF1EIDH @ 0xF06;
char RXF1SIDL @ 0xF05;
char RXF1SIDH @ 0xF04;
char RXF0EIDL @ 0xF03;
char RXF0EIDH @ 0xF02;
char RXF0SIDL @ 0xF01;
char RXF0SIDH @ 0xF00;
char CANCON_RO4 @ 0xE7F;
char CANSTAT_RO4 @ 0xE7E;
char B5D7 @ 0xE7D;
char B5D6 @ 0xE7C;
char B5D5 @ 0xE7B;
char B5D4 @ 0xE7A;
char B5D3 @ 0xE79;
char B5D2 @ 0xE78;
char B5D1 @ 0xE77;
char B5D0 @ 0xE76;
char B5DLC @ 0xE75;
char B5EIDL @ 0xE74;
char B5EIDH @ 0xE73;
char B5SIDL @ 0xE72;
char B5SIDH @ 0xE71;
char B5CON @ 0xE70;
char CANCON_RO5 @ 0xE6F;
char CANSTAT_RO5 @ 0xE6E;
char B4D7 @ 0xE6D;
char B4D6 @ 0xE6C;
char B4D5 @ 0xE6B;
char B4D4 @ 0xE6A;
char B4D3 @ 0xE69;
char B4D2 @ 0xE68;
char B4D1 @ 0xE67;
char B4D0 @ 0xE66;
char B4DLC @ 0xE65;
char B4EIDL @ 0xE64;
char B4EIDH @ 0xE63;
char B4SIDL @ 0xE62;
char B4SIDH @ 0xE61;
char B4CON @ 0xE60;
char CANCON_RO6 @ 0xE5F;
char CANSTAT_RO6 @ 0xE5E;
char B3D7 @ 0xE5D;
char B3D6 @ 0xE5C;
char B3D5 @ 0xE5B;
char B3D4 @ 0xE5A;
char B3D3 @ 0xE59;
char B3D2 @ 0xE58;
char B3D1 @ 0xE57;
char B3D0 @ 0xE56;
char B3DLC @ 0xE55;
char B3EIDL @ 0xE54;
char B3EIDH @ 0xE53;
char B3SIDL @ 0xE52;
char B3SIDH @ 0xE51;
char B3CON @ 0xE50;
char CANCON_RO7 @ 0xE4F;
char CANSTAT_RO7 @ 0xE4E;
char B2D7 @ 0xE4D;
char B2D6 @ 0xE4C;
char B2D5 @ 0xE4B;
char B2D4 @ 0xE4A;
char B2D3 @ 0xE49;
char B2D2 @ 0xE48;
char B2D1 @ 0xE47;
char B2D0 @ 0xE46;
char B2DLC @ 0xE45;
char B2EIDL @ 0xE44;
char B2EIDH @ 0xE43;
char B2SIDL @ 0xE42;
char B2SIDH @ 0xE41;
char B2CON @ 0xE40;
char CANCON_RO8 @ 0xE3F;
char CANSTAT_RO8 @ 0xE3E;
char B1D7 @ 0xE3D;
char B1D6 @ 0xE3C;
char B1D5 @ 0xE3B;
char B1D4 @ 0xE3A;
char B1D3 @ 0xE39;
char B1D2 @ 0xE38;
char B1D1 @ 0xE37;
char B1D0 @ 0xE36;
char B1DLC @ 0xE35;
char B1EIDL @ 0xE34;
char B1EIDH @ 0xE33;
char B1SIDL @ 0xE32;
char B1SIDH @ 0xE31;
char B1CON @ 0xE30;
char CANCON_RO9 @ 0xE2F;
char CANSTAT_RO9 @ 0xE2E;
char B0D7 @ 0xE2D;
char B0D6 @ 0xE2C;
char B0D5 @ 0xE2B;
char B0D4 @ 0xE2A;
char B0D3 @ 0xE29;
char B0D2 @ 0xE28;
char B0D1 @ 0xE27;
char B0D0 @ 0xE26;
char B0DLC @ 0xE25;
char B0EIDL @ 0xE24;
char B0EIDH @ 0xE23;
char B0SIDL @ 0xE22;
char B0SIDH @ 0xE21;
char B0CON @ 0xE20;
char TXBIE @ 0xDFC;
char BIE0 @ 0xDFA;
char BSEL0 @ 0xDF8;
char MSEL3 @ 0xDF3;
char MSEL2 @ 0xDF2;
char MSEL1 @ 0xDF1;
char MSEL0 @ 0xDF0;
char RXFBCON7 @
没有合适的资源?快使用搜索试试~ 我知道了~
header8e.zip_18f8527_freertos

共107个文件
h:106个
txt:1个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 113 浏览量
2022-09-14
14:33:12
上传
评论
收藏 243KB ZIP 举报
温馨提示
FreeRTOS 是一个源码公开的免费的嵌入式实时操作系统,通过研究其内核可以更 好地理 解 嵌入式操作系统的实现原理 .本文主要阐述FreeRTOS 系统中的任务调度 机制、时间管理 机 制、任务管理 机制以及内存分配策略 的实现原理 ,并指出FreeRTOS 在应用中的优缺点。
资源推荐
资源详情
资源评论





















格式:pdf 资源大小:1.3MB 页数:88







收起资源包目录





































































































共 107 条
- 1
- 2
资源评论


朱moyimi
- 粉丝: 102
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
