Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I start watch interrupt servicing from the CPU stopped status?

CPU interrupt Status stopped WATCH
0
Posted

How do I start watch interrupt servicing from the CPU stopped status?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123