|
确定在切换pb5状态时 程序陷入死循环。
009CDA F7 LD (X), A
}
009CDB 81 RET
GPIOx->ODR |= (u8)PortPins;
GPIO_WriteHigh:
009CDC FA OR A, (X)
009CDD F7 LD (X), A
}
009CDE 81 RET
return ((u8)GPIOx->IDR);
GPIO_ReadInputData:
009CDF 5C INCW X
009CE0 F6 LD A, (X)
009CE1 81 RET
return ((BitStatus)(GPIOx->IDR & (vu8)GPIO_Pin));
GPIO_ReadInputPin:
009CE2 5C INCW X
009CE3 F4 AND A, (X)
009CE4 81 RET
_interrupt_1:
_interrupt_10:
_interrupt_11:
_interrupt_12:
_interrupt_13... +22 symbols not displayed:
009CE5 9D NOP
009CE6 20FD JRA _interrupt_1__low_level_init:
009CE8 5F CLRW X
009CE9 5C INCW X
009CEA 81 RET
exit:
009CEB CC9CD3 JP _exit
__DebugBreak:
009CEE 81 RET
009CEF FF DC8 0xFF
009CF0 00 DC8 0x00
009CF1 00 DC8 0x00
009CF2 00 DC8 0x00
009CF3 FF DC8 0xFF
009CF4 00 DC8 0x00
009CF5 00 DC8 0x00
程序在_interrupt_1:
_interrupt_10:
_interrupt_11:
_interrupt_12:
_interrupt_13... +22 symbols not displayed:
009CE5 9D NOP
009CE6 20FD JRA _interrupt_1
处死循环。。。。。。。。
郁闷啊! |
|