document/timer.htm

Fri, 13 Aug 2010 10:49:23 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Fri, 13 Aug 2010 10:49:23 +0100
changeset 0
396b0bd970d3
child 1
85c1144140c3
permissions
-rw-r--r--

Initial import, Timer v3.0

     1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
     3 <html>
     5 <head>
     6 <title>timer</title>
     7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
     8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
     9 <link rel="stylesheet" href="lever40_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
    10 <!--
    11 if (navigator.appName !="Netscape")
    12 {   document.write("<link rel='stylesheet' href='lever40.css'>");}
    13 //-->
    14 </script>
    15 <style type="text/css">
    16 <!--
    17 img_whs1 { border:none; width:29px; height:31px; float:none; border-style:none; }
    18 p.whs2 { font-style:italic; }
    19 table.whs3 { x-cell-content-align:top; height:84px; margin-left:14px; left:0px; top:114px; width:636px; border-spacing:0px; }
    20 col.whs4 { width:87px; }
    21 col.whs5 { width:502px; }
    22 tr.whs6 { x-cell-content-align:top; height:22px; }
    23 td.whs7 { width:87px; padding-right:10px; padding-left:10px; border-left-style:Solid; border-left-color:#c0c0c0; border-top-style:Solid; border-top-color:#c0c0c0; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-right-width:1px; border-left-width:1px; border-top-width:1px; border-bottom-width:1px; background-color:#dee8f4; }
    24 td.whs8 { width:502px; padding-right:10px; padding-left:10px; border-top-style:Solid; border-top-color:#c0c0c0; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-top-width:1px; border-bottom-width:1px; border-right-width:1px; background-color:#dee8f4; }
    25 td.whs9 { width:87px; padding-right:10px; padding-left:10px; border-left-color:#c0c0c0; border-left-width:1px; border-left-style:Solid; border-right-color:#c0c0c0; border-right-style:Solid; border-right-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-bottom-width:1px; }
    26 td.whs10 { width:502px; padding-right:10px; padding-left:10px; border-right-color:#c0c0c0; border-right-style:Solid; border-right-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-bottom-width:1px; }
    27 p.whs11 { margin-left:4px; }
    28 table.whs12 { x-cell-content-align:top; margin-left:15px; border-spacing:0px; }
    29 col.whs13 { width:86px; }
    30 tr.whs14 { x-cell-content-align:top; }
    31 td.whs15 { width:86px; padding-right:10px; padding-left:10px; border-left-style:Solid; border-left-color:#c0c0c0; border-top-color:#c0c0c0; border-top-style:Solid; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-right-width:1px; border-left-width:1px; border-top-width:1px; border-bottom-width:1px; background-color:#dee8f4; }
    32 td.whs16 { width:502px; padding-right:10px; padding-left:10px; border-top-color:#c0c0c0; border-top-style:Solid; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-color:#c0c0c0; border-bottom-style:Solid; border-top-width:1px; border-bottom-width:1px; border-right-width:1px; background-color:#dee8f4; }
    33 td.whs17 { width:86px; padding-right:10px; padding-left:10px; border-left-style:Solid; border-left-width:1px; border-left-color:#c0c0c0; border-right-width:1px; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; }
    34 td.whs18 { width:502px; padding-right:10px; padding-left:10px; border-right-width:1px; border-right-color:#c0c0c0; border-right-style:Solid; border-bottom-width:1px; border-bottom-color:#c0c0c0; border-bottom-style:Solid; }
    35 td.whs19 { width:86px; padding-right:10px; padding-left:10px; border-left-color:#c0c0c0; border-left-width:1px; border-left-style:Solid; border-right-style:Solid; border-right-color:#c0c0c0; border-right-width:1px; border-bottom-style:Solid; border-bottom-color:#c0c0c0; border-bottom-width:1px; }
    36 td.whs20 { width:502px; padding-right:10px; padding-left:10px; border-right-style:Solid; border-right-color:#c0c0c0; border-right-width:1px; border-bottom-style:Solid; border-bottom-color:#c0c0c0; border-bottom-width:1px; }
    37 img_whs21 { border:none; width:14px; height:16px; float:none; border-style:none; }
    38 -->
    39 </style><script type="text/javascript" language="JavaScript">
    40 <!--
    41 function ehlp_showtip(current,e,text)
    42 {
    43   if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
    44   {
    45     document.tooltip.document.write("<layer bgColor='yellow' style='border:1px solid black;font-size:12px;'>"+ text + "</layer>");
    46     document.tooltip.document.close();
    47     document.tooltip.left=e.pageX+5;
    48     document.tooltip.top=e.pageY+5;
    49     document.tooltip.visibility="show";
    50   }
    51 }
    52 function ehlp_hidetip()
    53 {
    54   document.tooltip.visibility="hidden";
    55 }
    56 //-->
    57 </script>
    58 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
    59 <!--
    60 function reDo() {
    61   if (innerWidth != origWidth || innerHeight != origHeight)
    62      location.reload();
    63 }
    64 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
    65 	origWidth = innerWidth;
    66 	origHeight = innerHeight;
    67 	onresize = reDo;
    68 }
    69 onerror = null; 
    70 //-->
    71 </script>
    72 <style type="text/css">
    73 <!--
    74 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
    75 p.WebHelpNavBar { text-align:right; }
    76 -->
    77 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
    78 <script type="text/javascript" language="javascript" src="whver.js"></script>
    79 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
    80 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
    81 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
    82 <script type="text/javascript" language="javascript1.2">
    83 <!--
    84 if (window.gbWhTopic)
    85 {
    86 	if (window.setRelStartPage)
    87 	{
    88 	addTocInfo("Timer");
    90 	}
    93 	if (window.setRelStartPage)
    94 	{
    95 	setRelStartPage("msb_peripherals.htm");
    97 		autoSync(0);
    98 		sendSyncInfo();
    99 		sendAveInfoOut();
   100 	}
   102 }
   103 else
   104 	if (window.gbIE4)
   105 		document.location.reload();
   106 //-->
   107 </script>
   108 </head>
   109 <body><script type="text/javascript" language="javascript1.2">
   110 <!--
   111 if (window.writeIntopicBar)
   112 	writeIntopicBar(4);
   113 //-->
   114 </script>
   115 <h1>LatticeMico32 Timer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a title="View Data Sheet" href="timer.pdf" target="_blank" onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'View Data Sheet');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();"><img src="ds_icon_ast.jpg" x-maintain-ratio="TRUE" width="29px" height="31px" border="0" class="img_whs1"></a></h1>
   117 <p>The LatticeMico32 timer is a highly configurable countdown timer with 
   118  a WISHBONE-compliant slave interface compatible with the LatticeMico32 
   119  microprocessor. &nbsp;</p>
   121 <p class="whs2"><span style="font-style: italic;"><I>*If the 
   122  data sheet fails to open, see the note at the bottom of this page.</I></span></p>
   124 <h2>Revision History</h2>
   126 <table x-use-null-cells cellspacing="0" width="636" height="84" class="whs3">
   127 <script language='JavaScript'><!--
   128 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' width='636' height='84' border='1' bordercolor='silver' bordercolorlight='silver' bordercolordark='silver'>");
   129 //--></script>
   130 <col class="whs4">
   131 <col class="whs5">
   133 <tr valign="top" class="whs6">
   134 <td bgcolor="#DEE8F4" width="87px" class="whs7">
   135 <p class=Table
   136 	style="font-weight: bold;">Version</td>
   137 <td bgcolor="#DEE8F4" width="502px" class="whs8">
   138 <p class=Table
   139 	style="font-weight: bold;">Description</td></tr>
   141 <tr valign="top" class="whs6">
   142 <td colspan="1" rowspan="1" width="87px" class="whs9">
   143 <p class=Table
   144 	style="font-weight: normal;"><span style="font-weight: normal;">3.0 
   145  (7.0 SP2)</span></td>
   146 <td colspan="1" rowspan="1" width="502px" class="whs10">
   147 <p class=Table>Version number change only. No RTL code change.</td></tr>
   149 <tr valign="top" class="whs6">
   150 <td colspan="1" rowspan="1" width="87px" class="whs9">
   151 <p class="whs11">1.0</td>
   152 <td colspan="1" rowspan="1" width="502px" class="whs10">
   153 <p class=Table>Initial release.</td></tr>
   154 <script language='JavaScript'><!--
   155 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
   156 //--></script>
   157 </table>
   159 &nbsp; 
   161 <h2>Dialog Box Parameters</h2>
   163 <table x-use-null-cells cellspacing="0" class="whs12">
   164 <script language='JavaScript'><!--
   165 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table><table x-use-null-cells cellspacing='0' border='1' bordercolor='silver' bordercolorlight='silver' bordercolordark='silver'>");
   166 //--></script>
   167 <col class="whs13">
   168 <col class="whs5">
   170 <tr valign="top" class="whs14">
   171 <td bgcolor="#DEE8F4" width="86px" class="whs15">
   172 <p class=Table
   173 	style="font-weight: bold;">Property</td>
   174 <td bgcolor="#DEE8F4" width="502px" class="whs16">
   175 <p class=Table
   176 	style="font-weight: bold;">Description</td></tr>
   178 <tr valign="top" class="whs14">
   179 <td colspan="1" rowspan="1" width="86px" class="whs17">
   180 <p class=Table>Instance Name</td>
   181 <td colspan="1" rowspan="1" width="502px" class="whs18">
   182 <p class=Table>Specifies the name of the timer instance. Alphanumeric values 
   183  and underscores are supported. The default is timer.</td></tr>
   185 <tr valign="top" class="whs14">
   186 <td width="86px" class="whs17">
   187 <p class=Table>Base Address</td>
   188 <td width="502px" class="whs18">
   189 <p class=Table>Specifies the base address for configuring the timer device. 
   190  The minimum boundary alignment is 0X80. Supported &nbsp;values 
   191  are 0X00000000 to 0XFFFFFFFF. The default is 0X00000000.</td></tr>
   193 <tr valign="top" class="whs14">
   194 <td colspan="1" rowspan="1" width="86px" class="whs17">
   195 <p class=Table>Writeable Tick Count</td>
   196 <td colspan="1" rowspan="1" width="502px" class="whs18">
   197 <p class=Table>Determines whether the period register is writable. A tick 
   198  is equivalent to one clock cycle. This option is selected by default.</td></tr>
   200 <tr valign="top" class="whs14">
   201 <td colspan="1" rowspan="1" width="86px" class="whs17">
   202 <p class=Table>Readable Tick Count</td>
   203 <td colspan="1" rowspan="1" width="502px" class="whs18">
   204 <p class=Table>Determines whether the snapshot register is readable. This 
   205  option is selected by default.</td></tr>
   207 <tr valign="top" class="whs14">
   208 <td colspan="1" rowspan="1" width="86px" class="whs17">
   209 <p class=Table>Start Stop Control</td>
   210 <td colspan="1" rowspan="1" width="502px" class="whs18">
   211 <p class=Table>Determines whether the START and STOP bits are controllable. 
   212  This option is selected by default.</td></tr>
   214 <tr valign="top" class="whs14">
   215 <td colspan="1" rowspan="1" width="86px" class="whs19">
   216 <p class=Table>Default Reload Ticks</td>
   217 <td colspan="1" rowspan="1" width="502px" class="whs20">
   218 <p class=Table>Specifies the initial countdown value. The period number 
   219  is the reload value used to initialize the counter. The value should be 
   220  in the range that can be represented by the period width. Supported values 
   221  are 0X00000000 to 0XFFFFFFFF. The default is 20 (0X14).</td></tr>
   223 <tr valign="top" class="whs14">
   224 <td colspan="1" rowspan="1" width="86px" class="whs17">
   225 <p class=Table>Counter Width</td>
   226 <td colspan="1" rowspan="1" width="502px" class="whs18">
   227 <p class=Table>Controls the period register and internal counter's width. 
   228  The period width is the width of the adder-subtractor used to implement 
   229  the counter. Supported values are 1 to 31. The default is 32.</td></tr>
   230 <script language='JavaScript'><!--
   231 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
   232 //--></script>
   233 </table>
   235 &nbsp; 
   237 <p><span style="font-weight: bold;"><B>Note</B></span>: If the data sheet fails 
   238  to open, click <img src="qm_icon.jpg" x-maintain-ratio="TRUE" width="14px" height="16px" border="0" class="img_whs21"> on the Available Components toolbar, and 
   239  then click the note button.</p>
   241 <script type="text/javascript" language="JavaScript">
   242 <!--
   243  if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
   244   document.write("<div id='tooltip' class='WebHelpPopupMenu'></div>");
   245 //-->
   246 </script><script type="text/javascript" language="javascript1.2">
   247 <!--
   248 if (window.writeIntopicBar)
   249 	writeIntopicBar(0);
   250 //-->
   251 </script>
   252 </body>
   253 </html>