# CP_WaitSqrt

## Syntax

  `#include <nitro/cp.h>`
  `void CP_WaitSqrt( void )`

## Arguments

None.

## Return Values

None.

## Description

This function waits until the Square Root Calculator is in a ready state.

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.)

Square Root Calculation Mode | Calculation | Calculation Cycles | CPU Cycle Conversion
--- | --- | --- | ---
CP_SQRT_32BIT_MODE | Square root calculation of 32-bit values | 13 cycles | 26 cycles
CP_SQRT_64BIT_MODE | Square root calculation of 64-bit values | 13 cycles | 26 cycles

## Internal Operation

`Reference SQRTCNT(0x40002B0) of the IO register.
`

## See Also

`CP_SetSqrtImm*, CP_SetSqrt*, CP_IsSqrtBusy, CP_GetSqrtResult*`

## Revision History

2006/08/09 Added description of calculation cycle.
2004/01/09 Added contents.
2003/12/01 Initial version.

CONFIDENTIAL