没有合适的资源?快使用搜索试试~ 我知道了~
首页PIC16F877头文件
PIC16F877头文件
需积分: 11 8 下载量 29 浏览量
更新于2023-03-16
评论
收藏 35KB DOCX 举报
// // Register Declarations for Microchip 16F877 Processor // // // This header file was automatically generated by: // // inc2h.pl V1.6 // // Copyright (c) 2002, Kevin L. Pauba, All Rights Reserved // // SDCC is licensed under the GNU Public license (GPL) v2. Note that // this license covers the code to the compiler and other executables, // but explicitly does not cover any code or objects generated by sdcc. // We have not yet decided on a license for the run time libraries, but // it will not put any requirements on code linked against it. See: // // http://www.gnu.org/copyleft/gpl/html // // See http://sdcc.sourceforge.net/ for the latest information on sdcc. // // #ifndef P16F877_H #define P16F877_H ... ...
资源详情
资源评论
资源推荐
//
//RegisterDeclarationsforMicrochip16F877Proce
ssor
//
//
//Thisheaderfilewasautomaticallygeneratedby:
//
//inc2h.plV1.5
//
//Copyright(c)2002,KevinL.Pauba,AllRig
htsReserved
//
//SDCCislicensedundertheGNUPubliclicen
se(GPL)v2.Notethat
//thislicensecoversthecodetothecompile
randotherexecutables,
//butexplicitlydoesnotcoveranycodeoro
bjectsgeneratedbysdcc.
//Wehavenotyetdecidedonalicenseforth
eruntimelibraries,but
//itwillnotputanyrequirementsoncodeli
nkedagainstit.See:
//
//http://www.gnu.org/copyleft/gpl/html
//
//Seehttp://sdcc.sourceforge.net/forthela
testinformationonsdcc.
//
//
#ifndefP16F877_H
#defineP16F877_H
#ifndefBIT_AT
#defineBIT_AT(base,bitno)sbitat((base<<3)+bitno
)
#endif
//
//Registeraddresses.
//
#defineINDF_ADDR0x0000
#defineTMR0_ADDR0x0001
#definePCL_ADDR0x0002
#defineSTATUS_ADDR0x0003
#defineFSR_ADDR0x0004
#definePORTA_ADDR0x0005
#definePORTB_ADDR0x0006
#definePORTC_ADDR0x0007
#definePORTD_ADDR0x0008
#definePORTE_ADDR0x0009
#definePCLATH_ADDR0x000A
#defineINTCON_ADDR0x000B
#definePIR1_ADDR0x000C
#definePIR2_ADDR0x000D
#defineTMR1L_ADDR0x000E
#defineTMR1H_ADDR0x000F
#defineT1CON_ADDR0x0010
#defineTMR2_ADDR0x0011
#defineT2CON_ADDR0x0012
#defineSSPBUF_ADDR0x0013
#defineSSPCON_ADDR0x0014
#defineCCPR1L_ADDR0x0015
#defineCCPR1H_ADDR0x0016
#defineCCP1CON_ADDR0x0017
#defineRCSTA_ADDR0x0018
#defineTXREG_ADDR0x0019
#defineRCREG_ADDR0x001A
#defineCCPR2L_ADDR0x001B
#defineCCPR2H_ADDR0x001C
#defineCCP2CON_ADDR0x001D
#defineADRESH_ADDR0x001E
#defineADCON0_ADDR0x001F
#defineOPTION_REG_ADDR0x0081
#defineTRISA_ADDR0x0085
#defineTRISB_ADDR0x0086
#defineTRISC_ADDR0x0087
#defineTRISD_ADDR0x0088
#defineTRISE_ADDR0x0089
#definePIE1_ADDR0x008C
#definePIE2_ADDR0x008D
#definePCON_ADDR0x008E
#defineSSPCON2_ADDR0x0091
#definePR2_ADDR0x0092
#defineSSPADD_ADDR0x0093
#defineSSPSTAT_ADDR0x0094
#defineTXSTA_ADDR0x0098
#defineSPBRG_ADDR0x0099
#defineADRESL_ADDR0x009E
#defineADCON1_ADDR0x009F
#defineEEDATA_ADDR0x010C
#defineEEADR_ADDR0x010D
#defineEEDATH_ADDR0x010E
#defineEEADRH_ADDR0x010F
#defineEECON1_ADDR0x018C
#defineEECON2_ADDR0x018D
//
//Memoryorganization.
//
#pragmamaxram0x1FF
#pragmamemmap0x00200x006fRAM0x000
#pragmamemmap0x00700x007fRAM0x180
#pragmamemmap0x00a00x00efRAM0x000
#pragmamemmap0x01100x016fRAM0x000
#pragmamemmap0x01900x01efRAM0x000
#pragmamemmapINDF_ADDRINDF_ADDRSFR0x000//
INDF
#pragmamemmapTMR0_ADDRTMR0_ADDRSFR0x000//
TMR0
#pragmamemmapPCL_ADDRPCL_ADDRSFR0x000//
PCL
#pragmamemmapSTATUS_ADDRSTATUS_ADDRSFR0x000
//STATUS
#pragmamemmapFSR_ADDRFSR_ADDRSFR0x000//
FSR
#pragmamemmapPORTA_ADDRPORTA_ADDRSFR0x000//
PORTA
#pragmamemmapPORTB_ADDRPORTB_ADDRSFR0x000//
PORTB
#pragmamemmapPORTC_ADDRPORTC_ADDRSFR0x000//
PORTC
#pragmamemmapPORTD_ADDRPORTD_ADDRSFR0x000//
PORTD
#pragmamemmapPORTE_ADDRPORTE_ADDRSFR0x000//
PORTE
#pragmamemmapPCLATH_ADDRPCLATH_ADDRSFR0x000
//PCLATH
#pragmamemmapINTCON_ADDRINTCON_ADDRSFR0x000
//INTCON
#pragmamemmapPIR1_ADDRPIR1_ADDRSFR0x000//
剩余14页未读,继续阅读
conky1988
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- RTL8188FU-Linux-v5.7.4.2-36687.20200602.tar(20765).gz
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0