![background image](http://html2.mh-extra.com/html/racal-instruments/7064/7064_instruction-manual_3127022172.webp)
*1
#define E_SEVERITY_FSIZE
l
u
/* field size * /
#define E_SEVERITY_BITMASK ( l u << (E_NBITS-E_SEVERITY_FSIZE))
#define E_FATAL
(
l
u
« (E_NBITS-E_SEVERITY_FSIZE))
/*
Error types: The error type is encoded into a 2-bit field.
*1
#define E_TYPE_FSIZE 2 u / * field size */
#define E_TYPE_BITMASK / * 3 = 21\2 - 1: all bits in the field set to Is */ \
(3u « (E_NBITS-(E_TYPE_SEVERITY_FSIZE)))
#define E_WAR (Ou « (E_NBITS-(E_TYPE_SEVERITY_FSIZE))) /* warning * /
#define E_SYN (lu << (E_NBITS-(E_TYPE_SEVERITY_FSIZE))) /* syntax * /
#define E_RUN (2u << (E_NBITS-(E_TYPE_SEVERITY_FSIZE))) /* run time */
#define E_INT (3u « (E_NBITS-(E_TYPE_SEVERITY_FSIZE))) /* internal */
/*
Line dump: i f set to '1', then the current input line is dumped along with
the error message. This can be useful to help pinpoint the location
of the error.
*1
#define E_LINEDUMP_FSIZE l u / * field size */
#define E_LINEDUMP_BITMASK \
( I u « (E_NBITS-(E_TYPE_SEVERITE_LINEDUMP_FSIZE)))
#define E_LINEDUMP \
( 1 u « (E_NBITS-(E_TYPE_SEVERITE_LINEDUMP_FSIZE)))
/*
Error macros:
The macro argument to each of these is an error descriptor.
*/
#define isfatal(ed) ( ( e d ) & E_SEVERITY_BITMASK)
#define errortype(ed) ( ( e d ) & E_TYPE_BITMASK)
#define iswarning(ed) (errortype((ed)) == E_WAR)
#define issyntax(ed) (errortype((ed)) == E_SYN)
#define isruntime(ed) (errortype((ed)) == E_RUN)
#define isinternal(ed) (errortype((ed)) == E_INT)
#define dolinedump(ed) ( ( e d ) & E_LINEDUMP_BITMASK)
#define SUCCESS O u
#define issuccess(ed) ( ( e d ) == SUCCESS)
#define iserror(ed) (!issuccess((ed)))
C-4
Содержание 7064
Страница 2: ...Racal Instruments...
Страница 6: ...I 1 1 1 1 1...
Страница 21: ...I 1 I I I I I I I I I 1 1 I I I I I I...
Страница 29: ...I I I I I I I I I I I I I I I I I I I...
Страница 57: ...1 I I I I I I I I I I I I I I I I I I...
Страница 77: ...1...
Страница 111: ...0 00 0 00 tI I 4 0 0 I7 r i 6 4 7 4 7 0 T 6 0 0 7 28...
Страница 112: ......
Страница 113: ...7 30 I I I 1 I I I I I I I I I I I I I I I...
Страница 115: ...7 32...
Страница 124: ...CO 0 L5 F 4 BEAD 2 A C8 1 0 1 uF C9 01 uF T 0 1 uF 01 uF E12 0 IIIIII M I 11111 V I E M I 111111 I I I I I I N M I I...
Страница 148: ......
Страница 164: ...I I I I I I I I I I 1 I I I I I I I I...
Страница 176: ...extern char error_msg_lookup unsigned errdes endif ERROR_INCLUDE C 8...