MotorWare f2806x Module API Documentation
Functions
float/ctrl.c File Reference

Contains the various functions related to the controller (CTRL) object. More...

#include <math.h>
#include "sw/modules/math/src/float/math.h"
#include "sw/modules/ctrl/src/float/ctrl.h"

Go to the source code of this file.

Functions

void CTRL_getVersion (CTRL_Handle handle, CTRL_Version *pVersion)
 Gets the controller version number. More...
 
void CTRL_getWaitTimes (CTRL_Handle handle, int_least32_t *pWaitTimes)
 Gets the wait times from the controller. More...
 
CTRL_Handle CTRL_init (void *pMemory, const size_t numBytes)
 Initializes the controller. More...
 
void CTRL_reset (CTRL_Handle handle)
 Resets the controller. More...
 
void CTRL_setParams (CTRL_Handle handle, USER_Params *pUserParams)
 Sets the controller parameters. More...
 
void CTRL_setVersion (CTRL_Handle handle, const CTRL_TargetProc_e targetProc, const uint16_t majorReleaseNumber, const uint16_t minorReleaseNumber)
 Sets the controller version. More...
 
void CTRL_setWaitTimes (CTRL_Handle handle, const int_least32_t *pWaitTimes)
 Sets the wait times for the controller states. More...
 
bool CTRL_updateState (CTRL_Handle handle)
 Updates the controller state. More...
 

Detailed Description

Contains the various functions related to the controller (CTRL) object.

(C) Copyright 2014, Texas Instruments, Inc.

Definition in file float/ctrl.c.