ADuC831: INTVAL

Document created by analog-archivist Employee on Feb 23, 2016
Version 1Show Document
  • View in full screen mode

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.

Attachments

    Outcomes