document/timer.htm

changeset 0
396b0bd970d3
child 1
85c1144140c3
     1.1 diff -r 000000000000 -r 396b0bd970d3 document/timer.htm
     1.2 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 +++ b/document/timer.htm	Fri Aug 13 10:49:23 2010 +0100
     1.4 @@ -0,0 +1,253 @@
     1.5 +<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
     1.6 +
     1.7 +<html>
     1.8 +
     1.9 +<head>
    1.10 +<title>timer</title>
    1.11 +<meta http-equiv="content-type" content="text/html; charset=windows-1252">
    1.12 +<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
    1.13 +<link rel="stylesheet" href="lever40_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
    1.14 +<!--
    1.15 +if (navigator.appName !="Netscape")
    1.16 +{   document.write("<link rel='stylesheet' href='lever40.css'>");}
    1.17 +//-->
    1.18 +</script>
    1.19 +<style type="text/css">
    1.20 +<!--
    1.21 +img_whs1 { border:none; width:29px; height:31px; float:none; border-style:none; }
    1.22 +p.whs2 { font-style:italic; }
    1.23 +table.whs3 { x-cell-content-align:top; height:84px; margin-left:14px; left:0px; top:114px; width:636px; border-spacing:0px; }
    1.24 +col.whs4 { width:87px; }
    1.25 +col.whs5 { width:502px; }
    1.26 +tr.whs6 { x-cell-content-align:top; height:22px; }
    1.27 +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; }
    1.28 +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; }
    1.29 +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; }
    1.30 +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; }
    1.31 +p.whs11 { margin-left:4px; }
    1.32 +table.whs12 { x-cell-content-align:top; margin-left:15px; border-spacing:0px; }
    1.33 +col.whs13 { width:86px; }
    1.34 +tr.whs14 { x-cell-content-align:top; }
    1.35 +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; }
    1.36 +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; }
    1.37 +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; }
    1.38 +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; }
    1.39 +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; }
    1.40 +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; }
    1.41 +img_whs21 { border:none; width:14px; height:16px; float:none; border-style:none; }
    1.42 +-->
    1.43 +</style><script type="text/javascript" language="JavaScript">
    1.44 +<!--
    1.45 +function ehlp_showtip(current,e,text)
    1.46 +{
    1.47 +  if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
    1.48 +  {
    1.49 +    document.tooltip.document.write("<layer bgColor='yellow' style='border:1px solid black;font-size:12px;'>"+ text + "</layer>");
    1.50 +    document.tooltip.document.close();
    1.51 +    document.tooltip.left=e.pageX+5;
    1.52 +    document.tooltip.top=e.pageY+5;
    1.53 +    document.tooltip.visibility="show";
    1.54 +  }
    1.55 +}
    1.56 +function ehlp_hidetip()
    1.57 +{
    1.58 +  document.tooltip.visibility="hidden";
    1.59 +}
    1.60 +//-->
    1.61 +</script>
    1.62 +<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
    1.63 +<!--
    1.64 +function reDo() {
    1.65 +  if (innerWidth != origWidth || innerHeight != origHeight)
    1.66 +     location.reload();
    1.67 +}
    1.68 +if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
    1.69 +	origWidth = innerWidth;
    1.70 +	origHeight = innerHeight;
    1.71 +	onresize = reDo;
    1.72 +}
    1.73 +onerror = null; 
    1.74 +//-->
    1.75 +</script>
    1.76 +<style type="text/css">
    1.77 +<!--
    1.78 +div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
    1.79 +p.WebHelpNavBar { text-align:right; }
    1.80 +-->
    1.81 +</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
    1.82 +<script type="text/javascript" language="javascript" src="whver.js"></script>
    1.83 +<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
    1.84 +<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
    1.85 +<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
    1.86 +<script type="text/javascript" language="javascript1.2">
    1.87 +<!--
    1.88 +if (window.gbWhTopic)
    1.89 +{
    1.90 +	if (window.setRelStartPage)
    1.91 +	{
    1.92 +	addTocInfo("Timer");
    1.93 +
    1.94 +	}
    1.95 +
    1.96 +
    1.97 +	if (window.setRelStartPage)
    1.98 +	{
    1.99 +	setRelStartPage("msb_peripherals.htm");
   1.100 +
   1.101 +		autoSync(0);
   1.102 +		sendSyncInfo();
   1.103 +		sendAveInfoOut();
   1.104 +	}
   1.105 +
   1.106 +}
   1.107 +else
   1.108 +	if (window.gbIE4)
   1.109 +		document.location.reload();
   1.110 +//-->
   1.111 +</script>
   1.112 +</head>
   1.113 +<body><script type="text/javascript" language="javascript1.2">
   1.114 +<!--
   1.115 +if (window.writeIntopicBar)
   1.116 +	writeIntopicBar(4);
   1.117 +//-->
   1.118 +</script>
   1.119 +<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>
   1.120 +
   1.121 +<p>The LatticeMico32 timer is a highly configurable countdown timer with 
   1.122 + a WISHBONE-compliant slave interface compatible with the LatticeMico32 
   1.123 + microprocessor. &nbsp;</p>
   1.124 +
   1.125 +<p class="whs2"><span style="font-style: italic;"><I>*If the 
   1.126 + data sheet fails to open, see the note at the bottom of this page.</I></span></p>
   1.127 +
   1.128 +<h2>Revision History</h2>
   1.129 +
   1.130 +<table x-use-null-cells cellspacing="0" width="636" height="84" class="whs3">
   1.131 +<script language='JavaScript'><!--
   1.132 +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'>");
   1.133 +//--></script>
   1.134 +<col class="whs4">
   1.135 +<col class="whs5">
   1.136 +
   1.137 +<tr valign="top" class="whs6">
   1.138 +<td bgcolor="#DEE8F4" width="87px" class="whs7">
   1.139 +<p class=Table
   1.140 +	style="font-weight: bold;">Version</td>
   1.141 +<td bgcolor="#DEE8F4" width="502px" class="whs8">
   1.142 +<p class=Table
   1.143 +	style="font-weight: bold;">Description</td></tr>
   1.144 +
   1.145 +<tr valign="top" class="whs6">
   1.146 +<td colspan="1" rowspan="1" width="87px" class="whs9">
   1.147 +<p class=Table
   1.148 +	style="font-weight: normal;"><span style="font-weight: normal;">3.0 
   1.149 + (7.0 SP2)</span></td>
   1.150 +<td colspan="1" rowspan="1" width="502px" class="whs10">
   1.151 +<p class=Table>Version number change only. No RTL code change.</td></tr>
   1.152 +
   1.153 +<tr valign="top" class="whs6">
   1.154 +<td colspan="1" rowspan="1" width="87px" class="whs9">
   1.155 +<p class="whs11">1.0</td>
   1.156 +<td colspan="1" rowspan="1" width="502px" class="whs10">
   1.157 +<p class=Table>Initial release.</td></tr>
   1.158 +<script language='JavaScript'><!--
   1.159 +if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
   1.160 +//--></script>
   1.161 +</table>
   1.162 +
   1.163 +&nbsp; 
   1.164 +
   1.165 +<h2>Dialog Box Parameters</h2>
   1.166 +
   1.167 +<table x-use-null-cells cellspacing="0" class="whs12">
   1.168 +<script language='JavaScript'><!--
   1.169 +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'>");
   1.170 +//--></script>
   1.171 +<col class="whs13">
   1.172 +<col class="whs5">
   1.173 +
   1.174 +<tr valign="top" class="whs14">
   1.175 +<td bgcolor="#DEE8F4" width="86px" class="whs15">
   1.176 +<p class=Table
   1.177 +	style="font-weight: bold;">Property</td>
   1.178 +<td bgcolor="#DEE8F4" width="502px" class="whs16">
   1.179 +<p class=Table
   1.180 +	style="font-weight: bold;">Description</td></tr>
   1.181 +
   1.182 +<tr valign="top" class="whs14">
   1.183 +<td colspan="1" rowspan="1" width="86px" class="whs17">
   1.184 +<p class=Table>Instance Name</td>
   1.185 +<td colspan="1" rowspan="1" width="502px" class="whs18">
   1.186 +<p class=Table>Specifies the name of the timer instance. Alphanumeric values 
   1.187 + and underscores are supported. The default is timer.</td></tr>
   1.188 +
   1.189 +<tr valign="top" class="whs14">
   1.190 +<td width="86px" class="whs17">
   1.191 +<p class=Table>Base Address</td>
   1.192 +<td width="502px" class="whs18">
   1.193 +<p class=Table>Specifies the base address for configuring the timer device. 
   1.194 + The minimum boundary alignment is 0X80. Supported &nbsp;values 
   1.195 + are 0X00000000 to 0XFFFFFFFF. The default is 0X00000000.</td></tr>
   1.196 +
   1.197 +<tr valign="top" class="whs14">
   1.198 +<td colspan="1" rowspan="1" width="86px" class="whs17">
   1.199 +<p class=Table>Writeable Tick Count</td>
   1.200 +<td colspan="1" rowspan="1" width="502px" class="whs18">
   1.201 +<p class=Table>Determines whether the period register is writable. A tick 
   1.202 + is equivalent to one clock cycle. This option is selected by default.</td></tr>
   1.203 +
   1.204 +<tr valign="top" class="whs14">
   1.205 +<td colspan="1" rowspan="1" width="86px" class="whs17">
   1.206 +<p class=Table>Readable Tick Count</td>
   1.207 +<td colspan="1" rowspan="1" width="502px" class="whs18">
   1.208 +<p class=Table>Determines whether the snapshot register is readable. This 
   1.209 + option is selected by default.</td></tr>
   1.210 +
   1.211 +<tr valign="top" class="whs14">
   1.212 +<td colspan="1" rowspan="1" width="86px" class="whs17">
   1.213 +<p class=Table>Start Stop Control</td>
   1.214 +<td colspan="1" rowspan="1" width="502px" class="whs18">
   1.215 +<p class=Table>Determines whether the START and STOP bits are controllable. 
   1.216 + This option is selected by default.</td></tr>
   1.217 +
   1.218 +<tr valign="top" class="whs14">
   1.219 +<td colspan="1" rowspan="1" width="86px" class="whs19">
   1.220 +<p class=Table>Default Reload Ticks</td>
   1.221 +<td colspan="1" rowspan="1" width="502px" class="whs20">
   1.222 +<p class=Table>Specifies the initial countdown value. The period number 
   1.223 + is the reload value used to initialize the counter. The value should be 
   1.224 + in the range that can be represented by the period width. Supported values 
   1.225 + are 0X00000000 to 0XFFFFFFFF. The default is 20 (0X14).</td></tr>
   1.226 +
   1.227 +<tr valign="top" class="whs14">
   1.228 +<td colspan="1" rowspan="1" width="86px" class="whs17">
   1.229 +<p class=Table>Counter Width</td>
   1.230 +<td colspan="1" rowspan="1" width="502px" class="whs18">
   1.231 +<p class=Table>Controls the period register and internal counter's width. 
   1.232 + The period width is the width of the adder-subtractor used to implement 
   1.233 + the counter. Supported values are 1 to 31. The default is 32.</td></tr>
   1.234 +<script language='JavaScript'><!--
   1.235 +if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) document.write("</table></table><table>");
   1.236 +//--></script>
   1.237 +</table>
   1.238 +
   1.239 +&nbsp; 
   1.240 +
   1.241 +<p><span style="font-weight: bold;"><B>Note</B></span>: If the data sheet fails 
   1.242 + 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 
   1.243 + then click the note button.</p>
   1.244 +
   1.245 +<script type="text/javascript" language="JavaScript">
   1.246 +<!--
   1.247 + if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
   1.248 +  document.write("<div id='tooltip' class='WebHelpPopupMenu'></div>");
   1.249 +//-->
   1.250 +</script><script type="text/javascript" language="javascript1.2">
   1.251 +<!--
   1.252 +if (window.writeIntopicBar)
   1.253 +	writeIntopicBar(0);
   1.254 +//-->
   1.255 +</script>
   1.256 +</body>
   1.257 +</html>