Renamed remotely
git-svn-id: file:///srv/dev-disk-by-uuid-17e88007-4d0c-45e0-8757-cacfcc458630/repositories/svn/Diplomarbeit@106 9fe90eed-be63-e94b-8204-d34ff4c2ff93
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
/* ---------------------------------------------------------------------------
|
||||
* smc4000io.h - v1.2 (c) 2007 Micro-key bv
|
||||
* ---------------------------------------------------------------------------
|
||||
* Micro-key bv
|
||||
* Industrieweg 28, 9804 TG Noordhorn
|
||||
* Postbus 92, 9800 AA Zuidhorn
|
||||
* The Netherlands
|
||||
* Tel: +31 594 503020
|
||||
* Fax: +31 594 505825
|
||||
* Email: support@microkey.nl
|
||||
* Web: www.microkey.nl
|
||||
* ---------------------------------------------------------------------------
|
||||
* Description: Modbus IO functions interface description.
|
||||
* ---------------------------------------------------------------------------
|
||||
* Version(s): 1.0, 31-06-2006, Henk Stegeman.
|
||||
* Creation.
|
||||
* 1.1, 12-10-2007, Jos Pasop.
|
||||
* Added extenderboard support.
|
||||
* 1.2, 27-11-2007, Jos Pasop.
|
||||
* Added callibration tables for DAC.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
/*!\file smc4000io.h
|
||||
* \brief SMC4000 IO functions interface description.
|
||||
*/
|
||||
#ifndef SMC4000IO_H_
|
||||
#define SMC4000IO_H_
|
||||
/* ---------------------------------------------------------------------------
|
||||
* System include files.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Application include files.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
#include "types.h"
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Constant and macro definitions.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Type definitions.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
UINT16 iCal4;
|
||||
UINT16 iCal12;
|
||||
UINT16 iCal20;
|
||||
} CALIBRATION_VALUE_DESCR;
|
||||
|
||||
/* ADC calibration values for the motherboard and extenderboard can be stored
|
||||
* in arrays defined as.
|
||||
*
|
||||
* CALIBRATION_VALUE_DESCR calMB [8];
|
||||
* CALIBRATION_VALUE_DESCR calEB [8];
|
||||
*
|
||||
*/
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Variable declarations.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
* Function declarations.
|
||||
* ---------------------------------------------------------------------------
|
||||
*/
|
||||
int ain0_7Read (int file, UINT16 * data);
|
||||
int aout0_5Write (int file, UINT16 * data);
|
||||
int din0_7Read (int file, UINT16 * data);
|
||||
int dout0_15Write (int file, UINT16 * data);
|
||||
int rel0_5Write (int file, UINT16 * data);
|
||||
int vccRead (int file, UINT16 * data);
|
||||
int vddatRead (int file, UINT16 * data);
|
||||
int vbatRead (int file, UINT16 * data);
|
||||
int vcoreRead (int file, UINT16 * data);
|
||||
int tempRead (int file, UINT16 * data);
|
||||
int revnumRead (int file, UINT16 * data);
|
||||
int extboardRead (int file, UINT16 * data);
|
||||
int dinext0_3Read (int file, UINT16 * data);
|
||||
int doutext0_3Write (int file, UINT16 * data);
|
||||
int pwrrelmbWrite (int file, UINT16 * data);
|
||||
int pwrrelebWrite (int file, UINT16 * data);
|
||||
int ain0_15Read (int file, UINT16 * data);
|
||||
int aout0_11Write (int file, UINT16 * data);
|
||||
int sermbRead (int file, UINT16 * data);
|
||||
int serebRead (int file, UINT16 * data);
|
||||
int adccalmbRead (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int adccalmbWrite (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int adccalebRead (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int adccalebWrite (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int daccalmbRead (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int daccalmbWrite (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int daccalebRead (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
int daccalebWrite (int file, CALIBRATION_VALUE_DESCR data []);
|
||||
#endif /*SMC4000IO_H_*/
|
||||
Reference in New Issue
Block a user