define positive & negative rotation of sqddata

Defines

#define SROTATE_POS(in, out, t)   out.q=_IQmpy(in.q,_IQcos(t))-_IQmpy(in.d,_IQsin(t));out.d=_IQmpy(in.q,_IQsin(t))+_IQmpy(in.d,_IQcos(t));
#define SROTATE_NEG(in, out, t)   out.q=_IQmpy(in.q,_IQcos(t))+_IQmpy(in.d,_IQsin(t));out.d=-_IQmpy(in.q,_IQsin(t))+_IQmpy(in.d,_IQcos(t));

Define Documentation

#define SROTATE_NEG ( in,
out,
 )     out.q=_IQmpy(in.q,_IQcos(t))+_IQmpy(in.d,_IQsin(t));out.d=-_IQmpy(in.q,_IQsin(t))+_IQmpy(in.d,_IQcos(t));

define negative rotation of sqddata (rotate to synchronous coordinates out=in*exp(j*t))

in data in the original reference frame.

out data in the rotated reference frame.

t angle of rotation.

Definition at line 91 of file FilterAndRotations.h.

#define SROTATE_POS ( in,
out,
 )     out.q=_IQmpy(in.q,_IQcos(t))-_IQmpy(in.d,_IQsin(t));out.d=_IQmpy(in.q,_IQsin(t))+_IQmpy(in.d,_IQcos(t));

define positive rotation of sqddata (rotate to synchronous coordinates out=in*exp(j*t))

in data in the original reference frame.

out data in the rotated reference frame.

t angle of rotation.

Definition at line 79 of file FilterAndRotations.h.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sat Apr 16 11:42:45 2011 for TIMotorLIB by  doxygen 1.6.3