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

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

#include "sw/modules/types/src/types.h"
#include "sw/modules/ctrl/src/ctrl_states.h"
#include "sw/modules/math/src/float/math.h"
#include "sw/modules/motor/src/float/motor.h"
#include "sw/modules/pi/src/float/pi.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_MAJOR_RELEASE_NUMBER   (2u)
 Defines the major release number. More...
 
#define CTRL_MINOR_RELEASE_NUMBER   (0u)
 Defines the major release number. More...
 
#define CTRL_NUM_CONTROLLERS   (2)
 Defines the number of controllers. 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 2014, Texas Instruments, Inc.

Definition in file float/ctrl_obj.h.