Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question.

ADuC831: INTVAL

Does the 8bit interval counter reset to zero automatically when the comparator
generates an interrupt? If not how can I reset this counter?
If I'd like to load an new value into the register intval, do I need to clear
TCEN first?

 

The INTVAL register is not reset to zero on an interrupt, it will remain at the
user programmed value.
To load a new value in INTVAL, TCEN and TIEN must be zero, the user must also
allow sufficient time for the instruction to be executed baring in mind that
instructions to the TIC are clocked at 32kHz.
Comments
Anonymous
Related