TOP

可以在Interrupt Service Routine内执行Call吗?

因为sonix MCU Stack数目有限,在Interrupt中执行Call要特别注意,如果在进入Interrupt时Stack已经满了,则会造成Stack溢出,而使得程式无法返回。所以若要在Interrupt内执行Call,必需考虑在最差情况下Stack的使用数目,务必使在最差状况下进入Interrupt仍有Stack空间。