RT:如果在MSP430的PI口中断服务函数中,关闭定时器中断,那么当P1口中断退出时,总中断会开启,那么定时器中断也是会自动打开的么?
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.
RT:如果在MSP430的PI口中断服务函数中,关闭定时器中断,那么当P1口中断退出时,总中断会开启,那么定时器中断也是会自动打开的么?
不会。
进出中断MCU自动控制的是中断的总开关(GIE)。
各个中断各自的子开关(比如你举例的PI_IE)是不会自动变更的。