# CP_WaitDiv

## C Specification

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

## Arguments

None.

## Return Values

None.

## Description

This function waits until the Divider is in a ready state.

The calculation cycle of the divider 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.):)

Division Mode | Calculation | Calculation Cycles | CPU Cycle Conversion
--- | --- | --- | ---
CP_DIV_32_32BIT_MODE | 32-bit divided by 32-bit | 18 cycles | 36 cycles
CP_DIV_64_32BIT_MODE | 64-bit divided by 32-bit | 34 cycles | 68 cycles
CP_DIV_64_64BIT_MODE | 64-bit divided by 64-bit | 34 cycles | 68 cycles

## Internal Operation

`Reference DIVCNT(0x4000280) of the IO register.
`

## See Also

`CP_SetDivImm*, CP_SetDiv*, CP_IsDivBusy, CP_GetDivResult*, CP_GetDivRemainder*`

## Revision History

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

CONFIDENTIAL