Racal Instruments 7064 Instruction Manual page 151

Table of Contents

Advertisement

Non-Vol Management
delete_nv
delete nv (void *nv blkptr);
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

Advertisement

Table of Contents
loading

Related Products for Racal Instruments 7064

Table of Contents