![Logo](ti_logo.svg) |
AM263x Digital Power SDK
09.01.00
|
|
Go to the documentation of this file.
56 #endif //IEEE754_TYPES
88 #define DATALOG_DEFAULTS { \
104 typedef struct _DATALOG_OBJ_
232 obj->datalogBuff[temp1][obj->
cntr] = (*obj->iptr[temp1]);
254 if(*obj->iptr[0] > obj->trigValue && obj->prev_value <= obj->trigValue)
267 obj->datalogBuff[temp1][obj->
cntr] = (*obj->iptr[temp1]);
280 obj-> prev_value = *obj->iptr[0];
289 #endif // end of DATALOG_H definition
DATALOG_Obj datalog
Defines the DATALOG object.
Definition: datalog.c:49
@ manual
Definition: datalog.h:80
bool flag_enableLogData
Manual trigger usage - For datalog to be initiated always to be true.
Definition: datalog.h:176
int32_t trigger
Trigger value used for Auto triger type.
Definition: datalog.h:175
static void DATALOG_update(DATALOG_Handle handle)
Updates the data logger.
Definition: datalog.h:206
double float64_t
Definition: datalog.h:54
int32_t preScalar
Parameter: How many datalog update to be skipped.
Definition: datalog.h:173
int32_t status
Status of auto trigger type state machine.
Definition: datalog.h:174
int32_t size
Parameter: Maximum data buffer.
Definition: datalog.h:171
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:182
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:105
Trigger_type
Definition: datalog.h:79
int32_t skipCount
used for prescalar counter
Definition: datalog.h:172
int32_t cntr
Variable: Data log counter.
Definition: datalog.h:170
double float64_t
Definition: dcl_common.h:55
@ auto_trigger
Definition: datalog.h:81
bool flag_enableLogOneShot
Manual trigger usage - For datalog once this need to be true.
Definition: datalog.h:177
float float32_t
Defines single,double precision data type. Note: Assumes ABI to be TI_EABI, does not support legacy T...
Definition: dcl_common.h:54