在线时间0 小时
UID80821
注册时间2007-7-3
NXP金币0
该用户从未签到
新手上路

- 积分
- 37
- 最后登录
- 1970-1-1
|
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.
不知是否有影响!!各位帮我看看
下面代码中设置断点,没看到过进入!!
</b>
#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 */
}
}
qq:494722760
|
|