#pragma once
#include "F28x_Project.h" // int16
#ifndef __cplusplus
# error Must be C++
#endif
#include <cstring>
//*********** Structure Definition ********//
template<class _Ty> struct DLOG_4CH{
_Ty input[4], *output[4], prev_value, trig_value;
bool triggered;
int16 pre_scalar, skip_count, size, count;
inline void init() {memset(this,0,sizeof*this);}
inline void operator() (_Ty v0, _Ty v1, _Ty v2, _Ty v3) {
input[0]=v0;
input[1]=v1;
input[2]=v2;
input[3]=v3;
}
void operator() ();
};
Detected encoding: ASCII (7 bit) | 2
|