在编译时,出现如下的错误
HI-TECH C Compiler for PIC10/12/16 MCUs (PRO Mode) V9.83
Copyright (C) 2011 Microchip Technology Inc.
Licensed for evaluation purposes only.
This licence will expire on Sat, 10 Oct 2015.
Warning [1090] D:\Documentation_Of_Program\PIC\test1\Version.c; 48. variable "_FirmwareVersion" is not used
Warning [1090] D:\Documentation_Of_Program\PIC\test1\state.c; 40. variable "_HW_Version" is not used
Error [712] D:\Documentation_Of_Program\PIC\test1\isr.c; 65. can't generate code for this expression
错误的定位语句是:CLK_OUT = !CLK_OUT & !Fire;
这两个变量是在该文件包含的头文件中声明和定义的,如下:、
static volatile bit CLK_OUT @((unsigned)&PORTC*8)+5;
extern volatile unsigned char Fire;
求高手指点迷津!!!!
|