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.

NHET Timer Program Start/Stop using TO=0

Hi there,

In the description of the TO bit of the HETGCR register, it states that "When TO = 0, the timer program stops executing. Turn-off is automatically delayed until the current timer program loop is completed. Turn-off does not affect the content of the timer RAM, ALU registers, or control registers. Turn-off resets all flags."

If there is a timer program running using the SHFT instruction to shift-out 25 bits of data, and let say, it is now shifting bit #10. If I set TO=0 (stop), and then set TO=1 (start) again later, will the SHFT instruction pickup right where it stopped earlier or the timer program will start all over again (so the SHFT will shift the first bit again)?

Thanks.