document/timer.htm

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