![Logo](ti_logo.svg) |
AM263x Motor Control SDK
09.02.00
|
|
Go to the documentation of this file.
56 #endif //IEEE754_TYPES
84 #define DATALOG_DEFAULTS { \
100 typedef struct _DATALOG_OBJ_
228 obj->datalogBuff[temp1][obj->
cntr] = (*obj->iptr[temp1]);
250 if(*obj->iptr[0] > obj->trigValue && obj->prev_value <= obj->trigValue)
263 obj->datalogBuff[temp1][obj->
cntr] = (*obj->iptr[temp1]);
276 obj-> prev_value = *obj->iptr[0];
285 #endif // end of DATALOG_H definition
DATALOG_Obj datalog
Defines the DATALOG object.
Definition: datalog.c:49
@ manual
Definition: datalog.h:76
bool flag_enableLogData
Manual trigger usage - For datalog to be initiated always to be true.
Definition: datalog.h:172
int32_t trigger
Trigger value used for Auto triger type.
Definition: datalog.h:171
static void DATALOG_update(DATALOG_Handle handle)
Updates the data logger.
Definition: datalog.h:202
double float64_t
Definition: datalog.h:54
int32_t preScalar
Parameter: How many datalog update to be skipped.
Definition: datalog.h:169
int32_t status
Status of auto trigger type state machine.
Definition: datalog.h:170
int32_t size
Parameter: Maximum data buffer.
Definition: datalog.h:167
DATALOG_Handle datalogHandle
the handle for the Datalog object
Definition: datalog.c:50
float float32_t
Definition: datalog.h:53
struct _DATALOG_Obj_ * DATALOG_Handle
Defines the DATALOG handle.
Definition: datalog.h:178
DATALOG_Handle DATALOG_init(void *pMemory, const size_t numBytes, Trigger_type trigger, float32_t trig_value, int32_t scale)
Initializes the data logger.
Definition: datalog.c:56
Defines the data logging (DATALOG) object.
Definition: datalog.h:101
Trigger_type
Definition: datalog.h:75
int32_t skipCount
used for prescalar counter
Definition: datalog.h:168
int32_t cntr
Variable: Data log counter.
Definition: datalog.h:166
double float64_t
Definition: dcl_common.h:59
@ auto_trigger
Definition: datalog.h:77
bool flag_enableLogOneShot
Manual trigger usage - For datalog once this need to be true.
Definition: datalog.h:173
float float32_t
Definition: dcl_common.h:58