pic 16f877a 头文件

来源:百度知道 编辑:UC知道 时间:2024/05/29 15:55:34
我想知道所有的pic 16f877a 头文件都有哪些?
pic 16f877a.h头文件,我想要谁给我粘一下让我看看,我的里面没有

有pic 16f877a.h头文件呀,我都找到一些了,不过好像还少一些

也就汇编的头文件PIC16F877A.inc和C语言的pic1687x.h这两种文件。
想要找汇编的头文件,只要你的电脑装了MPLAB就行,直接在MPLAB的安装目录下找即可,比如我的MPLAB7.50是装在D盘的,我要找这个汇编的头文件就是在D:\Program Files\Microchip\MPASM Suite这个目录里。 而PIC单片机官方没有出针对PIC16F877A的C语言编译器,一般很多人都用PICC编译器,我电脑上的PICC8.50也装在D盘,D:\HT-PIC\include下找就行pic1687x.h
/*
* Header file for the Microchip
* PIC 16F870
* PIC 16F871
* PIC 16F872 chip
* PIC 16F873 chip
* PIC 16F874 chip
* PIC 16F876 chip
* PIC 16F877 chip
* Midrange Microcontroller
*/
#if defined(_16F874) || defined(_16F877) || defined(_16F871)
#define __PINS_40
#endif

static volatile unsigned char INDF @ 0x00;
static volatile unsigned char TMR0 @ 0x01;
static volatile unsigned char PCL @ 0x02;
static volatile unsigned char STATUS @ 0x03;
static unsigned char FSR @ 0x04;
static volatile unsigned char PORTA @ 0x05;
static volatile unsigned char PORTB @ 0x06;
static