define positive & negative rotation of scalar input

Defines

#define ROTATE_POS_ESC(in, out, t)   out.q[N]=_IQmpy(in,_IQcos(t));out.d[N]=_IQmpy(in,_IQsin(t));
#define ROTATE_NEG_ESC(in, out, t)   out.q[N]=_IQmpy(in,_IQcos(t));out.d[N]=-_IQmpy(in,_IQsin(t));
#define SROTATE_POS_ESC(in, out, t)   out.q=_IQmpy(in,_IQcos(t));out.d=_IQmpy(in,_IQsin(t));
#define SROTATE_NEG_ESC(in, out, t)   out.q=_IQmpy(in,_IQcos(t));out.d=-_IQmpy(in,_IQsin(t));

Define Documentation

#define ROTATE_NEG_ESC ( in,
out,
 )     out.q[N]=_IQmpy(in,_IQcos(t));out.d[N]=-_IQmpy(in,_IQsin(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 120 of file FilterAndRotations.h.

#define ROTATE_POS_ESC ( in,
out,
 )     out.q[N]=_IQmpy(in,_IQcos(t));out.d[N]=_IQmpy(in,_IQsin(t));

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

in (scalar) data in the original reference frame.

out (qddata) data in the rotated reference frame.

t angle of rotation.

Definition at line 107 of file FilterAndRotations.h.

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

Definition at line 132 of file FilterAndRotations.h.

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

Definition at line 126 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