versadac
1
versadac - Scalable Recorder Firmware
Main Page
Classes
Files
File List
File Members
core
include
target.h
1
#ifndef TARGET_H
2
#define TARGET_H
3
/*****************************************************************************
4
* Copyright (c) 2001 Eurotherm Controls Ltd.
5
*
6
* FILENAME : target.h
7
* AUTHOR : Paul Sayers and Richard Hine
8
* CREATED : November, 2001
9
* DESCRIPTION : Defines that are needed by all targets but the
10
* definition will vary depending upon the target
11
*****************************************************************************/
12
#include "stdtypes.h"
13
#include "sr_version.h"
14
#include <string.h>
15
16
#include "nvol_write.h"
17
18
#ifndef WIN32
19
#include "unicodestringhandler.h"
20
#endif
21
23
/* Task identidiers defined here - used by PA functions, fblocks etc */
24
#define CONTROL_TASK_ID 0
25
#define UI_TASK_ID 1
26
#define COMMS_TASK_ID 2
27
#define WIRING_TASK_ID 4
28
#define IDM_TASK_ID 5
29
#define SYSTEM_TASK_ID 6
30
31
/* Display defines used by the globals function block - can not be removed */
32
#define E2408_DISPLAY 0
33
#define E2404_DISPLAY 1
34
35
/* config and standby */
36
extern
bool
inConfigMode(
void
);
37
extern
bool
inStandbyMode(
void
);
38
#define INSTR_MODE_OPERATOR 0
39
#define INSTR_MODE_STANDBY 1
40
#define INSTR_MODE_CONFIG 2
41
42
//assume enable (and visibility) parameters are uint8's
43
#define MAX_BITS_PER_ENABLE_PARAM 8
44
45
#endif
46
Generated on Wed Aug 19 2020 10:33:41 for versadac by
1.8.9.1