This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI-RTOS
我正在尝试通过本机 TI 驱动程序调用注册看门狗 ISR。 我希望它在 RTOS 下运行。 但我似乎与 ISR 有冲突、因为 TI RTOS 也有自己的 ISR 管理方法。 因此,如果我碰巧在 TI RTOS 应用程序中注册了用于看门狗的 ISR,它基本上会在 BIOS 启动后的某个时间注册一个故障。
请建议一种解决方法。
#ifdef __cplusplus
extern "C"{
#endif
volatile bool g_BFeedWatchdog = true;
静态空 WatchdogIntHandler ()
{
//
//如果被告知停止馈送看门狗,请立即返回
//而不清除中断。 这将导致系统复位
//下次触发看门狗中断。
if (!g_bFeedWatchdog)
{
返回;
}
//
//清除看门狗中断。
//
WatchdogIntClear (WATCHDOG0_BASE);
}//用于 CPP 项目中 C 链接的闭合花括号
#ifdef __cplusplus
}
#endif
使用命名空间应用程序;
//
C++4中的其余应用
在.cmd 文件中、我添加了.vtable 段
但它已经定义了.intvecs!