AM263x Motor Control SDK  09.02.00

Introduction

Defines the interface to Multi-channel data logger (mlog)

Go to the source code of this file.

Data Structures

struct  dcl_mlog
 Defines the MLOG structure. More...
 

Macros

#define MLOG_CHANS   4
 Defines the number of MLOG channels. More...
 
#define MLOG_DEFAULTS
 Defines default values to initialise the MLOG structure Note: modify to match number of channels. More...
 

Typedefs

typedef _DCL_VOLATILE struct dcl_mlog DCL_MLOG
 
typedef _DCL_VOLATILE struct dcl_mlog MLOG
 

Enumerations

enum  DCL_mlog_states {
  MLOG_INVALID = 0, MLOG_IDLE = 1, MLOG_ARMED = 2, MLOG_CAPTURE = 3,
  MLOG_COMPLETE = 4
}
 Enumerated MLOG operating modes. More...
 

Functions

_DCL_CODE_ACCESS void DCL_initMLOG (DCL_MLOG *q, float32_t *addr, uint32_t size, float32_t tmax, float32_t tmin, uint32_t div)
 Initializes the MLOG module. More...
 
_DCL_CODE_ACCESS void DCL_resetMLOG (DCL_MLOG *q)
 Resets the MLOG module: clears all frame buffers and sets idle mode. More...
 
_DCL_CODE_ACCESS uint16_t DCL_armMLOG (DCL_MLOG *q)
 Changes the MLOG mode to "MLOG_ARMED". Only valid if current operating mode is "MLOG_IDLE". More...
 
_DCL_CODE_ACCESS uint16_t DCL_runMLOG (DCL_MLOG *q)
 Runs the MLOG module. More...