MotorWare f2806x Module API Documentation
Data Structures | Macros | Typedefs | Enumerations
32b/ctrl_obj.h File Reference

Defines the structures for the CTRL object. More...

#include "sw/modules/types/src/types.h"
#include "sw/modules/iqmath/src/32b/IQmathLib.h"
#include "sw/modules/ctrl/src/ctrl_states.h"
#include "sw/modules/clarke/src/32b/clarke.h"
#include "sw/modules/park/src/32b/park.h"
#include "sw/modules/ipark/src/32b/ipark.h"
#include "sw/modules/motor/src/32b/motor.h"
#include "sw/modules/offset/src/32b/offset.h"
#include "sw/modules/pid/src/32b/pid.h"
#include "sw/modules/est/src/32b/est.h"
#include "sw/modules/svgen/src/32b/svgen.h"
#include "sw/modules/traj/src/32b/traj.h"

Go to the source code of this file.

Data Structures

struct  _CTRL_Version_
 Defines the controller (CTRL) version number. More...
 
struct  _CTRL_Obj_
 Defines the controller (CTRL) object. More...
 

Macros

#define CTRL_NUM_CONTROLLERS   (2)
 Defines the maximum number of controllers that are instantiated into ROM. More...
 

Typedefs

typedef struct _CTRL_Version_ CTRL_Version
 Defines the controller (CTRL) version number. More...
 
typedef struct _CTRL_Obj_ CTRL_Obj
 Defines the controller (CTRL) object. More...
 
typedef struct _CTRL_Obj_CTRL_Handle
 Defines the CTRL handle. More...
 

Enumerations

enum  CTRL_ErrorCode_e {
  CTRL_ErrorCode_NoError =0, CTRL_ErrorCode_IdClip, CTRL_ErrorCode_EstError, CTRL_numErrorCodes,
  CTRL_ErrorCode_NoError =0, CTRL_ErrorCode_IdClip, CTRL_ErrorCode_EstError, CTRL_numErrorCodes
}
 Enumeration for the error codes. More...
 
enum  CTRL_TargetProc_e {
  CTRL_TargetProc_2806x =0, CTRL_TargetProc_2805x, CTRL_TargetProc_2803x, CTRL_TargetProc_2802x,
  CTRL_TargetProc_Unknown, CTRL_TargetProc_2806x =0, CTRL_TargetProc_2805x, CTRL_TargetProc_2803x,
  CTRL_TargetProc_2802x
}
 Enumeration for the target processors. More...
 
enum  CTRL_Type_e {
  CTRL_Type_PID_spd =0, CTRL_Type_PID_Id, CTRL_Type_PID_Iq, CTRL_Type_PI_spd =0,
  CTRL_Type_PI_Id, CTRL_Type_PI_Iq
}
 Enumeration for the controller (CTRL) types. More...
 

Detailed Description

Defines the structures for the CTRL object.

(C) Copyright 2012, Texas Instruments, Inc.

Definition in file 32b/ctrl_obj.h.