#pragma once
#define INVERT 0x80
#define AUTO 0x40
typedef struct{
BYTE gain; /* 0..6 = 0,05 V/div .. 5 V/div */
BYTE coupling; /* AC */
}CHANNEL;
typedef struct{
BYTE source;
BYTE edge;
}TRIGGER;
typedef struct{
WORD samplediv;
CHANNEL channel[2];
TRIGGER trigger;
}INITPARAMS;
//extern WORD control;
# ifdef __cplusplus
extern "C" {
# endif
# ifdef __BORLANDC__
# define _CDECL _cdecl
# else
# define _CDECL _stdcall
# endif
//WORD mkatt(CHANNEL*ch); /* erzeuge att-Nibble */
void _CDECL init(INITPARAMS*ip);
void _CDECL start(void);
void _CDECL stop(void);
# ifdef __cplusplus
}
# endif
Detected encoding: ASCII (7 bit) | 2
|