1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>CP_WaitSqrt</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">CP_WaitSqrt <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<CODE>#include <nitro/cp.h></CODE><BR> 20 <BR> 21 <CODE>void CP_WaitSqrt( void )</CODE></dd> 22</dl> 23 24<h2>Arguments</h2> 25<p>None.</p> 26 27<h2>Return Values</h2> 28<p>None.</p> 29 30<H2>Description</H2> 31<P>This function waits until the Square Root Calculator is in a ready state.</P> 32<P>The calculation cycle of the square root calculator is as follows. (The calculation cycle is a cycle number based on 33.514 MHz. The CPU cycle conversion is a cycle number based on 67.028 MHz.))</P> 33<TABLE border="1"> 34 <TBODY> 35 <TR> 36 <TH>Square Root Calculation Mode</TH> 37 <TH>Calculation</TH> 38 <TH>Calculation Cycles</TH> 39 <TH>CPU Cycle Conversion</TH> 40 </TR> 41 <TR> 42 <TD>CP_SQRT_32BIT_MODE</TD> 43 <TD>Square root calculation of 32-bit values</TD> 44 <TD>13 cycles</TD> 45 <TD>26 cycles</TD> 46 </TR> 47 <TR> 48 <TD>CP_SQRT_64BIT_MODE</TD> 49 <TD>Square root calculation of 64-bit values</TD> 50 <TD>13 cycles</TD> 51 <TD>26 cycles</TD> 52 </TR> 53 </TBODY> 54</TABLE> 55 56 57<h2>Internal Operation</h2> 58<p><CODE>Reference SQRTCNT(0x40002B0) of the IO register.<br></CODE></p> 59 60<h2>See Also</h2> 61<p><CODE><A href="CP_SetSqrtImm.html">CP_SetSqrtImm*</A>, <A href="CP_SetSqrt.html">CP_SetSqrt*</A>, <A href="CP_IsSqrtBusy.html">CP_IsSqrtBusy</A>, <A href="CP_GetSqrtResult.html">CP_GetSqrtResult*</A></CODE></p> 62 63<H2>Revision History</H2> 64<P>2006/08/09 Added description of calculation cycle.<BR>2004/01/09 Added contents.<BR>2003/12/01 Initial version.</P> 65<hr><p>CONFIDENTIAL</p></body> 66</html> 67