#include <nitro/cp.h>void CP_SaveContext( CPContext* context );This function stores the status (context) for the current divider and square root calculator in a specified structure.
To restore the saved context, use CP_RestoreContext.
When you use a divider or square root calculator inside an interrupt, save the divider and square root calculator contexts prior to use by these functions.
During a thread switch, the context are also automatically switched. Therefore, there is no need for this function to explicitly run a save process.
Pointer to the region where the divider, square root calculator context will be stored.
None
CP_RestoreContext, CP_SetDiv*, CP_SetSqrt*
05/06/2004 Initial Version