2.4.1 Available versionsThis function is available in the following versions:• Fractional output - the output is the fractional portion of the result; the result iswithin the range <-1 ; 1). The result may saturate.The available versions of the GMCLIB_ParkInv function are shown in the followingtable:Table 2-4. Function versionsFunction name Input type Output type Result typeGMCLIB_ParkInv_F16 GMCLIB_2COOR_DQ_T_F16 * GMCLIB_2COOR_ALBE_T_F16 * voidGMCLIB_2COOR_SINCOS_T_F16 *Inverse Park transformation of a 16-bit fractional two-phase rotating system input to a 16-bitfractional two-phase stationary system, using a 16-bit fractional angle two-component (sin / cos)position information. The inputs and the output are within the fractional range <-1 ; 1).2.4.2 DeclarationThe available GMCLIB_ParkInv functions have the following declarations:void GMCLIB_ParkInv_F16(const GMCLIB_2COOR_DQ_T_F16 *psIn, const GMCLIB_2COOR_SINCOS_T_F16*psAnglePos, GMCLIB_2COOR_ALBE_T_F16 *psOut)2.4.3 Function useThe use of the GMCLIB_ParkInv function is shown in the following example:#include "gmclib.h"static GMCLIB_2COOR_ALBE_T_F16 sAlphaBeta;static GMCLIB_2COOR_DQ_T_F16 sDQ;static GMCLIB_2COOR_SINCOS_T_F16 sAngle;void Isr(void);void main(void){/* D, Q structure initialization */sDQ.f16D = FRAC16(0.0);sDQ.f16Q = FRAC16(0.0);/* Angle structure initialization */sAngle.f16Sin = FRAC16(0.0);sAngle.f16Cos = FRAC16(1.0);}/* Periodical function or interrupt */GMCLIB_ParkInvGMCLIB User's Guide, Rev. 2, 10/201522 Freescale Semiconductor, Inc.