Skip to main content
marcosarti29
Associate III
January 12, 2006
Question

In HALT mode where is the return?

  • January 12, 2006
  • 2 replies
  • 763 views
Posted on January 12, 2006 at 11:15

In HALT mode where is the return?

This topic has been closed for replies.

2 replies

marcosarti29
Associate III
January 12, 2006
Posted on January 12, 2006 at 10:50

Hi,

I use ST7LITE19F.

In my function use HALT mode with ''no reset in HALT''.

When I wake up my micro with external interrupt where is the return? In start (main) or in next istruction of HALT?

Reply:

main()

{

//first line <--- return HERE..

....

function()

{

HALT;

..... <-- or HERE?

}

}

Thanks

delser9
Associate III
January 12, 2006
Posted on January 12, 2006 at 11:15

Hi Marco

It's after the HALT command, the second of your proposals.

Rgds

Al