List of Co-Processor (CP) API Functions

Divider

CP_SetDivImm

Sets division parameters.

CP_SetDiv

Sets division parameters. Also sets the mode.

CP_IsDivBusy

Checks if division is complete.

CP_WaitDiv

Waits for division to complete.

CP_GetDivResult*

Gets division results (quotient).

CP_GetDivRemainder*

Gets division results (remainder).

Square Root Calculator

CP_SetSqrtImm*

Sets parameters for the Square Root Calculator.

CP_SetSqrt*

Sets parameters for the Square Root Calculator. Also sets the mode.

CP_IsSqrtBusy

Checks if the Square Root Calculator has completed.

CP_WaitSqrt

Waits for the Square Root Calculator to complete.

CP_GetSqrtResult*

Gets the calculation results from the Square Root Calculator.

Context Operations

CP_SaveContext

Temporarily saves the status of the divider and square root calculator.

CP_RestoreContext

Restores the status of the divider and square root calculator.