03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GFLIB_INTEGRATOR_TR_T_F16<br />

6.57.1 Description<br />

Structure containing parameters <strong>and</strong> states <strong>for</strong> the hysteresis function.<br />

6.57.2 Compound Type Members<br />

Table 6-58. GFLIB_HYST_T_FLT members description<br />

Type Name Description<br />

tFloat fltHystOn Value determining the upper threshold.<br />

tFloat fltHystOff Value determining the lower threshold.<br />

tFloat fltOutValOn<br />

tFloat fltOutValOff<br />

tFloat fltOutState Actual state of the output.<br />

6.58 GFLIB_INTEGRATOR_TR_T_F16<br />

#include <br />

6.58.1 Description<br />

Structure containing integrator parameters <strong>and</strong> coefficients.<br />

6.58.2 Compound Type Members<br />

Table 6-59. GFLIB_INTEGRATOR_TR_T_F16 members description<br />

Type Name Description<br />

tFrac32 f32State Integrator state value.<br />

tFrac16 f16InK1 Input value in step k-1.<br />

tFrac16 f16C1 Integrator coefficient = (E MAX/T s)(U MAX*2)*(2<br />

-u16NShift ).<br />

tU16 u16NShift Scaling factor <strong>for</strong> the integrator coefficient<br />

f16C1, integer <strong>for</strong>mat [0, 15].<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

724 Freescale Semiconductor, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!