motorConstants.c File Reference

#include "MotorConstants.h"
#include "DSP2833x_Device.h"

Go to the source code of this file.

Defines

#define _vbus   (200.0)
#define _offsetPWM   (0x753)

Variables

const _iq VBUS = _IQ(_vbus)
const _iq OFFSETPWM = _IQ(_offsetPWM)
const _iq OFFSETPWMDIVVBUS = _IQ(_offsetPWM/(_vbus/2))
const _iq CSCALE = _IQ(-0.0025)
const _iq VSCALE = _IQ(0.0007326)
const _iq COFFSET_A = _IQ(5.485)
const _iq COFFSET_B = _IQ(5.497)
const _iq COFFSET_C = _IQ(5.497)
const _iq VOFFSET = _IQ(1.5)

Define Documentation

#define _offsetPWM   (0x753)

Definition at line 7 of file motorConstants.c.

#define _vbus   (200.0)

Definition at line 6 of file motorConstants.c.


Variable Documentation

const _iq COFFSET_A = _IQ(5.485)

Definition at line 19 of file motorConstants.c.

const _iq COFFSET_B = _IQ(5.497)

Definition at line 20 of file motorConstants.c.

const _iq COFFSET_C = _IQ(5.497)

Definition at line 21 of file motorConstants.c.

const _iq CSCALE = _IQ(-0.0025)

Definition at line 17 of file motorConstants.c.

const _iq OFFSETPWM = _IQ(_offsetPWM)

Definition at line 11 of file motorConstants.c.

const _iq OFFSETPWMDIVVBUS = _IQ(_offsetPWM/(_vbus/2))

Definition at line 12 of file motorConstants.c.

const _iq VBUS = _IQ(_vbus)
const _iq VOFFSET = _IQ(1.5)
const _iq VSCALE = _IQ(0.0007326)

Definition at line 18 of file motorConstants.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Mon Apr 23 12:59:21 2012 for TIMotorLIB by  doxygen 1.6.3