sim0009.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <HTML>
  2. <HEAD>
  3. <META NAME="Generator" CONTENT="Corel WordPerfect 8">
  4. <TITLE>Clock and Timer</TITLE>
  5. </HEAD>
  6. <BODY TEXT="#000000" LINK="#0000ff" VLINK="#551a8b" ALINK="#ff0000" BGCOLOR="#ffffff">
  7. <H1>Clock and Timer</H1>
  8. <P>Represents the interface port T, and displays execution time and current TCNT value. Display is not
  9. updated during execution, however the PTn check boxes update the Port T input immediately, and will be
  10. seen by an executing program. </P>
  11. <P><img src="clktim.gif" width="319" height="200" align=right ></P>
  12. <P>The fields:</P>
  13. <UL>
  14. <LI>Time give the execution time since the last file-menu reset.</LI>
  15. <LI>The "0" button resets the indicated Time to zero.</LI>
  16. <LI>TCNT is the current value in TCNT</LI>
  17. <LI>Log Output will cause any changes in Port T output to be
  18. placed in the log.</LI>
  19. <LI>Port T has check boxes for port T input (which are greyed if the
  20. pin is configured for output) and displays for the port T outputs. "Z" means the pin is not being driven.</LI>
  21. </OL>
  22. <P>The log entries are in the format:</P>
  23. <PRE>PORTT,12300,49,31</PRE>
  24. <P>Where PORTT indicates a Port T event, <EM>12300</EM> is the time (in P clocks), <EM>49</EM> is the Port T value in decimal,
  25. and <EM>31</EM> is the Port T value in hexadecimal.</P>
  26. <BR WP="BR1"><BR WP="BR2">
  27. <BR WP="BR1"><BR WP="BR2">
  28. <BR WP="BR1"><BR WP="BR2">
  29. <BR WP="BR1"><BR WP="BR2">
  30. <BR WP="BR1"><BR WP="BR2">
  31. <BR WP="BR1"><BR WP="BR2">
  32. <BR WP="BR1"><BR WP="BR2">
  33. </BODY>
  34. </HTML>