Microchip
直播中

杨红

8年用户 217经验值
私信 关注
[问答]

MCC是否为ISR?

嗨,我用MC编译器和MCC做了第一次尝试。从那时起,我就用CCxx编程了。如果我生成代码,并且我已经配置了一些中断,那么它会生成MCC的中断向量代码和中断服务程序的框架吗?如果是的话,我在哪里能找到呢?当做!

以上来自于百度翻译


      以下为原文

    Hi,

I make the first tries with the MC-Compiler and the MCC. Since then years and more I did program with CCxx.

If I generate the code and I've configured some interrupts, does generate the MCC the code for the interrupt vector and the frameworks of interrupt service routines? If yes where I can find that?


Regards!

回帖(3)

陈晨

2018-12-25 16:14:44
是的,它生成ISR代码。ISR是不间断的。

以上来自于百度翻译


      以下为原文

    Yes it generates The ISR Code.  The ISR is in interrupt_manager.c
举报

张芳

2018-12-25 16:23:17
谢谢!昨天已经很晚了。我应该看到我自己。但是我有下一个问题。在C8E中,我可以设置一个固定的ROM地址。在例子中:{实用型原点0x03000 0} vyHealPrimeRealIt(空隙){VyHealPrimRyPalServer();返回;}此代码,然后是ROM地址0x03000 0h中的AppaRead。XC8中的这个实用符是什么?或者在哪里可以找到这样的语法描述?

以上来自于百度翻译


      以下为原文

    Thanks!
 
Yesterday it was late. I should have seen myself.
 
But I have the next question.
In the CC8e I can set funktion to a fix ROM address. In examble:

#pragma origin 0x03000
void V_highPriorityInt(void)
{
    V_highPriorityParser();
    return;
}

This code and the following then appaers from the ROM address 0x03000h.
What is the equivalent to this pragma in XC8 - or where can I find such a syntax description?
举报

王焕树

2018-12-25 16:29:22
XC8用户指南:“3.4.3.4我如何在我指定的地址上定位功能?”

以上来自于百度翻译


      以下为原文

    XC8 User Guide:
"3.4.3.4 HOW DO I POSITION FUNCTIONS AT AN ADDRESS I NOMINATE?"
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分