![background image](http://html2.mh-extra.com/html/racal-instruments/7064/7064_instruction-manual_3127022151.webp)
Non-Vol Management
delete nv (void *nv blkptr);
delete_nv
deletes a structured non-volatile record.
Example:
delete_nv(addr); - deletes the record at (addr).
locate_ nv (int rec_type, int sequence); *
Searches thru non-vol to find a structured record.
Example:
addr=locate_nv(2,1); - locates n v record type 2 , first
occurance (addr).
nvcheckport(
unsigned int port, unsigned int mask, unsigned int value);
Put a record in the "record" area that tells the system to read a particular
port,
AND it with the
mask
and compare it with
value.
I f they don't compare,
report the mismatch. This could be used to make a system note if all required
boards were not present.
Example:
nycheckport(0,#HF,#H0); - Looks at the lower 4 bits of port
0 and checks to see i f a 0000 occurs. I f i t doesn't an error is
generated.
nvnocheck( void);
Remove a l l check records (generated using
nvcheckport)
from non-vol
memory. Used for starting over when assigning check values or if checking
is no longer desired.
Example:
nvnocheck(); - Removes all check records.
nvsetflag(unsigned int flag);*
Sets an individual flag. Two flags are currently supported, 0 and 1. The user
can set nvsetflag instead of using nvsetvect. These are described in more detail
in the program nv.h on the accompanying disk.
Example 1:
nvsetflag(1); - sets flag ROM_INIT. Upon power up an
instruction is stored in memory location #H10000, telling the firmware
to go to the user initialization routine.
Example 2:
nvsetflag(0); - sets flag ROM_VECTOR. Upon power up
the firmware uses the information stored in the following locations)
#H10000 d.c.I Parser
#H10004 d.c.I Initialization
#H10008 d.c.I C l e a r
#H1000C d.c.I E r r o r
A-3
Содержание 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...