DT_Ints with PIC18F45K80 problem
Hello,
still a very, very newbie here. I made the changes to the original DT_Ints-18 program to match the K80 register names and when I try to compile the code I get the following error message:
Symbol not previously defined (IntFlagReg).
I also get
Symbol not previously defined (IntFlagBit).
I can see they are referenced in the DT_Ints-18 program but they are not defined in there or anywhere else I can find. Does anyone have a clue where they should be defined or is this because the name of the register changed in the K80?
Thanks,
Re: DT_Ints with PIC18F45K80 problem
Each Special Function Register (SFR) Interrupt used by DT_INT is denoted with an IntFlagReg (PIRx), while the switch controlled by each bit within the SFR is denoted as a IntFlagBit (bit within PIRx). Somewhere there is a disconnect, but without being able to see your code, it's impossible to tell where. Post your DT-Ints-18 version so we can take a look. It may very well be you missed a comma somewhere.
Re: DT_Ints with PIC18F45K80 problem - Fixed
Quote:
Originally Posted by
mpgmike
Each Special Function Register (SFR) Interrupt used by DT_INT is denoted with an IntFlagReg (PIRx), while the switch controlled by each bit within the SFR is denoted as a IntFlagBit (bit within PIRx). Somewhere there is a disconnect, but without being able to see your code, it's impossible to tell where. Post your DT-Ints-18 version so we can take a look. It may very well be you missed a comma somewhere.
Thanks mpgmike! you nailed it exactly. After walking around in circles, well actually around my block, I looked at the code and realized I missed a comma in the interrupt definition! One comma, 82 errors in the .err file! Talk about getting your money's worth!:D
Thanks again!