|
freescale 56f800,软件codewarrior10.5,新问题出来.调试用simulator;
pe产生代码,只有一个定时器,不能中断,不知何故?
但是有2个警告:
Overlap of the .interrupt_vectors section and .interrupt_vectorsboot section.
Overlap of the .interrupt_vectorsboot section and .interrupt_vectors section.
不知是否有影响!!各位帮我看看
下面代码中设置断点,没看到过进入!!
#pragma interrupt alignsp
void FC161_Interrupt(void)
{
clrRegBit(TMR0_SCR,TCF); /* Reset interrupt request flag */
TTicks++; /* Increment counter of timer ticks */
if (TTicks == 0U) { /* Testing counter overflow */
TOvf = TRUE; /* If yes then set overflow flag */
}
}
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|