- 279 -
12. Appendix
12.1 Data Type
typedef
signed char
B;
/* Signed 8-bit integer */
typedef
signed short
H;
/* Signed 16-bit integer */
typedef
signed long
W;
/* Signed 32-bit integer */
typedef unsigned
char UB;
/*
Unsigned 8-bit integer */
typedef
unsigned short
UH;
/* Unsigned 16-bit integer */
typedef
unsigned long
UW;
/* Unsigned 32-bit integer */
typedef
char
VB
/* 8-bit value with unknown data type */
typedef
short
VH;
/* 16-bit value with unknown data type */
typedef
long
VW;
/* 32-bit value with unknown data type */
typedef void
*VP;
/*
Pointer to unknown data type */
typedef
void
(*FP)();
/* Pointer to a function */
typedef
W
INT
/* Signed 32-bit integer */
typedef
UW
UINT;
/* Unsigned 32-bit integer */
typedef
H
ID;
/* Object ID number */
typedef H
PRI;
/*
Priority
*/
typedef
W
TMO;
/* Timeout */
typedef
H
ER;
/* Error code(Signed integer) */
typedef
UH
ATR;
/* Object attribute(Unsigned integer) */
typedef
UH
STAT;
/* Task status */
typedef
UH
MODE;
/* Service call operation mode */
typedef UW
SIZE;
/*
Memory area size */
typedef
UW
RELTIM
/* Relative time */
typedef
W
VP_INT;
/* Pointer to an unknown data type, or a signed in-
teger for the processor */
typedef
struct
systim{
/* System time */
UH
utime;
/* Upper16bit of the system time */
UW
ltimer;
/* Lower32bit of the system time */
} SYS-
TIM;
typedef
W
ER_UINT;
/* Error code or unsigned integer */