How do I start watch interrupt servicing from the CPU stopped status?
Q1 I wish to test the watch interrupt request flag register using an instruction in the main routine after entering the STOP mode in the subsystem clock operating status. I can shift to the STOP mode after disabling servicing of the watch interrupt (setting the interrupt mask flag register), but when there is a watch interrupt in the STOP mode, can I assume that the CPU will start from the next instruction after the STOP instruction? A1 It appears that you basically have a number of misconceptions. First, when the CPU is operating with the subsystem clock, there is no STOP mode. (The subsystem clock oscillation cannot be stopped.) When the CPU is operating with the subsystem clock, the main system clock oscillation can be stopped by a register setting. Next, to release the standby mode, the interrupt mask (WTMK) related to the trigger must be cleared, that is to release standby, the interrupt must not be masked. However, the CPU itself can be in the interrupt disabled state. Probably t